PDA

View Full Version : How do I make more dmflags ???


stubyph
10-27-2005, 08:42 AM
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
10-27-2005, 09:11 PM
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.

GaSplat
10-27-2005, 09:38 PM
I do it by holding both the lean right or lean left key and the move left or move right keys at the same time.