Data Realms Fan Forums http://45.55.195.193/ |
|
I Require Assistance With Emitters Please - Resolved http://45.55.195.193/viewtopic.php?f=1&t=14016 |
Page 1 of 1 |
Author: | Plasmius [ Sun Mar 22, 2009 4:37 am ] |
Post subject: | I Require Assistance With Emitters Please - Resolved |
Alright, this should be a pretty simple request. I want to make my actor's eyes glow red and I haven't the slightest idea what to do with emitters. I know how to do attachables and most other stuff but i haven't used emitters before. In Before "LOL YEWS SARCH BOTIN NUB", I already looked. KTHXBAI |
Author: | Duh102 [ Sun Mar 22, 2009 4:49 am ] |
Post subject: | Re: I Require Assistance With Emitters Please |
Okidoke, so what you'll do with the following code, after you've pasted it above the definition for your actor's head, is use an AddEmitter = AEmitter block in the head definition to attach it to the head. It looks something like so Code: AddEmitter = AEmitter CopyOf = Eye Glow Here is the code for an emitter that will emit a glow particle constantly. Code: AddEffect = AEmitter PresetName = Eye Glow Mass = 0.1 HitsMOs = 0 GetsHitByMOs = 0 SpriteFile = ContentFile FilePath = Base.rte/Null.bmp FrameCount = 1 SpriteOffset = Vector X = 0 Y = 0 AtomGroup = AtomGroup AutoGenerate = 1 Material = Material CopyOf = Air Resolution = 1 Depth = 0 EffectStartTime = 0 EffectStopTime = 500 EffectStartStrength = 1.0 EffectStopStrength = 0 EffectAlwaysShows = 1 BurstTriggered = 1 AddEmission = Emission EmittedParticle = MOSParticle CopyOf = Glow Particle ParticlesPerMinute = 1000 BurstSize = 1 Spread = 0 MaxVelocity = 0 MinVelocity = 0 PushesEmitter = 0 EmissionEnabled = 1 EmissionsIgnoreThis = 0 BurstSize = 1 BurstScale = 1 BurstTriggered = 1 BurstSpacing = 500 EmissionDamage = 0 FlashOnlyOnBurst = 0 ParentOffset = Vector X = 0 Y = 0 Change the ParentOffset to place it on your actor's head, as well as change the EmittedParticle to match your glow particle. Be careful though, the longer your actor is in a transport the more glow particles will stack and be created all at once when you exit the transport, causing lots of lag. |
Author: | Plasmius [ Sun Mar 22, 2009 5:17 am ] |
Post subject: | Re: I Require Assistance With Emitters Please |
Thanks a lot! Ill probably play with this tomorrow, its bedtime now |
Author: | Grif [ Sun Mar 22, 2009 6:30 am ] |
Post subject: | Re: I Require Assistance With Emitters Please |
Uh, Duh, wouldn't it be easier to have the glow be from the emitter flash? Oh right, yes it would. Basically take any old AEmitter, but make the Flash = Attachable reference a muzzleflash with a glow, specifically your red eye glow. Then make it emit some useless particle that doesn't hit anything and vanishes instantly. |
Author: | Plasmius [ Sun Mar 22, 2009 9:00 pm ] |
Post subject: | Re: I Require Assistance With Emitters Please |
Grif wrote: Uh, Duh, wouldn't it be easier to have the glow be from the emitter flash? Oh right, yes it would. Basically take any old AEmitter, but make the Flash = Attachable reference a muzzleflash with a glow, specifically your red eye glow. Then make it emit some useless particle that doesn't hit anything and vanishes instantly. Would i add the Flash = Attachable code anywhere in the code? Would it be like this? Code: Flash = Attachable CopyOf = Muzzle Flash Red and the useless particle would be referenced in the emitter definition right? Code: EmittedParticle = MOSParticle CopyOf = Useless Particle ParticlesPerMinute = 1000 BurstSize = 1 Spread = 0 MaxVelocity = 0 MinVelocity = 0 PushesEmitter = 0 Right? In the meantime ill try the other way. Update: i tried duhs method but the particle from the emitter are leaking like a faucet, how do I fix this? I want them to stay on the actors head. |
Author: | Grif [ Mon Mar 23, 2009 12:07 am ] |
Post subject: | Re: I Require Assistance With Emitters Please |
Yes, you would do it like that. And the problem with Duh's method is exactly why I proposed mine. It might help to add PinStrength to the particles but really it's not the best way. |
Author: | Duh102 [ Mon Mar 23, 2009 12:38 am ] |
Post subject: | Re: I Require Assistance With Emitters Please |
You know, I had never known you could do that. Thanks Grif. In addition, that sounds like it would stop the glow from building up in the transport. Using my method, I usually have to set the glow particle to be GlobalAccScalar = 0 and LifeTime to 10 or 15 to keep them around the head. Not as nice if you want the glow to stay exactly put. |
Author: | Plasmius [ Mon Mar 23, 2009 2:05 am ] |
Post subject: | Re: I Require Assistance With Emitters Please |
Thank you very much, gentlemen. Ill edit this post if i ever get it to work. Update: I think ive got it, i just need to play with offsets and glows, etc. thanks a lot for the help! |
Author: | shelleyerest [ Mon Mar 23, 2009 9:47 pm ] |
Post subject: | Re: I Require Assistance With Emitters Please - Resolved |
wait so please put the code that would work |
Author: | Plasmius [ Wed Mar 25, 2009 2:48 am ] |
Post subject: | Re: I Require Assistance With Emitters Please - Resolved |
Ill try when i get the time, sorry that i cant do it now. Check back on this post in a few days. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |