Page 1 of 1

hmm, custom states

PostPosted: Sat Jul 23, 2005 5:45 am
by ant1991331
id say you should be able to make custom states, like for custom deaths and stuff :)

PostPosted: Sat Jul 23, 2005 8:19 am
by Nmn
And what do we need the programmers and modifications to the exe then? :shucks:

PostPosted: Sat Jul 23, 2005 12:31 pm
by Gendo
i don't understand what you mean. please explain.

PostPosted: Sat Jul 23, 2005 1:02 pm
by Cutmanmike
Nmn wrote::shucks:


die

PostPosted: Sat Jul 23, 2005 1:33 pm
by Nmn
cutmanmike wrote:
Nmn wrote::shucks:


die

omg, dieguy!

PostPosted: Sat Jul 23, 2005 4:44 pm
by Talonos
I know I'd like custon states.

Like, I have a monster:
Code: Select allExpand view
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 allExpand view
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 allExpand view
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.

PostPosted: Sat Jul 23, 2005 5:26 pm
by Nash

PostPosted: Sat Jul 23, 2005 11:00 pm
by ant1991331
YES! this forum ROCKS!!!

PostPosted: Sun Jul 24, 2005 4:48 pm
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. :?