Console commands, variables and comms

C

Chameleon

Guest
Hi :)

Thinking from a mp perspective, anyone got a link yet to a full list of console commands and variables? Also a list of voice comms?
I'm a config tweaking junkie and while I could work them out in time (from .pak files and standard .cfg's, as they appear to be very q3-like), it'd be great if there was a list somewhere which someone had already produced.

tia

Cham
 
M

mike-c

Guest
Call of Duty is very similar to MoH:AA

I've just got it & installed it & played around with the admin side of it, and was surprised just how similar it is.

Having been a MoH admin for GamesDomain I think I have a guide somewhere that was written by the team at the time.. it should be pretty accurate... i will look for it.

You can obtain a list of commands by using cmdlist in console.

You can obtain a list of cvars by using cvarlist in console.

Edit: I'm bored so I'm compiling a huge list of all cvars/their function & commands etc
 
T

throdgrain

Guest
Cham m8, forget all that, turn everything onto max-super-smashing-lovely and go play it :)
 
M

mike-c

Guest
OK basically it's the standard q3 engine cvars, except the scr_ section has been added...

scr_allow_bar
scr_allow_bren
scr_allow_enfield
scr_allow_fg42
scr_allow_kar98k
scr_allow_kar98ksniper
scr_allow_m1carbine
scr_allow_m1garand
scr_allow_mp40
scr_allow_mp44
scr_allow_nagant
scr_allow_nagantsniper
scr_allow_panzerfaust
scr_allow_ppsh
scr_allow_springfield
scr_allow_sten
scr_allow_thompson
scr_allow_vote
scr_bel_alivepointtime
scr_bel_scorelimit
scr_bel_timelimit
scr_dm_scorelimit
scr_dm_timelimit
scr_drawfriend
scr_forcerespawn
scr_friendlyfire
scr_motd
scr_re_graceperiod
scr_re_roundlength
scr_re_roundlimit
scr_re_scorelimit
scr_re_showcarrier
scr_re_timelimit
scr_sd_graceperiod
scr_sd_roundlength
scr_sd_roundlimit
scr_sd_scorelimit
scr_sd_timelimit
scr_tdm_scorelimit
scr_tdm_timelimit

Note the scr_motd var, g_motd etc don't work in CoD. The MOTD is shown when you connect on the team select screen.

The options are pretty self explanatory, you can disable each gun (except pistols, grenades & fixed MG's)

In case you're stuck on the cvar names, here's a hint...

Code:
BEL Behind Enemy Lines
DM  Deathmatch
RE  Retrieval
SD  Search & Destroy
TDM Team Deathmatch
Oh and friendly fire, you can use:

0=disable
1=enable
2=reflect (you take the damage you inflict on teammates)
 
M

mike-c

Guest
The above post covers server side cvars..

There are also many clientside settings that you can alter.

For example you can change the opacity of the crosshair/HUD.

You can resize the compass.

You can stop voice commands / their assosciated text.

You can customise the chat feature (how many lines at once/how long they appear for).


The variable names for these settings are pretty self-explanitory, so I won't bother putting them all here.

If you do get stuck just post and I'll try to sort you with the right stuff.
 
C

Chameleon

Guest
aha! Q3 commands, yah!
Thanks for the info.
 
M

mike-c

Guest
that's hardly informative...

anyone can run cvarlist and copy the contents.

What I've started (and am doing quite well with) is the full list of cvars with descriptions of what they do. This requires quite a bit of time so obviously it's not ready yet.

What if I was to put up a list of them all with the descriptions I have so far, then people can send me info on undocumented ones, so we can work together to get a full list?
 
A

Andiehuk

Guest
Blimey I was only trying to help someone out... Get off your high horse m8.
 
M

mike-c

Guest
Originally posted by andiehuk
Blimey I was only trying to help someone out... Get off your high horse m8.

I wasn't havin a go at you, just simply saying that anyone can get that info themselves.

If people want to know how to set things up then having some idea of what the settings actually do is more useful than having a huge list dumped on them with no explanation.
 
C

Chameleon

Guest
The important parts are pretty much covered in the old UC q3 guide here:

http://www.ucguides.cjb.net/

(connection, framerate, visual tweaks, console commands, etc)
very useful stuff, as much of it is the same or v similar as the commands for 'the beautiful game' ;)

The most annoying thing i've found is no easy way yet to bind voice comms to specific keys. Infact, I think I read it can't be done, at least in this patch anyway. Odd :/
 
K

Kinard

Guest
Hi dont know if this will help any of you out there
but here are a few of the cvar setting and the explanations

Map Names
mp_brecourt
mp_carentan
mp_chateau
mp_dawnville
mp_depot
mp_harbor
mp_hurtgen
mp_pavlov
mp_powcamp
mp_railyard
mp_rocket
mp_ship


Console Commands

/map mapname
Loads the map specified by mapname.

