With this plugin you can set which classes you want to be included when playing on random.
How to use it:
There is a single command with three arguments, dod_custom_random. Each argument is a sum of the of class IDs given below. First argument for Allies, second for Axis and third for British.
Example:
If I only want to be either a Rifleman, Sniper or Machine Gunner on Allies then I would use 1+16+64 = 81 for my first argument. Do one for each of the three teams. Use 0 if you want to use random normally.
Auto set up:
If you do not want to type this in every map then you can create a file (in the client game and not the server) called:
/day of defeat/dod/dod_customrandom.cfg
and should look like this:
Code:
dod_custom_random 81 50 3
I understand that most of the people here don't play DOD but would appreciate any feedback about my actual code.