Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Espi

Smoke in EDGE

Recommended Posts

How could I make a thing with DDF that is invisible and is just used for puffing out smoke on the ground?

Share this post


Link to post
Guest Fanatic

Add in THINGS.DDF (change name and number to whatever you want):

[SMOKER:500]
RADIUS=1;
HEIGHT=1;
SPARE_ATTACK=SMOKER_ATTACK;
SPECIAL=NOBLOCKMAP,CORPSE,DROPOFF,INVISIBLE;
STATES(SPAWN)=POB:A:5:NORMAL:SPARE_ATTACK;

...and in ATTACKS.DDF:

[SMOKER_ATTACK]
RADIUS=10;
HEIGHT=10;
TRANSLUCENCY=0.8;
STATES(SPAWN)=FIRE:A:2:BRIGHT:NOTHING,
FIRE:B:2:BRIGHT:NOTHING,
FIRE:A:2:BRIGHT:NOTHING,
FIRE:B:2:BRIGHT:NOTHING,
FIRE:C:2:BRIGHT:NOTHING,
FIRE:B:2:BRIGHT:NOTHING,
FIRE:C:2:BRIGHT:NOTHING,
FIRE:B:2:BRIGHT:NOTHING,
FIRE:C:2:BRIGHT:NOTHING,
FIRE:D:2:BRIGHT:NOTHING,
FIRE:C:2:BRIGHT:NOTHING,
FIRE:D:2:BRIGHT:NOTHING,
FIRE:C:2:BRIGHT:NOTHING,
FIRE:D:2:BRIGHT:NOTHING,
FIRE:E:2:BRIGHT:NOTHING,
FIRE:D:2:BRIGHT:NOTHING,
FIRE:E:2:BRIGHT:NOTHING,
FIRE:D:2:BRIGHT:NOTHING,
FIRE:E:2:BRIGHT:NOTHING,
FIRE:F:2:BRIGHT:NOTHING,
FIRE:E:2:BRIGHT:NOTHING,
FIRE:F:2:BRIGHT:NOTHING,
FIRE:E:2:BRIGHT:NOTHING,
FIRE:F:2:BRIGHT:NOTHING,
FIRE:G:2:BRIGHT:NOTHING,
FIRE:H:2:BRIGHT:NOTHING,
FIRE:G:2:BRIGHT:NOTHING,
FIRE:H:2:BRIGHT:NOTHING,
#REMOVE;


that should do it. You'll have to adjust the sprite names and other stuff to work with your graphics, and add sounds of yuo want them.

the way this is set, you add that thing to your map. The direction you face it is where it will 'shoot' the smoke.

Share this post


Link to post

What is this attak missing? The sprite is a ball of smoke, so I want it to float up, but it just won't float. Also it would look good if they wouldn't all go straight up, they should spread a bit.

[SMOKER_ATTACK]
RADIUS=10;
HEIGHT=10;
TRANSLUCENCY=0.33;
FLOAT_SPEED=15;
SPECIAL=NOBLOCKMAP,NOGRAVITY;

STATES(SPAWN)=SMKE:A:1:NORMAL:NOTHING,
SMKE:B:2:NORMAL:NOTHING,
SMKE:C:3:NORMAL:NOTHING,
SMKE:D:4:NORMAL:NOTHING,
SMKE:E:5:NORMAL:NOTHING,
SMKE:F:6:NORMAL:NOTHING,
SMKE:G:7:NORMAL:NOTHING,
SMKE:H:8:NORMAL:NOTHING,
#REMOVE;

Share this post


Link to post
Guest Fanatic

There is no command to float up (I requested it some time ago for use in QDOOM though).

Share this post


Link to post
Espi said:

What is this attak missing? The sprite is a ball of smoke, so I want it to float up, but it just won't float. Also it would look good if they wouldn't all go straight up, they should spread a bit.

[SMOKER_ATTACK]
RADIUS=10;
HEIGHT=10;
TRANSLUCENCY=0.33;
FLOAT_SPEED=15;
SPECIAL=NOBLOCKMAP,NOGRAVITY;

STATES(SPAWN)=SMKE:A:1:NORMAL:NOTHING,
SMKE:B:2:NORMAL:NOTHING,
SMKE:C:3:NORMAL:NOTHING,
SMKE:D:4:NORMAL:NOTHING,
SMKE:E:5:NORMAL:NOTHING,
SMKE:F:6:NORMAL:NOTHING,
SMKE:G:7:NORMAL:NOTHING,
SMKE:H:8:NORMAL:NOTHING,
#REMOVE;

Ever thought of it using one of those spawner thingies like pain elemental uses.

Instead of shooting skulls, make it spawn a "puff" or whatever sprite the smoke would be.
----
I do have a question though?

Can I make an attack shoot along the ground but stay on the ground too.
(The effect is supposed to be similar if not exact to the way EL Oscurito attacks when you shoot him with a flamewall in Rise Of The Triad. Shoots green "etherreal" blasts that shoot across the ground)

Share this post


Link to post
Guest Fanatic

Make your projectile a slider, that might do it. Maybe mess with bounce too (give it like no bounce).

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  
×