XML:ONSK: Difference between revisions
Jump to navigation
Jump to search
m (putting nav header parameters in more logical order) |
m (clarifying that there's no bottom in the skybox TXMP) |
||
Line 5: | Line 5: | ||
* The XML on this page is based on OniSplit '''v0.9.61.0'''. | * The XML on this page is based on OniSplit '''v0.9.61.0'''. | ||
* ONSK*.oni files are '''global''' (they can be found in AE/AEInstaller/vanilla/level0_Final.dat). | * ONSK*.oni files are '''global''' (they can be found in AE/AEInstaller/vanilla/level0_Final.dat). | ||
* | * A skybox is basically a cube with a TXMP that has regions intended for each side – except that the there's no need for a bottom face to the cube since it will never be seen. | ||
* There are 4 original ONSK files: | * There are 4 original ONSK files: | ||
** afternoon (level 1) | ** afternoon (level 1) |
Latest revision as of 14:27, 17 October 2021
ONSK : Oni Sky Class | ||
---|---|---|
XML
ONLV << Other file types >> ONVL |
General information
- The XML on this page is based on OniSplit v0.9.61.0.
- ONSK*.oni files are global (they can be found in AE/AEInstaller/vanilla/level0_Final.dat).
- A skybox is basically a cube with a TXMP that has regions intended for each side – except that the there's no need for a bottom face to the cube since it will never be seen.
- There are 4 original ONSK files:
- afternoon (level 1)
- sunset (level 2 and 3)
- crapsky (level 19)
- night (all the other levels except level 13, which has no ONSK)
Tags
XML tag | Content type | Description |
---|---|---|
<ONSK id="..."> | integer | Instance ID |
<SkyboxTextures> | - | Holds 6 <Link> tags, but the 6th tag isn't used. Image order:
To make a long story short, nothing in the resource after this tag is used. |
<Link> | link | TXMPfile_name.oni (file suffix .oni not used) |
<Planets> | - | Holds 8 <Link> tags. The planets can be displayed using the specified textures, sizes and positions. Unfortunately the code is unfinished and they're not occluded by anything. |
<Link> | link | TXMPfile_name.oni (file suffix .oni not used) |
<SunFlare> | link | TXMPfile_name.oni (file suffix .oni not used) |
<Stars> | - | Holds 5 <Link> tags |
<Link> | link | TXMPfile_name.oni (file suffix .oni not used) |
<PlanetCount> | integer | Number of used planets |
<NoSunFlare> | integer | For the first "planet" an optional "flare" can be drawn. It does not appear to work correctly, and since planets don't display correctly the flare is not of much use.
|
<PlanetWidths> | - | |
<Float> | float | |
<PlanetHeights> | - | |
<Float> | float | |
<PlanetElevations> | - | |
<Float> | float | Elevation in radians |
<PlanetAzimuths> | - | |
<Float> | float | Azimuth in radians |
<SunFlareSize> | float | |
<SunFlareIntensity> | float | 1.0 = 100%? |
<StarCount> | integer | A fixed number of stars can be displayed at random positions in the sky. Doesn't appear to work; the stars are not visible, and the game crashes when the level ends. |
<RandomSeed> | integer | Random seed for star generation. |
<Offset_00F0> | integer | Unknown |
Infamous bug
In some Windows Oni installations, the edges of the skybox cube are visible as thin black lines. Hopefully we will have a public release of the skybox fixes one day.
Here's 2 examples of the bug showing up and not showing up:
Skybox bug Operating system Main board Processor Graphics card yes Windows 7 Home Premium M5A99X EVO AMD Phenom II X6 1055T AMD Radeon HD 7970 no Windows 7 Home Premium - (laptop) Intel Core i5 2467M Intel HD Graphics Family (Revision 9)
Beta fix
Change date 15.07.2014
- The ZIP contains also the Oni.exe and binkw32.dll to use in tandem with it.
Known issues:
- Doesn't work with the Daodan DLL
- Problems with lensflares
- Problems with sorting transparencies