XML:ONLD

From OniGalore
Revision as of 14:56, 15 November 2012 by Paradox-01 (talk | contribs)
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 code on this page is compatible with onisplit v0.9.61.0
  • ONLD files are global (they are stored in edition/GameDataFolder/level0_...)
  • limitations:
    • levels 0-31 - level and savegame show on list
    • levels 32-63? - level name shows up, but no savegames
    • levels 64-127? - nothing shows up, but is playable if you start from a lower level, or (theoretically) you make a level load call from the Daodan (not yet implemented)
    • levels-128+ - not possible
  • the game ends if no level follows after level 19, elsewise the last level gets reloaded


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 (defines level order, lowest number comes first)
<NextLevelNumber> integer ignored
<DisplayName> char[64] Name that gets displayed in the savegame menu