Page 1 of 1
Bullet Explosion?
Posted: Sat Aug 16, 2008 9:02 pm
by BattleSkarz
I want to make the rocket explosion shoot bullets in all directions. is this possible? retarded? has it been done before? how might i do this?
Posted: Sat Aug 16, 2008 10:39 pm
by Themandyou
Like a spike grenade?
Posted: Sat Aug 16, 2008 10:49 pm
by newbymodder
basically he wants it so you shoot a rocket when it blows up bullets shoot out from the rocket explosion and yes im pretty sure it can be done but i don't know exactly how.
Posted: Sat Aug 16, 2008 11:10 pm
by BattleSkarz
um... yes. thanks for restating my question.
admittedly it was a bit... undetailed.
Posted: Sat Aug 16, 2008 11:23 pm
by newbymodder
well some people,
Themandyou wrote:Like a spike grenade?
, don't quite get it so it helps and the part answer yes you can do it. How do i know? iv seen mods like that before but as i stated i do not know how i would image in would be in the effect tag for the explosion and you would have to change it from the explosion itself to an bullet and you would have to change the damage value from a rocket to w/e u wanted, but i don't know how to create multiple bullets.
Posted: Sat Aug 16, 2008 11:37 pm
by mr_penguin
You would have to do that chain spawning thing.
http://forums.halomods.com/viewtopic.ph ... 131#603131
http://forums.halomods.com/viewtopic.php?t=34079
http://forums.halomods.com/viewtopic.php?t=38636
those should help and when you chain spawn you can spawn any type of proj, bloc, bipd, weap,vehi, and maybe machs, not sure.
Posted: Sat Aug 16, 2008 11:51 pm
by BattleSkarz
ooh... chainspawning... i've been putting off learning that for a long time. i guess i should start...
Posted: Sun Aug 17, 2008 12:47 pm
by BattleSkarz
okay, i've got the whole spawning a bullet thing down, but it just shoots straight forward, directly into what the rocket just hit. how can i make it shoot in other directions, and more importantly, how can i make it shoot more than one?
neodos's tutorial on the subject was very confusing. it seems his entity is entirely different than mine...

Posted: Sun Aug 17, 2008 2:25 pm
by CaptainPoopface
The direction of chainspawned objects is difficult to manipulate with precision. To make more than one proj, copy the proj chunk for as many projectiles as you need. Also, IIRC, the rocket explosion is tricky because it has two events - the explosion, and the wispy smoke afterwards. Verify that your proj is spawning properly by changing it to something easily visible, such as the plasma pistol charged bolt or the brute plasma bolt. Sometimes the damage from the chainspawning explosion will destroy your projectile, or the force may deflect it from its intended course. Null the jpts for the rocket explosion, or at least the force.
You have a few options for changing the spawned proj direction, but some of it is random, beyond our control. Markers are the place to start. It sounds like your proj has the "forward" marker. Try changing it to up, normal, reflection, and backward. The marker tells the effect where to happen and/or which direction to go. Your best bet is probably to use the up marker, then adjust the velocity cone angle to make the projectiles go out. But you can't really control how they spread, and it will be different every time the explosion happens. If your projs are going up and not hitting anyone, give them some air gravity so that they fall back to the ground. Headshotmasta did this for the spark grenade in his mod Prophet's Elimination. Look at its detonation effect. Also look at the 3volved spike grenade detonation effect to see how they did it.
Manipulating effects and markers requires a lot of trial and error. I can't really help you more than this. Read the tutorials that neodos and DemonicSandwich and I have posted regarding markers and effects. I briefly mention the velocity bounds, angular velocity, velocity cone angle and radius in one of my tutorials.
Good luck. You can do a lot of cool stuff with markers, but you have to invest some time to figure them out.