XML:ONLD: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(+ temp + cat)
m (Edition -> AE)
(One intermediate revision by one other user not shown)
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 stored globally (in edition/GameDataFolder/level0_...)
* ONLD files are '''global''' (they are stored in AE/AEInstaller/vanilla/level0_Final.dat)
* levels 0-31 - level and savegame show on list
* limitations:
* levels 32-63? - level name shows up, but no savegames
** levels 0-31 - level and savegame show on list
* 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 32-63? - level name shows up, but no savegames
* levels-128+ - not possible
** 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
* the game ends if no level follows after level 19, elsewise the last level gets reloaded



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