Classes:ColorSetter
Sets the containing sector's light color using the values specified by its arguments:
Arg1: Red Arg2: Green Arg3: Blue Arg4: Desaturation
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
Color setter | |||
---|---|---|---|
Actor type | Map spot | Game | ![]() |
DoomEd Number | 9038 | Class Name | ColorSetter |
Classes: ColorSetter
This thing changes the light color of the sector it is placed in. By default, sectors have white light (red, green, blue are all 255). You can use the testcolor console command to test a color from within the game.
The 4th argument specifies how much the colors in the sector are desaturated. 0 means no desaturation at all resulting in normal colors. 255 means full desaturation, resulting in a colorized black and white display.
DECORATE definition
ACTOR ColorSetter native { +NOBLOCKMAP +NOGRAVITY +DONTSPLASH RenderStyle None }
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.