Data Realms Fan Forums
http://45.55.195.193/

Smoke Drop Pod... Help Request
http://45.55.195.193/viewtopic.php?f=1&t=14448
Page 1 of 1

Author:  CombatMedic02 [ Tue Apr 28, 2009 7:16 pm ]
Post subject:  Smoke Drop Pod... Help Request

Uh okay... I need a little help with a kind of smoke drop pod thing that I have been working on...

It's all working but I have 2 small problems at the moment that I just can’t figure out. The first problem is that the smoke is behind the actor not in front so it doesn't look right and my second problem is that the smoke kind of flares off downwards and I haven't had enough practise scripting to know how to fix it...

Image

The original idea was to make it seem like the actor is bursting through the floor, the actors in particular being zombies... because they need some way of coming into the map and I thought that making it look like they are coming from the ground would be pretty cool.

Thanks in advance to anyone that helps me and I hope we can gets this working. :P

CBM02

Attachments:
File comment: Here it is!
ZombieEntrance.rte.RAR [47.09 KiB]
Downloaded 211 times

Author:  Flammablezombie [ Tue Apr 28, 2009 7:34 pm ]
Post subject:  Re: Smoke Drop Pod... Help Request

There's a variable called priority for spritefiles, I think. I'm not sure what the default is, but give it a high priority to make it appear in front of everything.

Author:  war_man333 [ Tue Apr 28, 2009 7:40 pm ]
Post subject:  Re: Smoke Drop Pod... Help Request

Is that some sort of ninja effect?

Author:  CombatMedic02 [ Tue Apr 28, 2009 7:45 pm ]
Post subject:  Re: Smoke Drop Pod... Help Request

It could be used for that, yes.

Okay... Priority. Thats a good start... know where I have to put it? It already gave me a error when I tried putting it under the framecount line. :-(

Author:  Flammablezombie [ Tue Apr 28, 2009 7:49 pm ]
Post subject:  Re: Smoke Drop Pod... Help Request

Soz, I don't know much, but I saw it somewhere. It might only be applicable to sounds for all I know.

Author:  CombatMedic02 [ Tue Apr 28, 2009 7:54 pm ]
Post subject:  Re: Smoke Drop Pod... Help Request

Hmmm yeah, I saw it can be used for sound... If I got the smoke in front of the actor the flaring downward wouldn't bother me so much. :P

Author:  Geti [ Wed Apr 29, 2009 5:39 am ]
Post subject:  Re: Smoke Drop Pod... Help Request

its impossible. without attaching the smoke to the actor or something stupid like that, you cant make sprites have a priority because the MOIDs (every object with a sprite that moves, as far as you need to know) are layered according to when they came into the map. to make a better smoke effect though, have some AEmitters pumping out smoke MOSParticles for a short period of time.
to fix all the smoke going downwards, you're going to need some InheritsVel = 0 lines in your gibs, one for every gib definition, like so
Code:
addactor = <whatever type of craft>
<craft code>
<tab>AddGib = Gib
<tab><tab>GibParticle = <MOSP, AEmitter, Whatever the object is>
<tab><tab><tab>CopyOf = <Something Smokey>
<tab><tab>InheritsVel = 0 <--- this is the bit you need to add

hopefully that does the trick.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/