Classes:SkyPicker

From ZDoom Wiki

Jump to: navigation, search
Sky picker
Actor type Map spot Game
DoomEd Number 9081 Class Name SkyPicker

Classes: SkyPicker

The sky picker is used to chose which skybox to use in a sector. If its TID 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 sky viewpoint takes one argument: use.

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 9081 native
{
  +NOSECTOR
  +NOBLOCKMAP
  +NOGRAVITY
  +DONTSPLASH
}
Personal tools