Data Realms Fan Forums http://45.55.195.193/ |
|
Flaming Actor http://45.55.195.193/viewtopic.php?f=1&t=9734 |
Page 1 of 1 |
Author: | octyl [ Wed Jan 16, 2008 1:08 am ] |
Post subject: | 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! |
Author: | Lord Tim [ Wed Jan 16, 2008 1:14 am ] |
Post subject: | 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 |
Author: | Miles_T3hR4t [ Wed Jan 16, 2008 7:34 am ] |
Post subject: | 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. |
Author: | Djinn [ Wed Jan 16, 2008 7:24 pm ] |
Post subject: | 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 |
Author: | Miles_T3hR4t [ Wed Jan 16, 2008 8:11 pm ] |
Post subject: | 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. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |