hmm, custom states

Moderator: GZDoom Developers

Post Reply
ant1991331
Posts: 598
Joined: Fri Jun 24, 2005 3:19 am
Location: Makin tracks with jetboots

hmm, custom states

Post by ant1991331 »

id say you should be able to make custom states, like for custom deaths and stuff :)
User avatar
Nmn
Posts: 4629
Joined: Fri Apr 16, 2004 1:41 pm
Preferred Pronouns: He/Him
Contact:

Post by Nmn »

And what do we need the programmers and modifications to the exe then? :shucks:
User avatar
Gendo
Posts: 197
Joined: Thu Jun 02, 2005 5:09 pm

Post by Gendo »

i don't understand what you mean. please explain.
User avatar
Cutmanmike
Posts: 11335
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom
Contact:

Post by Cutmanmike »

Nmn wrote::shucks:
die
User avatar
Nmn
Posts: 4629
Joined: Fri Apr 16, 2004 1:41 pm
Preferred Pronouns: He/Him
Contact:

Post by Nmn »

cutmanmike wrote:
Nmn wrote::shucks:
die
omg, dieguy!
User avatar
Talonos
Posts: 789
Joined: Mon May 03, 2004 7:08 am
Location: At college!

Post by Talonos »

I know I'd like custon states.

Like, I have a monster:

Code: Select all

Missile:
 MAG1 E 7 A_FaceTarget
 MAG1 E 1 A_Jump (64,4)
 MAG1 E 1 A_Jump (85,4)
 MAG1 E 1 A_Jump (128,4)
 MAG1 F 1 A_CustomMissile ("RayOfFrost", 28, 0, 0) 
 Goto See
 MAG1 F 1 A_CustomMissile ("AcidSplash", 28, 0, 0) 
 Goto See
 MAG1 F 8 A_CustomMissile ("BurningHands", 28, 0, 0) 
 Goto See
 MAG1 F 8 A_CustomMissile ("MagicM", 28, 0, -45) 
 Goto See
It would be a lot more readable like this:

Code: Select all

Missile:
 MAG1 E 7 A_FaceTarget
 MAG1 E 1 A_JumpState (64,Acidsplash)
 MAG1 E 1 A_JumpState (85,Burninghands)
 MAG1 E 1 A_JumpState (128,MagicMissile)
 MAG1 F 1 A_CustomMissile ("RayOfFrost", 28, 0, 0) 
 Goto See
Acidsplash:
 MAG1 F 1 A_CustomMissile ("AcidSplash", 28, 0, 0) 
 Goto See
Burninghands:
 MAG1 F 8 A_CustomMissile ("BurningHands", 28, 0, 0) 
 Goto See
MagicMissile:
 MAG1 F 8 A_CustomMissile ("MagicM", 28, 0, -45) 
 Goto See
That way, a monster with tons of attacks (I once had a monster with ten attacks; it was a real pain to put in the jumps) could be broken down into manegeble chunks.

Also, custom death states could be useful. Like, a projectile could have

Code: Select all

DEATHTYPE "AcidDeath"
on it. When the decorate code reader thingy sees this on a projectile that kills something, it looks for a state called AcidDeath on the dying actor. If It doesn't see it, it just goes to the normal death sequence.

If these "Custom states" things work, it would be cool. If not, please tell me and then forget I asked.
User avatar
Nash
 
 
Posts: 17439
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

ant1991331
Posts: 598
Joined: Fri Jun 24, 2005 3:19 am
Location: Makin tracks with jetboots

Post by ant1991331 »

YES! this forum ROCKS!!!
User avatar
Sphagne
Posts: 513
Joined: Wed Jul 16, 2003 3:36 am

Post by Sphagne »

Great at last.

How many time I should find out that one of my old requests has been finally implemented and I did not know about it. :?
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”