XML:ONCV: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(Created page with '=ONCV: character variant= This file is used to create random characters <u>and</u> harder character variants on game difficulty level hard. : Every character in [[OBD:BINA/OBJC/...')
 
mNo edit summary
Line 1: Line 1:
=ONCV: character variant=
=ONCV: character variant=
This file is used to create random characters <u>and</u> harder character variants on game difficulty level hard.
'''general information'''


* '''ONCV*.oni''' are global. (It can be found in edition/GameDataFolder/level0_... )
* See [[XML basic tutorial|HERE]] if you don't know how to convert an oni file into XML and vice versa.
* This file is used to create random characters <u>and</u> harder character variants on game difficulty level hard.
: 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..

Revision as of 19:02, 13 July 2009

ONCV: character variant

general information

  • ONCV*.oni are global. (It can be found in edition/GameDataFolder/level0_... )
  • See HERE if you don't know how to convert an oni file into XML and vice versa.
  • This file is used to create random characters and harder character variants on game difficulty level hard.
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>