XML:ONVL: 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...")
(No difference)

Revision as of 18:46, 4 November 2012

Template:XMLModdingHints

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

general information

  • ONVLvariant_list.oni is global. (It can be found in edition/GameDataFolder/level0_... )
  • See also ONCV for more information.
  • You can't produce a list which contains a placeholder. ONVL is checking all its links at game start, Oni will crash if a ONCV is missing.
  • Create new ONCVs and add them to ONVL if you want to create groups for random designs or when you want to change character spawning on game difficulty level hard.


example

<?xml version="1.0" encoding="utf-8"?>
<Oni>
   <ONVL id="0">
       <Variants>
           <Link>ONCVany</Link>
           <Link>ONCVcomguy</Link>
           [...]
           <Link>ONCVblackops_swat</Link>
       </Variants>
   </ONVL>
</Oni>
XML tag content type description
<Link> link ONCVname (file suffix .oni not used)