| closedhow to create an explosion (easy form) |
| Started by ghzero on 09-25-2009, 04:01 PM |
Threads: 42
Joined: Sep 2007
hello,nnI need for an plugin an simple form to create an explosion.nnis ist possible to shoot one entity(mortar?) at the engine instead creating multiply entities like: an explosion, an sound and must have an damage check for players nearly the origin of explosion ?nI 'am think of the mortar ..but do not know how to launch it. do you have example? or example plugin that uses mortars ?!
Threads: 75
Joined: Nov 2007
To make a "fake" explosion look at my dod_kamikaze script, if you wanna make a new mortar field with triggers, its needs a bit more, but do'able. rnrnAvoiding multiply entities is impossible in that process. If you start a script not only by copy/pasteing this time, ill help you all the way...
Threads: 42
Joined: Sep 2007
btw: an mapper can place an env_explosion in an map, that is an entity with origin, magnitude. it must be possible to spawn this entity on the running map and trigger it.nnmaybe something like this..nnew entity = engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "env_explosion"))nfm_set_kvd(entity, "origin", "x y z", "env_explosion")ndllfunc(DLLFunc_Spawn, entity)nn..i'm going to research on this...
Threads: 75
Joined: Nov 2007
You post too much, and dont test enough ;)

