XML:ONLD

From OniGalore
Jump to navigation Jump to search
ONLD : Oni Game Level Descriptor
XML modding tips
  • See HERE to start learning about XML modding.
  • See HERE if you are searching for information on how to handle object coordinates.
  • See HERE for some typical modding errors and their causes.
XML.png
XML

ONGS << Other file types >> ONLV

switch to OBD page

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