XML:ONLD: Difference between revisions
Jump to navigation
Jump to search
m (copy-edit) |
m (link fix) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{XML_File_Header | type=ONLD | {{XML_File_Header | prev=ONGS | type=ONLD | next=ONLV | name=Oni Game Level Descriptor}} | ||
==General information== | ==General information== | ||
* The XML on this page is compatible with OniSplit '''v0.9.61.0'''. | * The XML on this page is compatible with OniSplit '''v0.9.61.0'''. | ||
* ONLD files are '''global''' (they are stored in AE/AEInstaller/vanilla/level0_Final.dat). | * ONLD files are '''global''' (they are stored in AE/AEInstaller/vanilla/level0_Final.dat). | ||
* The name of Chapter 1, "Syndicate Warehouse", is hardcoded for | * The name of Chapter 1, "Syndicate Warehouse", is hardcoded into the game. This is due to the hasty insertion of {{C0}} into the game at the end of development, which was accomplished by adding the training space into the same level data files used for {{C1}}. Since only one level name could be used for both chapters, Bungie West chose "TCTF Training", as seen in the sample ONLD below, and hardcoded the name for Chapter 1. | ||
* The words "Save Point" seen on the Load Game screen are also hardcoded into Oni. Localizers of the game had to hack or recompile the game application in order to translate "Save Point" and "Syndicate Warehouse" into their target language. | |||
* Limitations: | * Limitations: | ||
** Levels 0-31 - the level and its | ** Levels 0-31 - the level and its save points will show up in the Load Game list | ||
** Levels 32-63? - the level name | ** Levels 32-63? - the level name will appear, but none of its save points | ||
** Levels 64-127? - nothing | ** Levels 64-127? - nothing will show up, but the level will be reachable if you start from a lower level | ||
** Levels 128+ - not possible | ** Levels 128+ - not possible | ||
* When a level is beaten, the next level is picked numerically (not based off <NextLevelNumber>). The game ends if no level | * When a level is beaten, the next level is picked numerically (not based off <NextLevelNumber>). | ||
** The game always ends when level 19 is beaten, even if [[Creating a level#Fan-made levels|additional levels installed as mods]] have higher level numbers. | |||
** Beating a level which is numbered after 19 will cause Oni to look for the next level number. | |||
** If there is no higher-numbered level when a level above 19 is beaten, the game will reload the same level. | |||
==Example== | ==Example== | ||
Line 27: | Line 31: | ||
|width=120px| <LevelNumber> | |width=120px| <LevelNumber> | ||
|width=60px| integer | |width=60px| integer | ||
| | | Level number (determines level order) | ||
|- | |- | ||
| <NextLevelNumber> | | <NextLevelNumber> | ||
| integer | | integer | ||
| | | Ignored | ||
|- | |- | ||
| <DisplayName> | | <DisplayName> | ||
| char[64] | | char[64] | ||
| | | Name that gets displayed in the Load Game menu | ||
|} | |} | ||
{{XML}} | {{XML}} |
Latest revision as of 01:19, 20 November 2023
ONLD : Oni Game Level Descriptor | ||
---|---|---|
XML
ONGS << Other file types >> ONLV |
General information
- The XML on this page is compatible with OniSplit v0.9.61.0.
- ONLD files are global (they are stored in AE/AEInstaller/vanilla/level0_Final.dat).
- The name of Chapter 1, "Syndicate Warehouse", is hardcoded into the game. This is due to the hasty insertion of CHAPTER 00 . COMBAT TRAINING into the game at the end of development, which was accomplished by adding the training space into the same level data files used for CHAPTER 01 . TRIAL RUN. Since only one level name could be used for both chapters, Bungie West chose "TCTF Training", as seen in the sample ONLD below, and hardcoded the name for Chapter 1.
- The words "Save Point" seen on the Load Game screen are also hardcoded into Oni. Localizers of the game had to hack or recompile the game application in order to translate "Save Point" and "Syndicate Warehouse" into their target language.
- Limitations:
- Levels 0-31 - the level and its save points will show up in the Load Game list
- Levels 32-63? - the level name will appear, but none of its save points
- Levels 64-127? - nothing will show up, but the level will be reachable if you start from a lower level
- Levels 128+ - not possible
- When a level is beaten, the next level is picked numerically (not based off <NextLevelNumber>).
- The game always ends when level 19 is beaten, even if additional levels installed as mods have higher level numbers.
- Beating a level which is numbered after 19 will cause Oni to look for the next level number.
- If there is no higher-numbered level when a level above 19 is beaten, the game will reload the same level.
Example
ONLDlevel_01.xml:
<?xml version="1.0" encoding="utf-8"?> <Oni> <ONLD id="0"> <LevelNumber>1</LevelNumber> <NextLevelNumber>2</NextLevelNumber> <DisplayName>TCTF Training</DisplayName> </ONLD> </Oni>
XML tags
<LevelNumber> | integer | Level number (determines level order) |
<NextLevelNumber> | integer | Ignored |
<DisplayName> | char[64] | Name that gets displayed in the Load Game menu |