Author |
Message |
p3lb0x
Forum Moderator
Joined: Fri Feb 02, 2007 3:53 pm Posts: 1896 Location: in my little gay bunker
|
Attachable AEmitter question
Is it possible to make AEmitters on Attachables do damage to their parent Actor?
|
Thu Aug 13, 2009 3:40 pm |
|
|
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
|
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.
|
Thu Aug 13, 2009 3:51 pm |
|
|
p3lb0x
Forum Moderator
Joined: Fri Feb 02, 2007 3:53 pm Posts: 1896 Location: in my little gay bunker
|
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.
|
Thu Aug 13, 2009 3:59 pm |
|
|
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
|
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.
|
Thu Aug 13, 2009 4:03 pm |
|
|
p3lb0x
Forum Moderator
Joined: Fri Feb 02, 2007 3:53 pm Posts: 1896 Location: in my little gay bunker
|
Re: Attachable AEmitter question
That's impossible with my current setup
|
Thu Aug 13, 2009 4:04 pm |
|
|
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
|
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?
|
Thu Aug 13, 2009 4:07 pm |
|
|
p3lb0x
Forum Moderator
Joined: Fri Feb 02, 2007 3:53 pm Posts: 1896 Location: in my little gay bunker
|
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
|
Thu Aug 13, 2009 4:08 pm |
|
|
CaveCricket48
Joined: Tue Jun 12, 2007 11:52 pm Posts: 13144 Location: Here
|
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.
|
Thu Aug 13, 2009 4:15 pm |
|
|
p3lb0x
Forum Moderator
Joined: Fri Feb 02, 2007 3:53 pm Posts: 1896 Location: in my little gay bunker
|
Re: Attachable AEmitter question
Oh damn
|
Thu Aug 13, 2009 4:23 pm |
|
|
MaximDude
Joined: Wed Nov 22, 2006 3:19 pm Posts: 2073
|
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.
|
Thu Aug 13, 2009 7:41 pm |
|
|
p3lb0x
Forum Moderator
Joined: Fri Feb 02, 2007 3:53 pm Posts: 1896 Location: in my little gay bunker
|
Re: Attachable AEmitter question
I ScifiSpirit made a particle for me that does 5 damage when it is emitted. So it's AAAAWIGHT
|
Thu Aug 13, 2009 7:51 pm |
|
|
|