tip toe explosions.

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
PKM
General
Posts: 1888
Joined: Tue Aug 09, 2005 4:43 pm
Location: Philadelpia but stuck in San Antonio TX (hell)

tip toe explosions.

Post 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
i'm not f****** angry, i'm from philadelphia .
Image
Post Reply