/map_rotate
Loads next map in rotation set in sv_maprotation.

/serverinfo
Shows the current server's settings.

/map_restart
Restarts the map.

/kick [name]
Kicks a player by name from the server.

/clientkick [id]
Kicks a player by client id from the server.

/status
Displays info of all the players on the server.


Cvars General Server Default Description
dedicated 0 0 Listen Server
1 Dedicated LAN server
2 Dedicated Internet Server

developer 0 Use "developer 1" (only) if checking for script errors in new script code (eg. of your own mod)
sv_maprotation set a gametype: "gametype dm"
set a map: "map mp_brecourt"
together: "gametype dm map mp_brecourt"
or "gametype dm map mp_brecourt map mp_depot gametype re map mp_ship"

sv_pure 1 (0 no checks 1 checks for modified files) (

sv_hostname CoDHost (Name of host )
g_banIPs
g_password (Password to join game)
rconPassword (Remote console password)
g_log games_mp.log (name of game log file ,not console log)
g_logsync 0 (0 - buffered writes 1 - write immediately)
scr_motd (Message of the day - displayed on join)
g_gametype dm (gametype: bel, dm, re, sd, tdm )
net_ip (IP to listen on for multihomed servers )
net_port 28960 (port to listen on )
sv_maxclients ( Max number of players )

General Game Default Description
scr_allow_bar 1 (0 - disable weapon 1 - enable weapon)
scr_allow_bren 1
scr_allow_enfield 1
scr_allow_fg42 0
scr_allow_kar98k 1
scr_allow_kar98ksniper 1
scr_allow_m1carbine 1
scr_allow_m1garand 1
scr_allow_mp40 1
scr_allow_mp44 1
scr_allow_nagant 1
scr_allow_nagantsniper 1
scr_allow_panzerfaust 1
scr_allow_ppsh 1
scr_allow_springfield 1
scr_allow_sten 1
scr_allow_thompson 1
scr_allow_vote
g_allowvote 1 (Allow call voting, need to set both to 0)
scr_drawfriend 0 (Draws a team icon over teammates )
scr_forcerespawn 0 (Force respawning - DM & TDM )
scr_friendlyfire 0 (0 - off1 - on)
2 - reflect damage

Behind Enemy Lines Default Description
scr_bel_alivepointtime 10 (Number of seconds to get a point for staying alive as allied)
scr_bel_scorelimit 50 (Map score limit )
scr_bel_timelimit 30 (Map time limit, in minutes - 0 to 1440)

Deathmatch Default Description
scr_dm_scorelimit 50 (Map score limit)
scr_dm_timelimit 30 (Map time limit - 0 to 1440, in minutes )

Retrieval Default Description
scr_re_graceperiod 15 (Time at round start where spawning and weapon choosing is still allowed, 0 - 60 in seconds )
scr_re_roundlength 4 (Map round length in minutes)
scr_re_roundlimit 0 (Max Number of round wins per map )
scr_re_scorelimit 10 (Map score limit )
scr_re_showcarrier 0 (Show the objective carrier on compass)
scr_re_timelimit 0 (Map time limit, in minutes - 0 to 1440)

Search and Destroy Default Description
scr_sd_graceperiod 15 (Time at round start where spawning and weapon choosing is still allowed, 0 - 60 seconds)
scr_sd_roundlength 4 (round length )
scr_sd_roundlimit 0 (Max Number of round wins per map)
scr_sd_scorelimit 10 (Map team score limit per map )
scr_sd_timelimit 0 (Map time limit, in minutes - 0 to 1440)

Team Deathmatch Default Description
scr_tdm_scorelimit 100 (Map score limit)
scr_tdm_timelimit 30 (Map time limit, in minutes - 0 to 1440)


Also check this link out "http://sos.noginn.com/codserver/" a web based CoD server config creator

Hope this helps, if the above is old news then I apologise in advance.
 
U

urban

Guest
Anyone knows what command to use to show/hide crosshaì?
 
T

throdgrain

Guest
No need for it really, its in the multiplayer options, and you can do it in-game without leaveing the server :)
 
C

Chameleon

Guest
.... but if you're a command line monkey like me and just have to know it ......

/cg_drawcrosshair 1

replace 1 with 0 to not show it.
If your not sure of a command, open up any of the .cfg files in the 'main' directory and you can probably work it out from there.
 
U

urban

Guest
Originally posted by throdgrain
No need for it really, its in the multiplayer options, and you can do it in-game without leaveing the server :)

ahh cool, thanks
 
C

Chameleon

Guest
This is the kind of thing I was trying to produce. It's handy to have a config file that your happy with and can edit at will when needed, as you can't access everything through the in-game menus .......... but ok, a little ott ..... maybe ;) It's a pain you still can't have voice comms bound to individual keys tho!!!
 

Users who are viewing this thread

Top Bottom