Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can use GetSkyBox and SetSkyBox to change them whenever you like, which accept lines from this 2da (noting the last one - Black - is not actually defined in nwscript.nss).

2da Columns

ColumnExample ContentsValid ValuesDescription and Notes
LABELGrass_ClearText

Human readable name. This is used in the toolset when the STRING_REF column is blank.

For some reason Bioware didn't make use of quotes, which are entirely valid (eg: having "Desert, Clear" instead of Desert_Clear works fine). Only used in the toolset, unused in game.

STRING_REF****TLK number or ****Used to display a localised string reference name from a TLK file. If blank uses the LABEL column in the toolset. Only used in the toolset, unused in game.
CYCLICAL1

1 - Cyclical

0 - Not cyclical

If the skybox is cyclical or not. This needs documenting if you know what it does.

DAWN

DAY

DUSK

NIGHT

Skyda_001MDL file name

This is the model to display as the skybox for that period of time. The Dawn Start Hour and Dusk Start Hour determine some of the timings of this. Additionally there is no nice faded transition, the new model simply pops into existence.

Skybox models themselves are centred on the player, and fairly large with a usually highly detailed texture (or multiple textures) on them.

To make a new skybox simply with a new texture, you could edit an existing skybox and alter the bitmap field to point at a new texture.

2da Contents

Code Block
titleskyboxes.2da
collapsetrue
2DA V2.0

    LABEL           STRING_REF  CYCLICAL    DAWN        DAY         DUSK        NIGHT

0   None            ****        ****        ****        ****        ****        ****
1   Grass_Clear     ****        1           Skyda_001   Sky_001     Skyd_001    Skyn_001
2   Grass_Storm	    ****        1           SSkyda_001  SSky_001    SSkyd_001   SSkyn_001
3   Desert_Clear    ****        1           DSkyda_001  DSky_001    DSkyd_001   DSkyn_001
4   Winter_Clear    ****        1           WSkyda_001  WSky_001    WSkyd_001   WSkyn_001
5   Icy             ****        1           ISkyda_001  ISky_001    ISkyd_001   ISkyn_001
6   Black           ****        0           Skybl_001   Skybl_001   Skybl_001   Skybl_001

...