Page 1 of 1

tip toe explosions.

Posted: Mon Jan 02, 2006 9:11 pm
by PKM
attempting to put in random ''mortor explosions'' that don't harm/basically just there to scare the crap out of the player, nothing major :


1. if i use nemesis's 'random exploder' script to have random simple explosions; can i alter the part in read to 0 0 so there is no damage to a player ?

2. if the value for the effect is 'random_explode
and wanted another random would the value be random_explode2 ?

.........

exec global/exploder.scr

level waitTill prespawn

//*** Precache Dm Stuff
exec global/DMprecache.scr

level.script = maps/dm/random.scr
exec global/ambient.scr random



level waittill spawn
thread random_explode1

end

random_explode1:

wait (randomfloat 13 + 23) <---the 13 is minimum # of seconds it waits, and 23 is the max # of seconds it will wait!


$random_explode anim start
radiusdamage $random_explode 256 384 <---this is the damage it does, 256 radius and 384 high!

goto random_explode1 <---this sends it back so it is a constant loop!
end