Data Realms Fan Forums
http://45.55.195.193/

Trails And Emition
http://45.55.195.193/viewtopic.php?f=1&t=10973
Page 1 of 1

Author:  Mind [ Wed Apr 16, 2008 9:45 pm ]
Post subject:  Trails And Emition

Um, I have A question, how do you make a gun shoot with a trail of whatever following it?
Attachment:
untitled.PNG
untitled.PNG [ 12.09 KiB | Viewed 2275 times ]

Also, how do you make a bullet, while in the air, emit particles in all direction?
Attachment:
untitled2.PNG
untitled2.PNG [ 25.72 KiB | Viewed 2276 times ]


Thanks in advance to anyone who answers

Author:  TrouserDemon [ Wed Apr 16, 2008 9:53 pm ]
Post subject:  Re: Trails And Emition

To answer your first question, TracerRound.

Author:  Mind [ Wed Apr 16, 2008 9:57 pm ]
Post subject:  Re: Trails And Emition

But how do you make more than one follow each bullet????

If you made RTT ratio 1, only one would follow each bullet


:(

Author:  Thanatos [ Wed Apr 16, 2008 9:58 pm ]
Post subject:  Re: Trails And Emition

TrouserDemon: -1

You can make the bullet shot out of the gun be an emitter, and simply have it emit particles.

Author:  Mind [ Wed Apr 16, 2008 10:00 pm ]
Post subject:  Re: Trails And Emition

So let me get this straight, have the gun be the main emission, then make the emitted particles whatever the heck I want to.


Also, how do I make sure they're behind the main bullet?

Author:  Djinn [ Wed Apr 16, 2008 10:13 pm ]
Post subject:  Re: Trails And Emition

The Mind wrote:
So let me get this straight, have the gun be the main emission, then make the emitted particles whatever the heck I want to.


Also, how do I make sure they're behind the main bullet?


The easiest way of doing it is to look for a weapon that does what you're asking and to reverse engineer it, but the theory behind it is this:
1- Gun fires an Actor or TDExplosive that explodes into whatever you want
2 - Make an emitter that emits what you want to trail
3- Then use AddEmitter to stick an emitter on your actor

But seriously, go see how someone else did it to get the theory down, it'll be much easier.

Author:  DarkSamurai [ Wed Apr 16, 2008 10:15 pm ]
Post subject:  Re: Trails And Emition

The Mind wrote:
So let me get this straight, have the gun be the main emission, then make the emitted particles whatever the heck I want to.


Also, how do I make sure they're behind the main bullet?


You just set the velocity of the emitted particles to 0. The bullet (emitter) will keep moving forward while the emitted particles stay in place and fall down.
Also, for the trail emitter, make sure you put InheritsVel = 0. Otherwise, the emitted particles will keep moving forward with the bullet's speed.
For the other emitter, you just set a certain velocity for the range of your emission, and set the effective angle of emission to 360, so the particles will go out in a circle.

@Djinn: Mind wants to emit particles all around in flight, not just for explosion purposes.

Author:  Mind [ Wed Apr 16, 2008 10:22 pm ]
Post subject:  Re: Trails And Emition

Wgat code is short for emissionangle

Author:  Thanatos [ Thu Apr 17, 2008 12:25 am ]
Post subject:  Re: Trails And Emition

Jesus you people give him the most complicated way of doing it.

Just have your main round be the emitter, you can make emitters gib.

If you want examples of this, look through some of my mods.

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