![]() |
DMFLAGS plz help...
I found this in the ffa.cfg file included in the 2.11 patch...
// dmflags -- flags that can be set in the dmflags variable. // DF_NO_HEALTH (1 << 0) // DF_NO_POWERUPS (1 << 1) // DF_WEAPONS_STAY (1 << 2) // DF_NO_FALLING (1 << 3) // DF_INSTANT_ITEMS (1 << 4) // DF_SAME_LEVEL (1 << 5) // DF_NO_ARMOR (1 << 11) // DF_INFINITE_AMMO (1 << 14) // DF_NO_FOOTSTEPS (1 << 17) // DF_ALLOW_LEAN (1 << 18) // DF_OLD_SNIPERRIFLE (1 << 19) // DF_GERMAN_SHOTGUN (1 << 20) set dmflags 0 What does (1 << X) means ?!? |
fire1:
|
That is the number in binary. To figure out how to use dmflags, head on over to http://www.mohadmin.com.
Look under the guides section. I have listed all the correct numbers and how to use them. I have also included this in my rcon guide. It can be found under guides as well. |
Yeah I saw that but I wanted to know what these numbers means...
|
I want to know what (1 << 20) means...
Why they didnt write the flags like this? // 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 |
for each flag you wish to set, just add the numbers up and only use one
dmflag x where x is the sum of all the flags you wish to set |
Okay thanks
Is there any info about what does each flag do? I know some are self explatory... |
All times are GMT -6. The time now is 05:51 PM. |
Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.