XML:ONLD: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(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...")
 
m (putting nav header parameters in more logical order)
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{XML_File_Header | prev=ONGS | type=ONLD | 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 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 AE/AEInstaller/vanilla/level0_Final.dat).
|}
* The name of Chapter 1, "Syndicate Warehouse", is hardcoded for some reason and ignores the ONLD's string.
 
* Limitations:
 
** Levels 0-31 - the level and its savepoints show up in the Load Game list
'''general information'''
** Levels 32-63? - the level name shows up, but no savepoints
* ONLD files are stored globally (in edition/GameDataFolder/level0_...)
** Levels 64-127? - nothing shows up, but the level is playable if you start from a lower level
* levels 0-31 - level and savegame show on list
** Levels 128+ - not possible
* levels 32-63? - level name shows up, but no savegames
* When a level is beaten, the next level is picked numerically (not based off <NextLevelNumber>). The game ends if no level follows after level 19, otherwise the last level gets reloaded.
* 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
==Example==
ONLDlevel_01.xml:
  <?xml version="1.0" encoding="utf-8"?>
  <?xml version="1.0" encoding="utf-8"?>
  <Oni>
  <Oni>
Line 27: Line 23:
  </Oni>
  </Oni>


 
==XML tags==
'''XML tags'''
 
{|class="wikitable" width="100%"
{|class="wikitable" width="100%"
|width=120px| <LevelNumber>
|width=120px| <LevelNumber>
|width=60px| integer
|width=60px| integer
| level number (defines level order, lowest number comes first)
| level number (determines level order)
|-
|-
| <NextLevelNumber>
| <NextLevelNumber>
Line 41: Line 35:
| <DisplayName>
| <DisplayName>
| char[64]
| char[64]
| Name that gets displayed in the savegame menu  
| name that gets displayed in the Load Game menu  
|}
|}
{{XML}}

Revision as of 19:17, 27 March 2021

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 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).
  • The name of Chapter 1, "Syndicate Warehouse", is hardcoded for some reason and ignores the ONLD's string.
  • Limitations:
    • Levels 0-31 - the level and its savepoints show up in the Load Game list
    • Levels 32-63? - the level name shows up, but no savepoints
    • Levels 64-127? - nothing shows up, but the level is playable if you start from a lower level
    • Levels 128+ - not possible
  • When a level is beaten, the next level is picked numerically (not based off <NextLevelNumber>). The game ends if no level follows after level 19, otherwise 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 (determines level order)
<NextLevelNumber> integer ignored
<DisplayName> char[64] name that gets displayed in the Load Game menu