Data Realms Fan Forums
http://45.55.195.193/

Attachable AEmitter question
http://45.55.195.193/viewtopic.php?f=1&t=16203
Page 1 of 1

Author:  p3lb0x [ Thu Aug 13, 2009 3:40 pm ]
Post subject:  Attachable AEmitter question

Is it possible to make AEmitters on Attachables do damage to their parent Actor?

Author:  CaveCricket48 [ Thu Aug 13, 2009 3:51 pm ]
Post subject:  Re: Attachable AEmitter question

If an emitter has EmissionsIgnoreThis = 0 then particles fired by the emitter will hit its parent and itself. And emitter with EmissionDamage = X will take away X health everytime a particle is fired. BurstDamage = X takes away X health when the emitter starts.

Author:  p3lb0x [ Thu Aug 13, 2009 3:59 pm ]
Post subject:  Re: Attachable AEmitter question

So, you want my Attachable to have AEmitters emitting into the body of the actor to do damage? That's retarded.

Author:  CaveCricket48 [ Thu Aug 13, 2009 4:03 pm ]
Post subject:  Re: Attachable AEmitter question

You could make the emitter attach to the actor directly and have EmissionsIgnoreThis = 1 and have EmissionDamage and BurstDamage, so the actor's health would "bleed" instead of getting more wounds.

Author:  p3lb0x [ Thu Aug 13, 2009 4:04 pm ]
Post subject:  Re: Attachable AEmitter question

That's impossible with my current setup

Author:  CaveCricket48 [ Thu Aug 13, 2009 4:07 pm ]
Post subject:  Re: Attachable AEmitter question

I'm not sure if emitters could take away health while on an attachable without wounding the actor... What is your setup?

Author:  p3lb0x [ Thu Aug 13, 2009 4:08 pm ]
Post subject:  Re: Attachable AEmitter question

Instead of a head I have two attachables, I want wounds to the attachables to do damage to the parent actor

Author:  CaveCricket48 [ Thu Aug 13, 2009 4:15 pm ]
Post subject:  Re: Attachable AEmitter question

I just did a test, and emitters can't drain health from an attachable. It looks like you will need some Lua.

Author:  p3lb0x [ Thu Aug 13, 2009 4:23 pm ]
Post subject:  Re: Attachable AEmitter question

Oh damn :(

Author:  MaximDude [ Thu Aug 13, 2009 7:41 pm ]
Post subject:  Re: Attachable AEmitter question

p3lb0x wrote:
Oh damn :(


It shouldn't be very difficult...
You can have a proximity check on every particle emitting that will check for the parent actor and reduce a fixed amount of health.
Or instead, you can check if the emitter is emitting and drain health when it is.

Author:  p3lb0x [ Thu Aug 13, 2009 7:51 pm ]
Post subject:  Re: Attachable AEmitter question

I ScifiSpirit made a particle for me that does 5 damage when it is emitted. So it's AAAAWIGHT

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