How to make objects change color in srb2.

Status
Not open for further replies.

TelosTurntable

How the turns have tel- tab-
Well, I happen to wonder how to make objects change color. Through SOC. I tried using A_ChangeColorAbsolute, but it didn't work on a custom object I made.
The syntax are:
State:
FRAME S_BLAKEAIRDASHFOG1
SpriteName = BSTF
SpriteFrame = E
Duration = 2
Action = A_ChangeColorAbsolute
var1 = 0
var2 = 1
Next = S_BLAKEAIRDASHFOG2

Obj:
Thing MT_BLAKEAIRDASHFOG
MAPTHINGNUM = -1
SPAWNSTATE = S_BLAKEAIRDASHFOG1
SPAWNHEALTH = 1000
SEESTATE = 0
SEESOUND = 0
REACTIONTIME = 8
ATTACKSOUND = 0
PAINSTATE = 0
PAINCHANCE = 0
PAINSOUND = 0
MELEESTATE = 0
MISSILESTATE = 0
DEATHSTATE = 0
DEATHSOUND = 0
XDEATHSTATE = 0
SPEED = 0
RADIUS = 262144
HEIGHT = 262144
MASS = 100
DAMAGE = 0
ACTIVESOUND = 0
RAISESTATE = 0
FLAGS = MF_NOBLOCKMAP|MF_NOGRAVITY|MF_NOCLIP|MF_NOCLIPHEIGHT|MT_TRANSITION
... help?
 
Oh yes, that's right. Thanks SpiritCrusher.
.. Jesus I should fix that space.
Edit: Huh. Just added that space when posting this on accident.
 
Also, "MF_TRANSITION" doesn't exist, and never did. =V

If you mean MF_TRANSLATION, that doesn't exist anymore either, it wasn't needed anyway.
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top