[an error occurred while processing this directive]
Quick (I think) DDF question... - http://www.doomworld.com Forums


Original message

Lazer



dafshin@mediaone.net
24.218.49.65

"Third DDF question... Fanatic?" , posted Thu 31 May 18:46:user profileedit/delete messagepost reply


I'm trying to add in edge support for Underworld. (I'm trying to make it branch off onto all the ports with slightly different versions for all the ports.) I've made a new weapon, anyone who has played Underworld knows the Pentegram weapon. Now, I've followed the tutorial on the Uzi to get a feel of how to make a weapon like that, but the problem is that I don't know how to set the durations on frames. This makes it go very fast. I want to slow it down, so that is my question. How do I slow it down?

PART TWO:
I've got everything set with the Pentagram weapon. There is only one thing missing, the sparks that drop from the ball it shoots. If you've played Underworld or D2XGold you know what I'm talking about. It is like a smoke trail that looks different and falls to the ground. How do I add this in?

PART THREE
I'm making a second attack. Everything is working fine, but I want the second attack to be just like the one in the Doom64 mod on the immortal conduct page. How do I make multiple shots appear at once making that "laser" effect?

Current Projects:
Underworld
Dark Arena
The Doom Down Under Website:
www.devin-afshin.com/DDU/DDUMain.htm

[this message was edited by Lazer on Sun 3 Jun 07:45]

 

Replies:

Astewart41

Astewart41@hotmail.com
20352913
64.90.77.92

"Re(1):Quick (I think) DDF question... PART TW" , posted Fri 1 Jun 14:11user profileedit/delete messagepost reply


Try putting this special flag in your attacks.ddf for the "Pentagram weapon"

In the SPECIAL section, include this: SMOKING_TRACER

It may not be what you want, it's the same smoke tracer that trails Revenant fireballs that track you. I'm not completely sure though, if it is for TRACE ONLY weapons. Maybe you should ask Marc about it, I'm not completely sure right now.

http://www.angelfire.com/games3/ddaysoftware/index.html -DDaysoft (C) Website is under construction!

 

 

Lazer



dafshin@mediaone.net
24.218.49.65

"Re(2):Quick (I think) DDF question... PART TW" , posted Fri 1 Jun 14:53user profileedit/delete messagepost reply


I think I've tried that before. Hopefully Marc will stumble opon this topic...

Current Projects:
Underworld
Dark Arena
The Doom Down Under Website:
www.devin-afshin.com/DDU/DDUMain.htm

 

 

Fanatic

marcpullen@mindspring.com
209.86.153.193

"Re(3):Quick (I think) DDF question... PART TW" , posted Sat 2 Jun 12:17user profileedit/delete messagepost reply


Two things to make something smoke in ATTACKS.DDF

1. add in your attack entry you want to smoke:

PUFF=THING_NAME;

(change THING_NAME to the thing in THINS.DDF you want to use as the puff, it can be PUFF, BLOOD, or anything ou create youself).

2. in the STATES(SPAWN), add as the code pointer SMOKING, and the duration sets how fast it smokes.

ex. (for the QDOOM rocket attack):

STATES(SPAWN)=QROK:A:1:BRIGHT:SMOKING;

The 3rd bit is the duration (being 1), which is a lot of smoke. 2 is a reasonable amount.

-Marc
http://www.doomworld.com/fanatic

 

 

Lazer



dafshin@mediaone.net
24.218.49.65

"Re(4):Quick (I think) DDF question... PART TW" , posted Sat 2 Jun 15:26user profileedit/delete messagepost reply


Thanks....

Current Projects:
Underworld
Dark Arena
The Doom Down Under Website:
www.devin-afshin.com/DDU/DDUMain.htm

 

Astewart41

Astewart41@hotmail.com
20352913
64.90.78.218

"Re(1):Quick (I think) DDF question..." , posted Thu 31 May 19:57user profileedit/delete messagepost reply


Laser, try taking a look at the firing frames for the original chaingun for Doom2.

It should look something like this (from EDGE's original Weapons.ddf)

GGGG:F:T:SS:SS

"G" Is the graphic used for this particular frame.
"F" Is the indexed graphic to use for every frame in that attack
(I.E: Each graphic begins with CHGG in the chaingun frame, that
is suffixed with a letter, A-(whatever) to indicate which
graphic in that series to use)
"T" Is the amount of time (tics) that this frame is in use.
"S" Is the special flags, all flags must be seperated by a colon.

For example, the Chaingun's firing frames look like this:

STATES(ATTACK)=CHGG:A:4:NORMAL:SHOOT,
CHGG:B:4:NORMAL:SHOOT,
CHGG:B:0:NORMAL:REFIRE;

Perhaps you should try to use THOSE durations (Tics) for your UZI
firing frame, it should shoot at the same rate as the chaingun. I'm not the expert on making/modifying new weapons, I modify them slightly to add some more effect, but if you're looking for some real professional advice, you should talk to Marc (Fanatic), since he's the DDF God :P

Also, remember to always close off a statement when you're done with one particular state (Last entry ends with a semicolon [;], not a comma), if you don't, EDGE will crash immediately by giving you a Bad States error. I messed up a good amount of times on that when I started playin' around with it.

Most of this, ya probably knew anyways, but I thought I'd just throw it in for future reference anyways :)

-Andy-

http://www.angelfire.com/games3/ddaysoftware/index.html -DDaysoft (C) Website is under construction!

 

 

Lazer



dafshin@mediaone.net
24.218.49.65

"Re(2):Quick (I think) DDF question..." , posted Fri 1 Jun 11:31user profileedit/delete messagepost reply


Thanks, I'm going to fix it right now...

Current Projects:
Underworld
Dark Arena
The Doom Down Under Website:
www.devin-afshin.com/DDU/DDUMain.htm