PDA

View Full Version : timed grenade in awe mod



feanor
24th April 2017, 17:47
hi , i joined an awe mod server that have timed grenade. i downloaded awe mod 3.4.2 but i couldnt find timed grenade script. where its located on awe mod or awe mod dont have timed grenade , they made themself?

serthy
24th April 2017, 18:15
hi , i joined an awe mod server that have timed grenade. i downloaded awe mod 3.4.2 but i couldnt find timed grenade script. where its located on awe mod or awe mod dont have timed grenade , they made themself?

It can be set in the weaponfiles iwd/weapons/mp/grenade_mp

If you modify weaponfiles yourself, the client has to download this file (not a serverside change)

kung foo man
24th April 2017, 18:17
Look in the weapons/mp grenade_* weapon files and search cookOffHold\0\, just set it to 1, IIRC that enables the cooking

If you wan't to access the cook time programmatically, you can use vorons libcod:


player getCookTime();

feanor
24th April 2017, 18:20
thanks ! :)