Classes:SkyPicker
The sky picker is used to choose which skybox to use in a sector. It takes 2 arguments.
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
Sky picker | |||
---|---|---|---|
Actor type | Map spot | Game | ![]() |
DoomEd Number | 9081 | Class Name | SkyPicker |
Classes: SkyPicker
The first argument is the tid of the SkyViewpoint. If this argument is zero, then the sector will use the default normal sky texture (as defined in MAPINFO) rather than one of the level's skybox. If it is not zero, the SkyViewpoint with the corresponding tid will be used.
The second argument has 3 options:
- 0: Apply the skybox on both floor and ceiling (if both use the F_SKY1 flat)
- 1: Apply the skybox only to the ceiling
- 2: Apply the skybox only to the floor
This way it is possible to place two sky pickers in a single sector, one to chose a skybox for the floor and the other to chose a skybox for the ceiling.
DECORATE definition
ACTOR SkyPicker native { +NOSECTOR +NOBLOCKMAP +NOGRAVITY +DONTSPLASH }
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.