How do I make more dmflags ???

Joined
Oct 25, 2005
Likes
0
#1
I want to enable the ability to move while leanning on my server. Is there a dmflag for that or can I make dmflags.

// 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 64
// DF_INFINITE_AMMO 2048
// DF_NO_FOOTSTEPS 16384
// DF_ALLOW_LEAN 131072
// DF_OLD_SNIPERRIFLE 262144
// DF_GERMAN_SHOTGUN 524288
// DF_ALLOW_OLDMAP_MINES 1048576
set dmflags 1181700

I if I just add "walk" to my

// DF_ALLOW_LEAN 131072

// DF_ALLOW_LEAN_WALK 131072

will that allow players to move while leanning.
// 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 64
// DF_INFINITE_AMMO 2048
// DF_NO_FOOTSTEPS 16384
// DF_ALLOW_LEAN_WALK 131072
// DF_OLD_SNIPERRIFLE 262144
// DF_GERMAN_SHOTGUN 524288
// DF_ALLOW_OLDMAP_MINES 1048576
set dmflags 1181700

Like so above???
 

SNYPE

Senior Member
Joined
Sep 24, 2003
Likes
0
#2
No you cannot add things to the DMflags, they are as they are. You either turn them on or off.
The DMFlag for Leaning ONLY allows leaning. The Lean while Strafe thing is done by the player via a key bind.
 
Top Bottom