Dead Men Walking

Old Server Admin Section => Game Admins => Archived Topics => Left 4 Dead Admins => Topic started by: Benny on February 03, 2009, 10:11:05 PM

Title: Useful commands
Post by: Benny on February 03, 2009, 10:11:05 PM
Will fill this up as I go, generally stuff that's not in the radial menu.


z_difficulty normal
z_common_limit xx   - defines how many zombies in a horde (default is 30)
users - list all players
kick playername - kicks player
kickid playerid - kicks player using their ID
kill playername - kills players
spectate - puts you into spectator mode
Title: Useful commands
Post by: Anonymous on February 03, 2009, 10:41:03 PM
Updated
Title: Useful commands
Post by: Sn00ks on February 04, 2009, 12:42:46 PM
Maybe obvious but useful.
 
users - list all players
kick playername - kicks player
kickid playerid - kicks player using their ID
kill playername - kills players
Title: Useful commands
Post by: Sn00ks on February 05, 2009, 04:41:33 PM
spectate - puts you into spectator mode
director_panic_forever 1 - he he he :devil: (0 to turn it off)
Title: Useful commands
Post by: Sn00ks on February 06, 2009, 11:08:44 AM
Sulky tried the spectate command yesterday and it didn't work. Maybe it is an rcon command only? I'll test it tonight.
I think the kill one is for you only, need to test that with a willing volunteer tonight.
Title: Useful commands
Post by: Sn00ks on February 06, 2009, 05:02:24 PM
OK spectate does work and puts you into spectator mode. But I've not figured out how to re-join without quitting and restarting :doh:
Title: Useful commands
Post by: Anonymous on February 06, 2009, 07:34:28 PM
Quote from: Sn00ks;262193OK spectate does work and puts you into spectator mode. But I've not figured out how to re-join without quitting and restarting :doh:

choose a team?
Title: Useful commands
Post by: Sn00ks on February 07, 2009, 05:55:31 PM
That's what I would have thought, but my button to select teams did nothing. :g:
Title: Useful commands
Post by: Benny on February 08, 2009, 08:27:36 AM
The only thing I can find suggestion wise is 'retry'.

It should work if a couple of people do it at a time. Clumpy though.
Title: Useful commands
Post by: Sn00ks on March 03, 2009, 12:41:14 PM
The contents for four exec files to run co-op mode? Maybe call them farm.exe, hosp.exe, air.exe and town.exe?
Might be worth testing them before creating the files.
 
rcon changelevel l4d_smalltown01_caves; rcon sv_cheats 1; rcon director_no_human_zombies 1; sb_all_bot_team 1; rcon director_force_versus_start 1; rcon sv_cheats 0
 
rcon changelevel l4d_airport01_greenhouse; rcon sv_cheats 1; rcon director_no_human_zombies 1; sb_all_bot_team 1; rcon director_force_versus_start 1; rcon sv_cheats 0
 
rcon changelevel l4d_farm01_hilltop; rcon sv_cheats 1; rcon director_no_human_zombies 1; sb_all_bot_team 1; rcon director_force_versus_start 1; rcon sv_cheats 0
 
rcon changelevel l4d_hospital01_apartment; rcon sv_cheats 1; rcon director_no_human_zombies 1; sb_all_bot_team 1; rcon director_force_versus_start 1; rcon sv_cheats 0
Title: Useful commands
Post by: OldBloke on March 03, 2009, 04:39:56 PM
Thanks Sn00ks.

Using that info here are the cfg files for starting 'versus' games on both Hospital and Farm (all five levels) and 'coop' games on Hospital, Farm, Airport and Smalltown (all five levels).

Put them here:

*\Steam\steamapps\common\left 4 dead\left4dead\cfg

Example:

To switch to the 3rd level of Smalltown in coop mode then bring up the console and type: exec cotown3

*** attachment removed cos it don't work ****
Title: Useful commands
Post by: Benny on March 03, 2009, 08:07:09 PM
Thanks gents, I've just edited and copied the co-op town and airport scripts onto Coldstore and tested.

So you can now 'exec coair1.cfg' in HLSW or whatever and it will do it for you without having to load your game.

I'll get round to doing the others. If we put them on both it means we have centralised configs rather than relying on local machine changes....so any new admins (if ever) can just learn the commands, and/or we write it into a GUI so you can change map on screen as well as remotely to the opposite server..
Title: Useful commands
Post by: Sn00ks on March 04, 2009, 09:28:22 AM
Did you check that it moves from one map to the next in the campaign OK? I wasn't sure if it would flip back to versus mode between maps. :g:
Title: Useful commands
Post by: Sn00ks on March 04, 2009, 07:04:42 PM
Hmm been trying these, one thing I noticed is the rcon is missing from in front of the sb_all_bot_team cvar, my fault it wasn't in the exemplar I posted.

The script doesn't work if executed but if I'm on the server and the use the radial menu option to issue the
rcon sv_cheats 1; rcon director_no_human_zombies 1; rcon sb_all_bot_team 1; rcon director_force_versus_start 1; rcon sv_cheats 0
commands it does work :g:

I've tried the following and it seems to work.
Firstly change the map using the standard HLSW map change facility.
Then when the playes have swapped to join the Survivor team run the commands rcon sv_cheats 1; rcon director_no_human_zombies 1; rcon sb_all_bot_team 1; rcon director_force_versus_start 1; rcon sv_cheats 0 from the console.

Not ideal and a right pain in the butt but I can't seem to get it all to work in one go.:ranting2:
Title: Useful commands
Post by: Anonymous on March 04, 2009, 07:48:56 PM
Try this
Quotercon sv_cheats 1; rcon sv_infinite_ammo 1; rcon z_common_limit 999; rcon director_panic_forever 1; rcon director_force_panic_event; rcon sv_cheats 0
or this :)

Quotercon exec extreme
Title: Useful commands
Post by: Sn00ks on March 11, 2009, 02:44:24 PM
For a match (i.e. at the LAN) config.
Disabling the auto-start after 60 seconds. Give people a chance to join and get their stuff together?
Disabling boss Infected. I think that if they do spawn in the same place then it is an advantage to the second team because they know when to expect them. If we randomize it then it would be unfair if they appeared earlier for one team as it might mean they won't get as far and so get less points. Only fair thing I can come up with is to disable them. Thoughts?
 
sv_cheat 1
director_no_bosses 0
director_ready_duration 0
sv_cheat 0