g_heavyWeaponRestriction - more technical explanation?


(Ark42) #1

I read at http://www.rtcw.jolt.co.uk/index.php?page=&action=show&id=3357#g_heavy some details about how g_heavyWeaponRestriction works but I still want some more details.
Is that information 100% correct? How does the rounding work?


(DG) #2

unfortunately its not 100%, see thread :frowning:

without having several people to help i cant really work out how the rounding is working, but its a bit odd either way. For example, in a one-man server, “g_heavyweaponrestriction 1” (thats 1% of 1!) allowed me to take a heavyweapon. setting “g_heavyweaponrestriction 0.9” (0.9% of 1) did not allow me to go any heavyweapon.

could spam a lot of support fire though :bored: