Day of Defeat

Day of Defeat

60 ratings
Day of Defeat Clan Match Mode Commands List
By Rich ¥Weeds¥ Nagel
This guide explains in detail all of the Day of Defeat console commands and server configuration file settings that are useful for "Clan Match" mode games.
   
Award
Favorite
Favorited
Unfavorite
Description
The following is a list of all of the Day of Defeat console commands and server configuration file settings that are useful for "Clan Match" mode games.

The list is organized alphabetically by command, in the format of "system_console_command value" (where "value" is Day of Defeat's default value for that setting).
Commands List
changelevel <MAPFILENAME>
Ends the current game, loads the specified map filename (without the ".bsp" file extension), and starts a new game on it. The main difference between the "changelevel" and the standard "map" command is that the players are not kicked from the server when changing to the new map.

Note that this command can access maps contained in all mounted Game Cache Files (including all of the maps for Half-Life), as well as in the game's local game "Maps" folder.


condebug
Toggles the saving of console logs to the filename "QConsole.log" in the directory "C:\Program Files\Steam\SteamApps\<USER_NAME>\Day of Defeat". The default is "disabled".


dem_forcehltv 0
Set to "1" to enable "Half-Life TV" (HLTV) mode for demo playback.


HL.exe -condebug
Saves console logs to the filename "QConsole.log" in the directory "C:\Program Files\Steam\SteamApps\<USER_NAME>\Day of Defeat".

To enable the saving of console logs, start Day of Defeat with the "-condebug" command line parameter (e.g. "C:\Program Files\Steam\SteamApps\<USER_NAME>\Day of Defeat\HL.exe -condebug").


hud_takesshots 0
Set to "1" to enable taking an automatic screenshot when the final scores are displayed when the current round ends (after the duration of the "mp_timelimit" setting).

The screenshots will be located in the directory "C:\Program Files\Steam\SteamApps\<USER_NAME>\Day of Defeat\DoD", with the filenames "DoD_MapName####.bmp".


log off
Set to "on" to enable saving detailed server logs (lMMDD###.log).


logsdir logs
Directory to save detailed server logs. The default directory is "C:\Program Files\Steam\SteamApps\<USER_NAME>\Day of Defeat\DoD\Logs".


maxplayers 32
Maximum number of allowed players. Note that this cannot be set after a game has started.


mp_alliesclasses -1 and mp_axisclasses -1
Mask of allowed classes for each team. Set to "-1" to allow all classes.

To set the mask, reference the table of values below, and add them together to get the class mask value. Note that this can be set per map in the "DoD_MapName.cfg" configuration files.

American Classes:

Garand = 1
Carbine = 2
Thompson = 4
GreaseGun = 8
Sniper = 16
BAR = 32
30Cal = 64
Bazooka = 128
Random = 512

British Classes:

Enfield = 1
Sten = 2
Sniper = 4
Bren = 8
PIAT = 16
Random = 64

Axis Classes:

K98 = 1
K43 = 2
MP40 = 4
MP44 = 8
Sniper = 16
FG42Bipod = 32 (Note: Not available on non-Paratrooper maps)
FG42Sniper = 64 (Note: Not available on non-Paratrooper maps)
MG34 = 128
MG42 = 256
Pschreck = 512
Random = 2048


mp_chattime 10
Sets the duration (in seconds) that players can chat after a round is complete (before the next map is loaded, based on the "mp_timelimit" setting). A lower value means a faster map change.


mp_clan_match 0
Set to "1" to begin a clan match game. The default is "0" (disabled).


mp_clan_match_warmup 0
Set to "1" once a clan match game is underway to return to "Warmup" mode.


mp_clan_ready_signal ready
Edit the "ready" string to change what the teams must say (send a chat message to all) to start an "mp_clan_readyrestart" clan match game. The default ready chat message string is "ready".

Note that envoking an "mp_clan_restartround 1" will effectively bypass (skip) the "mp_clan_ready_signal" setting.


mp_clan_readyrestart 0
Enter "mp_clan_readyrestart 1" to restart a clan match round after one member from each team has said "ready" (sent a chat message to all).

Note that envoking an "mp_clan_restartround 1" will effectively bypass (skip) the "mp_clan_readyrestart" setting.


mp_clan_respawntime 0
Number (in seconds) for a player to respawn after being killed.


mp_clan_restartround 0
Enter "mp_clan_restartround 1" to begin a clan match round. The clan match round will restart immediately, and bypasses (skips) the "mp_clan_readyrestart" and "mp_clan_ready_signal" settings.

When "mp_clan_restartround 1" is envoked a message will be displayed with the "mp_clan_timer" countdown so that everyone in the server has time to prepare for the round. At the end of this time, the round will reset, the map will reset, the players' scores will reset, and a new clan match round will begin.


mp_clan_scoring 0
Set to "1" to enable clan mode scoring ("mp_clan_scoring_bonus_allies", "mp_clan_scoring_bonus_axis", "mp_clan_scoring_delay", "mp_clan_scoring_values_allies", and "mp_clan_scoring_values_axis").


mp_clan_scoring_bonus_allies -1 and mp_clan_scoring_bonus_axis -1
Amount of bonus points to award the team that wins a clan match round. The default is "-1", which awards the normal amount of points to the winning team.


mp_clan_scoring_delay 60
Sets the duration (in seconds) between awarding time-based points ("mp_clan_scoring_values_allies" and "mp_clan_scoring_values_axis").

Time-based points are points awarded to a team while they hold (own) a flag over time.


mp_clan_scoring_values_allies 111111 and mp_clan_scoring_values_axis 111111
Set this value to an integer string, such as "112233".

This determines the time-based point value for a team when they are holding (owning) flags. The flag order in the string is the same as the order of flags as displayed on the HUD. Note that this must be set per map.


mp_clan_showcutscenes 1
Non-functional in Day of Defeat version 1.2 (or newer).


mp_clan_timer 20
Sets the duration (in seconds) before starting a clan match game.

When an "mp_clan_restartround 1" is envoked, it will utilize this timer. A message will be displayed with the countdown so that everyone in the server has time to prepare for the round.

At the end of this time, the current round (or "Warmup" mode) will be reset, the map will be reset, the players' scores will be reset, and a new clan match round will begin.


mp_combinemglimits 0
Set to "1" to combine the Axis MG34 and MG42 class limits, and count either class as being a "Machine Gunner". The default is "0" (disabled).

The new limit is the sum of the "mp_limitaxismg34" and "mp_limitaxismg42" settings (including negative numbers).


mp_fadetoblack 0
Set to "1" to fade the player's screen to black when killed.


mp_flashlight 1
Set to "0" to prohibit players from using the flashlight.


mp_footsteps 1
Set to "0" to disable hearing players' footsteps.


mp_friendlyfire 0
Set to "1" to enable friendly-fire mode.


mp_limitallies* -1, mp_limitbrit* -1, and mp_limitaxis* -1
Number of allowed classes for each team. Set to "-1" to allow unlimited number of classes. Note that this can be set per map in the "DoD_MapName.cfg" configuration files.

American Classes:

Garand = mp_limitalliesgarand -1
Carbine = mp_limitalliescarbine -1
Thompson = mp_limitalliesthompson -1
GreaseGun = mp_limitalliesgreasegun -1
Sniper = mp_limitalliesspring -1
BAR = mp_limitalliesbar -1
30Cal = mp_limitallies30cal -1
Bazooka = mp_limitalliesbazooka -1

British Classes:

Enfield = mp_limitbritlight -1
Sten = mp_limitbritassault -1
Sniper = mp_limitbritsniper -1
Bren = mp_limitbritmg -1
PIAT = mp_limitbritpiat -1

Axis Classes:

K98 = mp_limitaxiskar -1
K43 = mp_limitaxisk43 -1
MP40 = mp_limitaxismp40 -1
MP44 = mp_limitaxismp44 -1
Sniper = mp_limitaxisscopedkar -1
FG42Bipod = mp_limitaxisfg42 -1 (Note: Not available on non-Paratrooper maps)
FG42Sniper = mp_limitaxisfg42s -1 (Note: Not available on non-Paratrooper maps)
MG34 = mp_limitaxismg34 -1
MG42 = mp_limitaxismg42 -1
Pschreck = mp_limitaxispschreck -1


mp_log_scores 0
Set to "1" to periodically and continuously log the team scores to the console log, as well as the detailed server log. The default is "0" (disabled).


mp_log_scores_delay 60
When logging scores, how often (in seconds) to log the team scores. The default is "60" seconds.


mp_spawnbazookas 0
Set to "1" to allow Bazookas to spawn in the map.


mp_teamlimit 2
Sets the number of players that one team can have over the other (enables balanced teams). Set to "0" to allow players to join the Allied or Axis teams, regardless of the current number of existing players on the team (enables unbalanced teams).


mp_timelimit 30
Duration (in minutes) of round.


mp_tkpenalty 6
Number of allowed team kills before the player is kicked from the game. Note that friendly-fire mode ("mp_friendlyfire") must be enabled.


playdemo <FILENAME.dem>
Play demo filename "<FILENAME.dem>".


record <FILENAME.dem>
Start demo recording, saved to the filename "<FILENAME.dem>" in the directory "C:\Program Files\Steam\SteamApps\<USER_NAME>\Day of Defeat\DoD".


say/say_team %c
Broadcasts your class type to all/team.


say/say_team %h
Broadcasts your current health level (0-100) to all/team.


say/say_team %i
Broadcasts the name of the last player in front of you to all/team.


say/say_team %l
Broadcasts your current location (or nearest landmark) on the map to all/team.


say/say_team %r
Broadcasts the current health level (0-100) of the last player in front of you to all/team.


say/say_team %s
Unknown.


say/say_team %t
Broadcasts the current time left in the round (based on the "mp_timelimit" setting) to all/team.


Example say/say_team Percent Commands Key Bindings Usage
bind <KEY> "say %t remaining in current round."
bind <KEY> "say_team I'm a %c near %l with %h percent health remaining."
bind <KEY> "say_team I just saw %i near %l with %r percent health remaining."
bind <KEY> "dropammo;say_team I dropped an extra ammo box near %l."


stop
Stop demo recording.


stopdemo
Stop demo playback.


sv_alltalk 0
Set to "1" to allow the Allied and Axis teams to hear the other team's voice chat messages.


viewdemo <FILENAME.dem>
Play demo filename "<FILENAME.dem>" using VCR styled controls.
"Clan_Match.cfg" Configuration Template
"Clan_Match.cfg" Configuration Template
The following example clan match template can be saved to the file "Clan_Match.cfg" to the directory "C:\Program Files\Steam\SteamApps\<USER_NAME>\Day of Defeat\DoD", and then executed within the game's console (e.g. "exec Clan_Match.cfg"):

// Clan Match Template for Swamp Buzzards Clan
// http://steamproxy.com/groups/SwampBuzzardsClan
// American verses German maps, Sniper class only
// Usage: exec Clan_Match.cfg
// changelevel Weeds_DoD_Valley_Classic
// map Weeds_DoD_Valley_Classic
// mapchangecfgfile Weeds_DoD_Valley_Classic.cfg
// condebug
logsdir logs
log on
mp_clan_match 1
bind i "say Time remaining in current clan match round: %t."
bind o "mp_clan_restartround 1"
bind u "mp_clan_match_warmup 1"
dem_forcehltv 1
hostname "Swamp Buzzards Sniper Shootout"
hud_takesshots 1
// mapcyclefile Weeds_DoD_MapCycle.txt
// maxplayers 4
// mp_alliesclasses -1
mp_alliesclasses 16
// mp_axisclasses -1
mp_axisclasses 16
mp_chattime 60
// mp_clan_match_warmup 1
mp_clan_ready_signal ready
mp_clan_readyrestart 1
mp_clan_respawntime 5
// mp_clan_restartround 1
mp_clan_scoring 1
mp_clan_scoring_bonus_allies -1
mp_clan_scoring_bonus_axis -1
mp_clan_scoring_delay 60
mp_clan_scoring_values_allies 11111111
mp_clan_scoring_values_axis 11111111
mp_clan_showcutscenes 0
mp_clan_timer 30
mp_combinemglimits 0
mp_fadetoblack 1
mp_flashlight 1
mp_footsteps 1
mp_friendlyfire 1
// mp_limitallies* -1
mp_limitallies30cal 0
mp_limitalliesbar 0
mp_limitalliesbazooka 0
mp_limitalliescarbine 0
mp_limitalliesgarand 0
mp_limitalliesgreasegun 0
mp_limitalliesmortar 0
mp_limitalliesspring -1
mp_limitalliesthompson 0
// mp_limitaxis* -1
mp_limitaxisfg42 0
mp_limitaxisfg42s 0
mp_limitaxisk43 0
mp_limitaxiskar 0
mp_limitaxismg34 0
mp_limitaxismg42 0
mp_limitaxismortar 0
mp_limitaxismp40 0
mp_limitaxismp44 0
mp_limitaxispschreck 0
mp_limitaxisscopedkar -1
// mp_limitbrit* -1
mp_limitbritassault 0
mp_limitbritlight 0
mp_limitbritmg 0
mp_limitbritmortar 0
mp_limitbritpiat 0
mp_limitbritsniper 0
mp_log_scores 1
mp_log_scores_delay 10
mp_spawnbazookas 0
mp_teamlimit 0
mp_timelimit 30
mp_tkpenalty 0
say Chat/type "ready" to begin clan match round.
sv_alltalk 0
"Restart_Round.cfg" Configuration Template
"Restart_Round.cfg" Configuration Template
An easy way of restarting the game and round without using any of the other clan match mode commands (or permanently enabling the game's clan match mode) is by using the following configuration file. Executing this configuration file during a game will effectively reset and restart the game and round, as well as clear all of the objective scores, kills, and deaths, as listed in the game's scoreboard screen for all of the players in the game.

The following example round restarting template can be saved to the file "Restart_Round.cfg" to the directory "C:\Program Files\Steam\SteamApps\<USER_NAME>\Day of Defeat\DoD", and then executed within the game's console (e.g. "exec Restart_Round.cfg"):

// Restart Round for Day of Defeat
// Usage: exec Restart_Round.cfg
// Note that the total (2 seconds) duration for the "wait" commands are based
// on a "sys_ticrate" of "100" (100 calculated and rendered server frames per
// second).
mp_clan_match 1
mp_clan_timer 2
mp_clan_restartround 1
say Round will restart in 2 seconds.
wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait
wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait
wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait
wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait
wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait
wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait
wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait
wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait
wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait
wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait
say Round has now been restarted!
mp_clan_match 0
wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait
wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait
wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait
wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait
wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait;wait
say Time remaining in current round: %t.
Contacts, Downloads, Files, and Links
Contacts, Downloads, Files, and Links

Rich ¥Weeds¥ Nagel[www.richnagel.net]

http://www.richnagel.net
Steam Profile
Swamp Buzzards Clan

Plain-Text Version of this Guide[jasonwilliams400com.startlogic.com]
Day of Defeat Downloads and Files[jasonwilliams400com.startlogic.com]
SturmBot v1.7/v1.8 for Day of Defeat[jasonwilliams400com.startlogic.com] (*MUCH* better than "ShrikeBot"!)
7 Comments
Katepnha 26 Aug, 2016 @ 7:12am 
have fun:steammocking:
Rich ¥Weeds¥ Nagel  [author] 7 Apr, 2015 @ 4:33am 
As ~CTU~ SSHelloKitty replied, it's not a standard DoD command, but rather a server plugin.
Hateshift 4 Apr, 2015 @ 6:11am 
I believe the medic command is a server plug in. Try typing /medic in chat.
woody 3 Apr, 2015 @ 8:53am 
anyone know the command for medic?
krzychu83 24 Nov, 2013 @ 3:16am 
ok
G Λ И D O U L F 5 Nov, 2013 @ 10:24am 
thx
Sad Sack 12 Mar, 2013 @ 9:54am 
Great stuff. Thanks for sharing.