Day of Defeat

Day of Defeat

bombeiro Apr 23, 2020 @ 1:53pm
server config class settings
Do any folks who run pub servers know the command in configs to limit/turn off certain classes?
< >
Showing 1-4 of 4 comments
Are you running amx mod?
bombeiro Apr 26, 2020 @ 7:08pm 
No, are there not ways of doing it wihtout AMX?
INsane [dodbits] Apr 27, 2020 @ 12:13am 
The readme.txt in the dod folder. Its a changelog of the game versions.

Its the best I can find.

See v1.2 [4.2.03] Changes came in then and I don't think anymore happened after that.

The only other change I can think of is when the devs screwed up the bazooka commands and quite a few official files are now incorrect.
I have a fix for bazookas if they matter to you.
http://sturmbot.org/index.php/downloads/download/14-day-of-defeat-game-file-configs-and-fixes/40-missing-bazooka-in-spawns-fix


For all others, read this part of the readme.txt in the dod folder...

v1.2 [4.2.03]...

New cvars and commands
"mp_combinemglimits"
· Setting to 1 will combine the mg34 and mg42 class limits and count either class as being a "machinegunner". New limit is the sum of "mp_limitaxismg34" and "mp_limitaximg42", including negative numbers.

"mp_limitalliesbazooka"
"mp_limitaxispschreck"
"mp_limitbitpiat"
· Class limit cvars for the new bazooka classes

"mp_alliesclasses"
· Mask of allowed classes for the allied team. "-1" allows all classes. To set the mask, reference the table of values below and add them together to get the class mask value. This can be set per map in the map cfg files. For example:

mp_alliesclasses 29 - ( 29 = 1 + 4 + 8 + 16 = garand + thompson + greasegun + sniper )

To add the 'random' class, you would find random, see the value 512, and add that to 29 - 541.

mp_alliesclasses 541

The list of classes:

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

"mp_axisclasses"
· Mask of allowed classes for the axis team. "-1" allows all classes. On non-para maps, fg42 bipod and scoped will not be available.

Axis classes
K98 1
K43 2
MP40 4
MP44 8
Sniper 16
FG42Bipod 32 //not available on non-para maps
FG42Sniper 64 //not available on non-para maps
MG34 128
MG42 256
Pschreck 512
Random 2048

"mp_spawnbazookas"
· Set to 1 to allow bazookas to spawn in the level.




INsane [dodbits] May 10, 2020 @ 5:23am 
Updated a server.cfg generator yesterday, at the bottom there is a section for the classes and weapon CVARs.

This page...
http://www.dodbits.com/dods/index.php/half-life-1-games/dod-hl1-server-config-maker

You can limit in basically 2 ways.

1. via a complicated class system using mask values you need to add up and set (see "Class Restrictions" ) its looks like they did that for a easy to edit mapname.cfg system.

2. Or by each weapon (see "Weapon Restrictions")

There are 27 commands in all.
3 control player "Class" with the complex mask value system.

The other 24 control Weapons directly.

Para maps and classes with two weapon choices tend to complicate dod goldsource. [sturmbot.org]
Last edited by INsane [dodbits]; May 10, 2020 @ 5:24am
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Apr 23, 2020 @ 1:53pm
Posts: 4