XML:ONLD: Difference between revisions

From OniGalore
mNo edit summary
m (Edition -> AE)
Line 3: Line 3:
===general information===
===general information===
* The xml code on this page is compatible with onisplit '''v0.9.61.0'''
* 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_'''...)
* ONLD files are '''global''' (they are stored in AE/AEInstaller/vanilla/level0_Final.dat)
* limitations:
* limitations:
** levels 0-31 - level and savegame show on list
** levels 0-31 - level and savegame show on list

Revision as of 13:15, 18 April 2013

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 AE/AEInstaller/vanilla/level0_Final.dat)
  • 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