Page 1 of 1
Creating an explosion.
Posted: Tue Mar 11, 2008 4:39 pm
by SpecOp44
I need to be able to create and explosion in the middle of my map, it has to be invisible, cover the entire playing area (about half the size of foundation, maybe less). I also need that the explosion be able to push blocs just a bit, and not damage players. And the explosion has to go off only once at the beginning of the game.
Example: Game starts, explosion goes off, since it can push blocs with the force of the explosion, all blocs caught in the radius (however they are placed) fall to the ground and are perfectly aligned with the ground.
I'm using this as a fix for blocs that have problems being placed with the BSP viewer. I've already tried spawning a frag grenade through ITMC with edits to it's Jpt!, to no avail.
Anyone?
Posted: Tue Mar 11, 2008 10:28 pm
by CaptainPoopface
I have not had luck editing the radius of an explosion to be any larger than the Containment core explosion, and that was just the damage. I think the force of a jpt automatically scales itself by distance, and this cannot be adjusted, so your explosion would blow away the things nearby, while barely moving the objects near the fringes of the explosion.
If you place your objects partially below the BSP, they will hop to the surface upon contact or interaction.
I believe blocs spawned through the itmc will fall to the ground immediately.
Other than that, your best alternative is to spawn a few smaller explosions, each near a few blocs, so that they will be affected. You can turn the damage down in the jpt.
Posted: Tue Mar 11, 2008 11:20 pm
by kibito87
MrMurder knows exactly how to do this. I tested his beta for Nightwinder 2 and the easter egg he had came down from the heavens and literally blew up a third of containment...
Sooo, basically, it can be done. I'm too lazy to look into it myself but I thought i'd let you guys know it's not impossible.
Posted: Wed Mar 12, 2008 1:26 am
by CaptainPoopface
I think that was also a plethora of projectiles, not just a single detonation. It lagged the game substantially, IIRC. Just load up Nightwinder 2 and set the plasma pistol as the starting weapon to check it out.
Posted: Wed Mar 12, 2008 12:30 pm
by SpecOp44
Alright but how do you spawn the explosion itself?
Posted: Wed Mar 12, 2008 12:44 pm
by JacksonCougAr
To do this just go like this:
Edit a JPT! to have a hugr radius, zero damage, and a small force.
Now edit a weapon to have one starting ammo and automatic fire. Place it in ITMC above the level.
Of course this is all moot if the game decides to ignore the explosion...
Re: Creating an explosion.
Posted: Wed Mar 12, 2008 12:53 pm
by DemonicSandwich
SpecOp44 wrote:Example: Game starts, explosion goes off, since it can push blocs with the force of the explosion, all blocs caught in the radius (however they are placed) fall to the ground and are perfectly aligned with the ground.
Whats interestng is that the 'floating' blocs only happen on host xbox's while client xbox's see and the blocs sitting as though they had already fallen.
SpecOp44 wrote:I'm using this as a fix for blocs that have problems being placed with the BSP viewer. I've already tried spawning a frag grenade through ITMC with edits to it's Jpt!, to no avail.
Anyone?
Don't spawn its [eqip] tag but rather spawn its [proj] through [itmc] instead.
Re: Creating an explosion.
Posted: Wed Mar 12, 2008 1:28 pm
by SpecOp44
DemonicSandwich wrote:Don't spawn its [eqip] tag but rather spawn its [proj] through [itmc] instead.
Yea I already tried doing that...I didn't specify I spawned it's proj. Maybe I missed something, I'll try again.
Edit: The reason it didn't work the first time was I had forgotten to do something...so it works now. Thanks guys.