[an error occurred while processing this directive]
Cool flying gibs... how !?! (in Edge) - http://www.doomworld.com Forums


Original message

ViperBoy



viperboy@zybermail.dk
40097719
212.54.69.171

"Cool flying gibs... how !?! (in Edge)" , posted Sat 20 Jan 11:53:user profileedit/delete messagepost reply


I'm making this cool mod for Doom 2 and I just can't figure out how to make cool gibs (like the ones in Duke Nukem 3D) I need them to:

- appear when a monster is gibbed
- be animated when flying, and emit a sound and turn into a new picture when it hits the ground (if a brain is flying around it would look stupid if it doesn't collapse when it hits the ground)

Help will be greatly appreciated and the name of the person who helps me will be credited in the mod when it's published

-_-_-_-_-_- ViperBoy -_-_-_-_-_-_-

Check my DooM site at
http://www.viperboy.org
- and don't forget to sign the GuestBook

-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-

[this message was edited by ViperBoy on Sat 20 Jan 11:56]

 

Replies:

Fanatic

marcpullen@mindspring.com
209.86.74.248

"Re(1):Cool flying gibs... how !?! (in Edge)" , posted Sat 20 Jan 12:18user profileedit/delete messagepost reply


I did it in the QDOOM Public Test by calling a SPARE_ATTACK that's a triple spawner (calls the actual bouncing gibs, which is basically a skullfly attack with gravity on the spawned thing). It's a little complex because of the cross references, but that's how you can do it.

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

 

 

sirgalahadwizar



sirgalahadwizard@hotmail.com
45229070
131.230.135.232

"Re(2):Cool flying gibs... how !?! (in Edge)" , posted Tue 23 Jan 15:04user profileedit/delete messagepost reply


Fanatic:

I know that "CORPSE" makes an object dead. But what does it do exactly because it is in attacks.ddf as well (at least it works there)?

How would I make an attack fire two smaller attacks while travelling that will not target anything as soon as they are launched. I am making a fireball that shoots smaller fireballs directly to tth left and right and it keeps aiming for the player every time they launch (which is a bad thing in this case, they are supposed to go left and right so they will catch the player as he's trying to evade).

I already know how to make it fire left&right, but don't know how to make the damn thing keep firing straight left and right (the attacks rotate and it has an odd effect).

And why do sprites not fire the right way when you define accuracy variables greater than 90? (ie, accuracy_angle=90; accuracy_slope=90; - half of a sphere), they tend to go straight up at tremendous speed for some reason.

Experiment a little with the logic center of your brain before a zombie eats it.

 

 

Fanatic

marcpullen@mindspring.com
209.86.131.222

"Re(3):Cool flying gibs... how !?! (in Edge)" , posted Tue 23 Jan 15:22user profileedit/delete messagepost reply


CORPSE shouldn't be used anywhere but in THINGS.DDF. It doesn't do anything anywhere else (and should error actually).

CORPSE just makes a thing not block (you can walk right over or thru it).

The EDGE DDF and the QDOOM DDF don't have any CORPSE entries in anything but THINGS.DDF. Not sure where you are seeing it.

For the multiple attack, you might try a normal projectile attack for your main attack, and a spreader (like the Mancubus attack) for the other two. See if that works for you.

The accuracy values are angles, so you are telling it to fire at a 90 degree angle. Typical values are usually less than 20 degrees.

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

 

 

sirgalahadwizar



sirgalahadwizard@hotmail.com
45229070
131.230.139.150

"Re(4):Cool flying gibs... how !?! (in Edge)" , posted Fri 26 Jan 06:26user profileedit/delete messagepost reply


Thanks, I may be mistaken when it comes to the corpse bit, I copied the blood entry out of things and put it in attacks, I probably only copied the frames data.

My freball attack is supposed to continiously shoot fire directly to the left and right, but when firedat the player, and the player strafes out of the way, the "line" of fireballs is rotated (so that the line faces the player), and doesn't ever seem to hit him. To explain more clearly:

| - left/rightfireball
O - main fireball
--> direction

|
|
|
|
|
O -->
|
|
|
|
|


don't know how well that turned out.

The most explainable real example is that of a special attack a character from shadow warrior uses (some shadow ninja dude who casts lots of flame spells).

It is designed to catch the player if he tries to simply strafe (in effect shooting him a few times in the side).

Does the spreader attack lock onto a target once and not deviate from that trajectory in later attacks? (ie, will further fireballs try to face the player or will they keep firing in the direction the first one tried to fire in?, until a reset_spreader is called [which wont be used]).

I have set the angle_offset to 90 degrees and 270 degrees for the two fireball attacks.

My original trial used one preojectile that spawns two other projectiles while in it's idle state:
states(idle)=bal3:b:4:bright:nothing,
bal3:a:0:bright:spare_attack(flamer_left),
bal3:a:4:bright:spare_attack,
bal3:b:0:bright:spare_attack(flamer_left),
bal3:b:4:bright:spare_attack,#idle:2;

Experiment a little with the logic center of your brain before a zombie eats it.

 

 

Fanatic

marcpullen@mindspring.com
209.86.78.183

"Re(5):Cool flying gibs... how !?! (in Edge)" , posted Sun 28 Jan 07:57user profileedit/delete messagepost reply


The spreader attack works like all other projectiles. It just fires two projectiles at the same time spread apart by an angle.

Check the MANCUBUS entries for the examples.

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