PDA

View Full Version : Edge's DDF Question


Revenant
November 25th, 2001, 02:06 PM
Yep, me again http://forums.newdoom.com/UBB/smilies/cwm41.gif

Because this is a totally different topic than my other question involving DDF, I decided to make a new thread. Is there anybody here who knows how to make either:

(Note- Both these are used with GLedge's lighting feature)

1.) Some kind of light source that the player holds in place of a weapon, such as a torch, that illuminates the area around the player.

AND/OR...

2.) A flare gun that fires a lighted projectile which will STICK to whatever it hits (such as a wall). Once on the wall, it will continue to light the area like a real flare gun until it dies out moments later. If it hits an enemy, it will do some damage to it.

Are these possible to do using Edge's DDF functions?

pickle_hammer
November 25th, 2001, 04:54 PM
Well I use msn rarely; mostly I'm on icq or aol. Glad to see you tomorrow!

Rellik_jmd
November 25th, 2001, 09:02 PM
Both of these are very possible and good ideas. http://forums.newdoom.com/UBB/smile.gif You should ask Espi, the author of that way cool GUNS PC for EDGE. His email is: espib@luukku.com

------------------
Member of Team DEIM (http://www.teamdeim.com/)
Webmaster The DOOM Editing Resource (http://www.teamdeim.com/der/)

Revenant
November 26th, 2001, 05:49 AM
Alright cool, I'll give him a try. I think I have figured out how to do the flare gun, and it works quite well. The flare is a projectile that sticks to a surface for about 10-15 seconds before dying out. My only problem with it is that, if shot on a wall, it tends to slide up or down the wall, but it's nothing drastic. I don't think the torch thing is possible, though I've been wrong many times so I'll contact that guy.

Nickster
November 26th, 2001, 07:28 AM
1.) Yes, it is possible! Im in a hurry so i will just cut and paste a bit:

In the weapon:
STATES(READY)=NONE:A:1:NORMAL:EJECT(PLAYER_TORCH)
NONE:A:1:NORMAL:READY,#READY:3;

In attacks:

[PLAYER_TORCH]
ATTACKTYPE=PROJECTILE;
HEIGHT=1;
RADIUS=1;
DAMAGE.VAL=0;
DAMAGE.MAX=0;
ATTACK_HEIGHT=32;
SPEED=1;
ATTACKRANGE=1024;
PROJECTILE_SPECIAL=NOBLOCKMAP,MISSILE,DROPOFF,NOGR AVITY,NOSHADOW; //maybe some unneaded stuff but bah!
DLIGHT.TYPE=QUADRATIC;
DLIGHT.INTENSITY=100;
DLIGHT.COLOUR=#FFFF00;

STATES(IDLE)=NADA:A:2:BRIGHT:NOTHING,#REMOVE;

STATES(DEATH)=NADA:A:0:BRIGHT :DLIGHT_SET(100),
NADA:A:0:BRIGHT :DLIGHT_FADE(0),
NADA:A:2:BRIGHT:NOTHING,
#REMOVE;

It simply ejects the lightning all the time a bit infront of the player and will shine up around the player.

Nickster
November 26th, 2001, 07:29 AM
Oh and remeber to change to the frames you want, this is just an example http://forums.newdoom.com/UBB/biggrin.gif.