View unanswered posts | View active topics It is currently Sun Dec 29, 2024 6:41 am



Reply to topic  [ 5 posts ] 
 Flaming Actor 
Author Message
User avatar

Joined: Fri Aug 31, 2007 3:57 am
Posts: 227
Location: Canada
Reply with quote
Post Flaming Actor
Hello all, I am going to be working on a Fire and Water (or ice) mod. It will have an actor, a dropship, a gun, a bomb, a tool, and a misc (doesn't hurt stuff, just looks cool) from either element. I will later add other elements, but for now just fire/water. I will be needing snippets of code for a few things. first: flaming actor.

I want it so that as soon as the fire actor spawns, he starts on fire. the fire doesn't harm anyone (or should i make harm everyone but him?), but it would look sweet. thanks!


Wed Jan 16, 2008 1:08 am
Profile
User avatar

Joined: Fri Apr 27, 2007 4:55 pm
Posts: 1178
Location: America!
Reply with quote
Post Re: Flaming Actor
A whole actor? That's asking kind of a lot for something that you're going to release under your name. I mean... if I made a flaming actor, I'd totally release it myself.

Which, by the way, I'm not going to, because I hate doing actors.

Also,

Code:
AddEmitter = AEmitter


Wed Jan 16, 2008 1:14 am
Profile
User avatar

Joined: Mon Jun 04, 2007 5:55 am
Posts: 1627
Location: Ohio
Reply with quote
Post Re: Flaming Actor
octyl wrote:
(or should i make harm everyone but him?), but it would look sweet. thanks!


Um... you can't make it hurt everything BUT him, without making it so that BULLETS don't hurt him.

flack and heavy diggers would end up as the only things you could kill it with.

To make the flames do damage, you'd need to add an emiter (like lord tim said)
and then make the particles it emits do damage (hitsMO = 1)
(the particles would also have to have either high sharpness, or high mass... and high mass would make him fly all over the place)


so basicly

Actor > emits actor damaging particles > emited particles hit the actor emitting them > that actor dies >

however, if the particles are hitsMO = 0, then it won't hurt you, OR anyone else.
which means it will just look pretty, lag the game down, and nothing more.


Wed Jan 16, 2008 7:34 am
Profile YIM WWW
User avatar

Joined: Sun Oct 29, 2006 4:26 am
Posts: 298
Reply with quote
Post Re: Flaming Actor
Miles_T3hR4t wrote:
octyl wrote:
(or should i make harm everyone but him?), but it would look sweet. thanks!


Um... you can't make it hurt everything BUT him, without making it so that BULLETS don't hurt him.



EmitterIgnoresThis = 1


Wed Jan 16, 2008 7:24 pm
Profile YIM
User avatar

Joined: Mon Jun 04, 2007 5:55 am
Posts: 1627
Location: Ohio
Reply with quote
Post Re: Flaming Actor
Djinn wrote:
Miles_T3hR4t wrote:
octyl wrote:
(or should i make harm everyone but him?), but it would look sweet. thanks!


Um... you can't make it hurt everything BUT him, without making it so that BULLETS don't hurt him.



EmitterIgnoresThis = 1


ah HA! I didn't know about that.

you CAN have damaging emiters not damage the actor with the emiter. Okay ^_^ that's cool.


Wed Jan 16, 2008 8:11 pm
Profile YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 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.040s | 13 Queries | GZIP : Off ]