Grenade Timer (Cooking)

Add Another Mod

 

Mod File number (downloads) -

MD5

Type -

Weapon

Server / Client -

Server Side

Mod Sub Cat -

Mk 2 Grenade

Mod Version -

Total Views -

Mod screen shot -

Grenade Timer (Cooking)

Mod PK3

PK3 MD5

Mod External Info -

xNULL Thread

Game Type -

MOHAA

 

 

Mod Creator -

Purple Elephant1au

 

 

 

 

Mod Status -

Fully working no errors

 

Team -

 

Theme -

Rating

Extra Credits -

 

Iinstall / info

Purple made a grenade timer if anyone wants it ,so all it does it change the delay of the grenade to the amount of time the 'Fuse' has left on the clock.
So if you throw the grenade with 5 seconds left on the clock it will explode after 5 seconds etc.

Since its completely scripted there isnt the cooknade bug that occurs in SH where you can poke it through a door and it explodes.

I might add sound to it later when we have the ability to play a sound for individuals, i tried with a small radius but it still work to well.

http://www.x-null.net/forums/showthread.php?1842-Throw-Nade-timer-is-it-possible&p=17610&viewfull=1#post17610
Please see above post of instructions on setting the MAX fuse time ^^^
But its a simple as changing the number after the global/grenade_timer.scr 10 <<< change this
so say you want it to 5 seconds to be MAX fuse time
enter exec global/grenade_timer.scr 5
IN the models/weapons/base.tiks <<<<<

For the grenade cooking
HAS TO BE TURNED ON!!!
set cooknade "1"
So the timer can be used without affecting grenade delay or 'cooking'

It includes the tik files needed , so it will upset with your ammo etc. or you could just remove the weapons/ folder and add the following manually
or just adjust the premade grenade.tik located in models/weapons to change ammo etc
Same if you have the kicknade mod or projectile.scr fix, just add it instead of using premade.

open up the tik files in the projectile folder

For the Secondary grenade ( short throw )
models/projectiles/m2frag_grenade.tik
models/projectiles/steilhandgranate.tik

For the primary
models/projectiles/m2frag_grenade_primary.tik
models/projectiles/steilhandgranate_primary.tik

And just add
exec global/grenade_timer.scr

So example is m2frag secondary
Code:

// The is the M2 grenade used for secondary fire & by AIs
TIKI

$include models/projectiles/m2fgrenade_base.txt

init
{
server
{
exec global/grenade_timer.scr
speed 700
minspeed 100
}
}

Video