Main Menu

Useful commands

Started by Benny, February 03, 2009, 10:11:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Benny

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
===============
Master of maybe

Anonymous

#1
Updated

Sn00ks

Maybe obvious but useful.
 
users - list all players
kick playername - kicks player
kickid playerid - kicks player using their ID
kill playername - kills players
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

Sn00ks

spectate - puts you into spectator mode
director_panic_forever 1 - he he he :devil: (0 to turn it off)
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

Sn00ks

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.
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

Sn00ks

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:
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

Anonymous

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?

Sn00ks

That's what I would have thought, but my button to select teams did nothing. :g:
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

Benny

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.
===============
Master of maybe

Sn00ks

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
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

OldBloke

#10
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 ****
"War without end. Well, what was history if not that? And how would having the stars change anything?" - James S. A. Corey

Benny

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..
===============
Master of maybe

Sn00ks

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:
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

Sn00ks

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:
I do exactly what the little voices tell me to.

PC Specs:- Black box with some fans that go whirrr, a few lights, things inside that get warm, headphones, keyboard (a clicky one), mouse (with buttons and no squeak), disks (2-off SSD and HDD) and a monitor of sufficient proportions.

Anonymous

#14
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