Data Realms Fan Forums
http://45.55.195.193/

Modding Help (Horizontal gibs for a bomb)
http://45.55.195.193/viewtopic.php?f=1&t=14056
Page 1 of 1

Author:  striker121 [ Wed Mar 25, 2009 9:28 pm ]
Post subject:  Modding Help (Horizontal gibs for a bomb)

Essentially, what I'm trying to make a dropship that explodes on being triggered, and then lets loose a hail of bullets. The difference is that these bullets would have -1 lifetime (Essentially being infinite according to grif), and they would have to fly straight right to left, or left to right. This way, it acts as a sort of "Drop Ship Denial" area and would stop a atleast a few dropships from landing. The only problems with this is that
A) I don't know how to make a dropship gib bullets
B) I don't know how or if it's even possible to make them fly horizontally.
I'm assuming that zero or almost zero weight would allow the bullet to continue flying, but the above problems need some working out. Anyone know how to help me here? If any of this is confusing I could probably upload a picture of what I'm trying to do.

Author:  Duh102 [ Wed Mar 25, 2009 10:02 pm ]
Post subject:  Re: Modding Help (Horizontal gibs for a bomb)

Pretty easy, actually. You'll only need to do one somewhat hard thing, that is make two one-off emitters. For whatever you're using as your bullets, set them to GlobalAccScalar = 0.1. Then, make a one-off AEmitter (guide) that emits half of the bullets and uses EmissionAngle = Matrix to emit either 180 or 0. Then, make another AEmitter that does the same thing, but at the other angle and add the first AEmitter to the emissions. Then, have your craft gib the second AEmitter with InheritsVel = 0.

Author:  Solace [ Thu Mar 26, 2009 12:12 am ]
Post subject:  Re: Modding Help (Horizontal gibs for a bomb)

Sure the GlobalAccScalar shouldn't be 0? Also, you only need one emitter, just emit some bullets with positive velocity and some with negitive velocity. :D

Author:  Duh102 [ Thu Mar 26, 2009 12:26 am ]
Post subject:  Re: Modding Help (Horizontal gibs for a bomb)

Solace wrote:
Sure the GlobalAccScalar shouldn't be 0?

Well, now that I look at it I suppose so. I was going to put that but remembered that he was going to make lifetime infinite and didn't want to have bullets stay there, but now I see that's the point.

Solace wrote:
Also, you only need one emitter, just emit some bullets with positive velocity and some with negitive velocity. :D

Oh yeah :oops:

Author:  striker121 [ Thu Mar 26, 2009 8:27 pm ]
Post subject:  Re: Modding Help (Horizontal gibs for a bomb)

Thanks guys, I'll try some of your ideas soon, just need to get some free time.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/