XML:ONLD

From OniGalore
Revision as of 18:36, 4 November 2012 by Paradox-01 (talk | contribs) (Created page with " {{Template:XMLModdingHints}} {| border=0 cellspacing=20 cellpadding=0 style="margin-left:auto; margin-right:auto" | The xml code on this page is compatible with onisplit '''v...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:XMLModdingHints

The xml code on this page is compatible with onisplit v0.9.61.0


general information

  • ONLD files are stored globally (in edition/GameDataFolder/level0_...)
  • 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