XML:ONCV: Difference between revisions

From OniGalore
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:


{{Template:XMLModdingHints}}
{{Template:XMLModdingHints}}
{| border=0 cellspacing=20 cellpadding=0 align=center
| The xml code on this page is based on onisplit '''v0.9.61.0'''
|}


'''general information'''
'''general information'''


* '''ONCV*.oni''' are global. (It can be found in edition/GameDataFolder/level0_... )
* '''ONCV*.oni''' are global. (It can be found in edition/GameDataFolder/level0_... )
* Characters with only one costume should use ONCVany.
* New characters with only one costume should use ONCVany.
* This file is used to create random characters <u>and</u> 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.
* This file is used to create random characters <u>and</u> 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. (Looks like only BINADBASKonoko and BINADBASAny have actual content. The rest are links.)
: Every character in [[OBD:BINA/OBJC/CHAR|BINACJBOCharacter]] can have a flag for shapeshifting* into a random** ONCC.
: Every character in [[OBD:BINA/OBJC/CHAR|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..
: This doesn't effect BINACJBOCharacter properties: the character will keep his/her name, melee profile, drop items, etc..
Line 16: Line 20:
'''example'''
'''example'''


Motoko is her own character class, and doesn't change her appearance on difficulty level "hard".
ONCVbarabus.xml<br>Boss character like Barabas doesn't use the difficulty "hard" upgrade.


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

Revision as of 14:37, 6 April 2012

ONCV: character variant

Template:XMLModdingHints

The xml code on this page is based on onisplit v0.9.61.0

general information

  • ONCV*.oni are global. (It can be found in edition/GameDataFolder/level0_... )
  • New 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. (Looks like only BINADBASKonoko and BINADBASAny have actual content. The rest are links.)
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

ONCVbarabus.xml
Boss character like Barabas doesn't use the difficulty "hard" upgrade.

<?xml version="1.0" encoding="utf-8"?>
<Oni>
   <ONCV id="0">
       <ParentVariant>ONCVstriker</ParentVariant>
       <CharacterClass>barabus</CharacterClass>
       <CharacterClassHard></CharacterClassHard>
   </ONCV>
</Oni>