XML:ONLD: Difference between revisions

From OniGalore
(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...")
 
(+ temp + cat)
Line 1: Line 1:
{{XML_File_Header | type=ONLD | prev=ONGS | next=ONLV | name=Oni Game Level Descriptor }}


{{Template:XMLModdingHints}}
===general information===
{| border=0 cellspacing=20 cellpadding=0 style="margin-left:auto; margin-right:auto"
* 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'''
|}
 
 
'''general information'''
* ONLD files are stored globally (in edition/GameDataFolder/level0_...)
* ONLD files are stored globally (in edition/GameDataFolder/level0_...)
* levels 0-31 - level and savegame show on list
* levels 0-31 - level and savegame show on list
Line 28: Line 24:




'''XML tags'''
===XML tags===
 
{|class="wikitable" width="100%"
{|class="wikitable" width="100%"
|width=120px| <LevelNumber>
|width=120px| <LevelNumber>
Line 43: Line 38:
| Name that gets displayed in the savegame menu  
| Name that gets displayed in the savegame menu  
|}
|}
{{XML}}

Revision as of 13:55, 9 November 2012

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 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