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...")
 
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=ONSK | type=ONVL | next=ONWC | name=Oni Variant List}}


{{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'''
* '''ONVLvariant_list.oni''' is global (it can be found in AE/AEInstaller/vanilla/level0_Final.dat).
|}
* See also [[XML:ONCV]] for more information.
 
* <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.
'''general information'''
* 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.
* '''ONVLvariant_list.oni''' is global. (It can be found in edition/GameDataFolder/level0_... )
* See also '''[[OBD_talk:ONCV|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.
* 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'''


==Example==
  <?xml version="1.0" encoding="utf-8"?>
  <?xml version="1.0" encoding="utf-8"?>
  <Oni>
  <Oni>
Line 26: 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>
Line 35: Line 31:
| ONCV''name'' (file suffix .oni not used)
| ONCV''name'' (file suffix .oni not used)
|}
|}
{{XML}}

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)