Skybox (DEF): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
{| cellpadding="0" cellspacing="0" border="0" | {| cellpadding="0" cellspacing="0" border="0" | ||
| valign="top" | | | valign="top" | | ||
'''front''' <filename><br /> | '''front''' <filename><br />'''right''' <filename><br />'''back''' <filename><br />'''left''' <filename><br />'''top''' <filename><br />'''down''' <filename> | ||
'''right''' <filename><br /> | |||
'''back''' <filename><br /> | |||
'''left''' <filename><br /> | |||
'''top''' <filename><br /> | |||
'''down''' <filename> | |||
| width="20px" | | | width="20px" | | ||
| valign="top" | | | valign="top" | | ||
(or '''ft''' / '''forward''' )<br /> | (or '''ft''' / '''forward''' )<br />(or '''rt''' / '''right''' )<br />(or '''bk''' / '''back''' )<br />(or '''lf''' / '''left''' / '''lt''' )<br />(or '''up''' / '''ceiling''' / '''ceil''' )<br />(or '''dn''' / '''floor''' / '''bottom''') | ||
(or '''rt''' / '''right''' )<br /> | |||
(or '''bk''' / '''back''' )<br /> | |||
(or '''lf''' / '''left''' / '''lt''' )<br /> | |||
(or '''up''' / '''ceiling''' / '''ceil''' )<br /> | |||
(or '''dn''' / '''floor''' / '''bottom''') | |||
|- | |- | ||
|} | |} |
Revision as of 06:51, 21 February 2020
skybox { [...] }
Defines a skybox that overrides a parallaxing floor or ceiling in OpenGL rendering modes.
NOTE: All six faces are required to be specified.
Tokens
tile <tilenum>
Specifies the ART file tile to override.
pal <palnum>
Specifies the palette number the skybox should happen for.
front <filename> |
(or ft / forward ) |
Defines a single face of the skybox where facename may be any of these keywords appropriate for the face in question.
Examples
Example:
skybox { tile 3586 pal 0 front "mymod/sky_1.png" nocompress right "mymod/sky_2.png" nocompress back "mymod/sky_3.png" nocompress left "mymod/sky_4.png" nocompress top "mymod/sky_5.png" nocompress down "mymod/sky_6.png" nocompress }