adrenaline cfg


(BlackEight) #1

I can live without adren but others dont:) Yet, i want to configure in the way that it doesnt make you a God.
I know its g_adrenaline and these are flags:
1 Spawn with no adrenaline needles, can only get them from ammo packs
2 Ammo packs do not contain adrenaline needles
4 Can only carry one needle at a time
8 Adrenaline does not boost health
16 Adrenaline does not boost stamina
32 Adrenaline causes player’s eyes to glow red when used
64 Health packs cannot be picked up while using adrenaline
128 Enables adrenaline for soldiers (1.2.3 and higher)
256 Enables adrenaline for medics (1.2.3 and higher)
512 Enables adrenaline for engineers (1.2.3 and higher)
1024 Enables adrenaline for field ops (1.2.3 and higher)
2048 Enables adrenaline for covert ops (1.2.3 and higher)
4096 While using adrenaline you receive only half the damage (1.2.7 and higher)

But it want to pick serveral:/ So will i work when i write:
g_adrenaline 32+8+128+256+512+1024+2048
??


(murka) #2

That’s the whole point of a bitmask. Adding values together will give you multiple choices(as there can be no 2 of a kind).

In short, it will work(ofc doing the addition yourself and setting the result value as the cvar)…


(stealth6) #3

[QUOTE=BlackEight;201256]But it want to pick serveral:/ So will i work when i write:
g_adrenaline 32+8+128+256+512+1024+2048
??[/QUOTE]

32+8+128+256+512+1024+2048 = 4008

so you put g_adrenaline “4008”

in the config.


(BlackEight) #4

OK,thanks guys.

Kind Regards