View unanswered posts | View active topics It is currently Thu Jan 09, 2025 10:07 pm



Reply to topic  [ 11 posts ] 
 Attachable AEmitter question 
Author Message
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post Attachable AEmitter question
Is it possible to make AEmitters on Attachables do damage to their parent Actor?


Thu Aug 13, 2009 3:40 pm
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post 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
Profile
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post 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
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post 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
Profile
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post Re: Attachable AEmitter question
That's impossible with my current setup


Thu Aug 13, 2009 4:04 pm
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post 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
Profile
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post 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
Profile
User avatar

Joined: Tue Jun 12, 2007 11:52 pm
Posts: 13144
Location: Here
Reply with quote
Post 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
Profile
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post Re: Attachable AEmitter question
Oh damn :(


Thu Aug 13, 2009 4:23 pm
Profile
User avatar

Joined: Wed Nov 22, 2006 3:19 pm
Posts: 2073
Reply with quote
Post 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
Profile
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post 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
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.059s | 13 Queries | GZIP : Off ]