You cannot create a custom game mode from scratch using only the console in Counter-Strike 1.3 (GoldSrc engine). The console modifies server variables (cvars) for existing modes—it doesn't script new logic, entities, or objectives.
In a listen server (`New Game`) or dedicated server (`hlds.exe`), these cvars customize standard modes:
| Cvar | Function | Example |
|---|---|---|
mp_limitteams | Max players per team | mp_limitteams 10 |
mp_autoteambalance | Force balance (0/1) | mp_autoteambalance 0 |
mp_startmoney | Starting cash | mp_startmoney 16000 |
mp_roundtime | Minutes per round | mp_roundtime 2.5 |
mp_freezetime | Freeze period (sec) | mp_freezetime 0 |
mp_buytime | Buy zone time (min) | mp_buytime 0.5 |
mp_c4timer | Bomb timer (sec) | mp_c4timer 35 |
mp_forcecamera | Spectator restrictions | mp_forcecamera 2 |
mp_friendlyfire | Team damage (0/1) | mp_friendlyfire 1 |
sv_gravity | Gravity (800 default) | sv_gravity 400 |
sv_cheats 1 | Enable cheat cvars | Required for noclip, god, give |
map de_dust2 — Change map immediately.changelevel de_inferno — Change at round end.mapcyclefile mapcycle.txt — Set rotation.| Goal | Tool / Method |
|---|---|
| Custom Maps | Valve Hammer Editor (Worldcraft) → compile .bsp → place in cstrike/maps |
| Custom Game Modes (Gun Game, Zombie, Surf, Deathrun, KZ) | AMX Mod X + plugins (.amxx) — Metamod required. Scripting in Pawn. |
| Custom Entities / Logic | Hammer (func_*, trigger_*, logic_*) + PointServerCommand (limited in 1.3) |
| Bot Support | PodBot, ZBot (old), or AMXX bot plugins. |
Summary: Console = match settings only. Real custom modes = AMX Mod X plugins + custom maps. Move to 1.6 + ReHLDS for sanity.