rudedog
02-25-2005, 11:21 PM
dmflags are settings you can switch on or off for your MOHSP/BT server
what are dmflags and how do I use them
Some info on the dmflags cvar.
// dmflags -- flags that can be set in the dmflags variable.
// DF_NO_HEALTH 1
// DF_NO_POWERUPS 2
// DF_WEAPONS_STAY 4
// DF_NO_FALLING 8
// DF_INSTANT_ITEMS 16
// DF_SAME_LEVEL 32
// DF_NO_ARMOR 2048
// DF_INFINITE_AMMO 16384
// DF_NO_FOOTSTEPS 131072
// DF_ALLOW_LEAN 262144
// DF_OLD_SNIPERRIFLE 524288
// DF_GERMAN_SHOTGUN 1048576
set dmflags (sum of all flags )
I have been told. That some flags do not work and others may be added in future patches. To combined flags, simply add the numbers together.
Example: You want to set DF_ALLOW_LEAN 262144 and DF_OLD_SNIPERRIFLE 524288
You would add 262144 + 524288 = 786432
simply add the following line to your server.cfg file
set dmflags 786432
Izzo from our forums has setup a nice web based DM flag calculator (http://www.aaahaulaway.com/izzo/dmflags.html).
what are dmflags and how do I use them
Some info on the dmflags cvar.
// dmflags -- flags that can be set in the dmflags variable.
// DF_NO_HEALTH 1
// DF_NO_POWERUPS 2
// DF_WEAPONS_STAY 4
// DF_NO_FALLING 8
// DF_INSTANT_ITEMS 16
// DF_SAME_LEVEL 32
// DF_NO_ARMOR 2048
// DF_INFINITE_AMMO 16384
// DF_NO_FOOTSTEPS 131072
// DF_ALLOW_LEAN 262144
// DF_OLD_SNIPERRIFLE 524288
// DF_GERMAN_SHOTGUN 1048576
set dmflags (sum of all flags )
I have been told. That some flags do not work and others may be added in future patches. To combined flags, simply add the numbers together.
Example: You want to set DF_ALLOW_LEAN 262144 and DF_OLD_SNIPERRIFLE 524288
You would add 262144 + 524288 = 786432
simply add the following line to your server.cfg file
set dmflags 786432
Izzo from our forums has setup a nice web based DM flag calculator (http://www.aaahaulaway.com/izzo/dmflags.html).