Day of Defeat Plugins Community
This site is an archive — everything is readable and downloadable, nothing can be posted. Admin
Archive › Old Forum Threads › Help › Scripting Help › how to create an explosion (easy form)
4 posts, 2 people · 970 views Thread Rating: ★★★★★
closedhow to create an explosion (easy form)
Started by ghzero on 09-25-2009, 04:01 PM
ghzero
started this thread
Posts: 160
Threads: 42
Joined: Sep 2007
09-25-2009, 04:01 PM #1

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 ?!

Dr.G
posted here
Posts: 776
Threads: 75
Joined: Nov 2007
09-25-2009, 07:31 PM #2

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...

ghzero
started this thread
Posts: 160
Threads: 42
Joined: Sep 2007
09-26-2009, 07:46 AM #3

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...

Dr.G
posted here
Posts: 776
Threads: 75
Joined: Nov 2007
09-27-2009, 11:56 AM #4

You post too much, and dont test enough ;)

Archive › Old Forum Threads › Help › Scripting Help › how to create an explosion (easy form)
DoD Plugins Archive · Repository · Old Forum Threads · Maps · Admin · built 14 Sep 2026 00:34 UTC