Expose colorization to mappers and SOC
Loading
This is an attempt to make the colorize
mobj_t setting accessible to mappers and people who make use of SOC actions. I'd mark it as a WIP but as far as my knowledge goes this is pretty much all I think I should do so I appreciate corrections and suggestions
A_Dye
var1
being non-zero will color the actor's target instead of the actor themselves.
var2
specified the SKINCOLOR_
value to color the target or actor. SKINCOLOR_NONE
or 0
will remove the dye.
This linedef executor will dye players or pushables that trigger it. The color to dye the triggering player or pushable must be specified along the upper textures' names, though the constant's value will also work.
334 - Continuous / 335 - Each Time / 336 - Once
These linedef types will run its respective executors when a player or a pushable dyed a specific color triggers them. The desired color is specified in the same way as type 436. Giving the linedef the Not Climbable flag will invert the linedef's triggering conditions: it will only be triggered if the player or pushable is dyed any color except the one specified, non-dyed included.