XML:ONVL: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (Edition -> AE)
m (putting nav header parameters in more logical order)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{XML_File_Header | type=ONVL | prev=ONSK | next=ONWC | name=Oni Variant List }}
{{XML_File_Header | prev=ONSK | type=ONVL | next=ONWC | name=Oni Variant List}}


===general information===
==General information==
* The xml code on this page is compatible with onisplit '''v0.9.61.0'''
* The XML on this page is compatible with OniSplit '''v0.9.61.0'''.
* '''ONVLvariant_list.oni''' is global. (It can be found in AE/GameDataFolder/level0_... )
* '''ONVLvariant_list.oni''' is global (it can be found in AE/AEInstaller/vanilla/level0_Final.dat).
* See also '''[[XML:ONCV|ONCV]]''' for more information.
* See also [[XML:ONCV]] for more information.
* <u>You can't produce a list which contains a placeholder</u>. ONVL is checking all its links at game start, Oni will crash if a ONCV is missing.
* <u>You can't use a dummy entry in this list.</u> Oni checks all its ONVL links at game start and 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.
* Create new ONCVs and add them to the ONVL if you want to create a pool of randomized appearances for a character, or when you want to change which variant of the character spawns on the Hard difficulty level.
 
 
'''example'''


==Example==
  <?xml version="1.0" encoding="utf-8"?>
  <?xml version="1.0" encoding="utf-8"?>
  <Oni>
  <Oni>
Line 23: Line 21:
  </Oni>
  </Oni>


==Tags==
{| class="wikitable" width="100%"
{| class="wikitable" width="100%"
!width=100px | XML tag
!width=100px | XML tag
!width=100px| content type
!width=100px| Content type
! description
! Description
|-
|-
|valign=top| <Link>
|valign=top| <Link>

Revision as of 19:18, 27 March 2021

ONVL : Oni Variant List
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

ONSK << Other file types >> ONWC

switch to OBD page

General information

  • The XML on this page is compatible with OniSplit v0.9.61.0.
  • ONVLvariant_list.oni is global (it can be found in AE/AEInstaller/vanilla/level0_Final.dat).
  • See also XML:ONCV for more information.
  • You can't use a dummy entry in this list. Oni checks all its ONVL links at game start and will crash if a ONCV is missing.
  • Create new ONCVs and add them to the ONVL if you want to create a pool of randomized appearances for a character, or when you want to change which variant of the character spawns on the Hard difficulty level.

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>

Tags

XML tag Content type Description
<Link> link ONCVname (file suffix .oni not used)