hmm, custom states

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: hmm, custom states

by Sphagne » Sun Jul 24, 2005 4:48 pm

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. :?

by ant1991331 » Sat Jul 23, 2005 11:00 pm

YES! this forum ROCKS!!!

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

by Talonos » Sat Jul 23, 2005 4:44 pm

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.

by Nmn » Sat Jul 23, 2005 1:33 pm

cutmanmike wrote:
Nmn wrote::shucks:
die
omg, dieguy!

by Cutmanmike » Sat Jul 23, 2005 1:02 pm

Nmn wrote::shucks:
die

by Gendo » Sat Jul 23, 2005 12:31 pm

i don't understand what you mean. please explain.

by Nmn » Sat Jul 23, 2005 8:19 am

And what do we need the programmers and modifications to the exe then? :shucks:

hmm, custom states

by ant1991331 » Sat Jul 23, 2005 5:45 am

id say you should be able to make custom states, like for custom deaths and stuff :)

Top