XML:ONCV

From OniGalore
Revision as of 11:49, 7 August 2011 by Paradox-01 (talk | contribs)
Jump to navigation Jump to search

ONCV: character variant

Template:XMLModdingHints

general information

  • ONCV*.oni are global. (It can be found in edition/GameDataFolder/level0_... )
  • Characters with only one costume should use ONCVany.
  • This file is used to create random characters and harder character variants on game difficulty level hard. It is also used by OBD:BINA/SABD to indentify which character a set of animation sounds applies to.
Every character in BINACJBOCharacter can have a flag for shapeshifting* into a random** ONCC.
This doesn't effect BINACJBOCharacter properties: the character will keep his/her name, melee profile, drop items, etc..
* The XML flag is named "RandomCostume" and must be set in CHAR.
** The actual ONCC is chosen from all ONCC linking to the ONCV (It's like they create a pool for randomness.)


example

Motoko is her own character class, and doesn't change her appearance on difficulty level "hard".

<?xml version="1.0" encoding="utf-8"?>
<Oni Version="0.9.27.0">
   <Instance id="0" type="ONCV" name="motoko">
       <ParentVariant>ONCVany</ParentVariant>
       <CharacterClass>motoko</CharacterClass>
       <CharacterClassHard></CharacterClassHard>
   </Instance>
</Oni>