XML:File types: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (→‎BINA: +wikitable styling)
(BINA section converted to use template XMLtype)
Line 12: Line 12:
{|width="100%" style="border-style:solid; background-color:#F9F9F9; border:1px solid #AAA"
{|width="100%" style="border-style:solid; background-color:#F9F9F9; border:1px solid #AAA"
!width="100px" align="left"|Tag
!width="100px" align="left"|Tag
!width="150px" align="left"|Name
!width="250px" align="left"|Name
!width="50px" align="left"|Docs
!width="50px" align="left"|Docs
!width="200px" align="left"|File
!width="200px" align="left"|File
!align="left"|Loc.
!align="left"|Loc.
|-
{{XMLtype|BINA/ONIE|Oni Impact Effects
|'''BINA/[[XML:BINA/ONIE|ONIE]]'''
|some
|Oni Impact Effects
|[[Image:Aqua Dot-Yellow.png]]
|BINAEINOimpact_effects.oni
|BINAEINOimpact_effects.oni
|global
|yes
|-
|A list of all impact effects which can happen in the game. That includes weapon particles, hand-to-hand combat, and footsteps. The impact effect is selected according the type of impact ([[#Impt|Impt]]) and the material ([[#Mtrl|Mtrl]]) which is hit.}}
|style="border-style:solid; border-width:0px 0px 1px 0px; border-bottom-color:#AAA" colspan="5"|A list of all impact effects which can happen in the game. That includes weapon particles, hand-to-hand combat, and footsteps. The impact effect is selected according the type of impact (Impt) and the material (Mtrl) which is hit.
{{XMLtype|BINA/PAR3|Particle class
|-
|some
|'''BINA/[[XML:BINA/PAR3#XML_section|PAR3]]'''
|[[Image:Aqua Dot-Yellow.png]]
|
|
|
|
|-
|A list of types of particles which can be spawned in the game, used by weapons to deal damage, for lighting effects, etc. A specific instance of a PAR3 class is a PART.}}
|colspan="5" |Particle class (the "3" referring to the Particle subsystem's version number). A list of types of particles which can be spawned in the game, used by weapons to deal damage, for lighting effects, etc. A specific instance of a PAR3 class is a PART.
{{XMLtype|BINA/SABD|Sound Animation Binary Data
|-
|some
|'''BINA/[[XML:BINA/SABD|SABD]]'''
|[[Image:Aqua Dot-Yellow.png]]
|
|
|
|
|-
|A list of the sounds to be played for each animation type, according to the character variant (ONCV) and the type of animation (TRAM) that they are playing.}}
|colspan="5" |Sound Animation Binary Data. A list of the sounds to be played for each animation type, according to the character variant (ONCV) and the type of animation (TRAM) that they are playing.
{{XMLtype|BINA/TMBD|Texture Materials Binary Data
|-
|some
|'''BINA/[[XML:BINA/TMBD|TMBD]]'''
|[[Image:Aqua Dot-Green.png]]
|
|
|
|
|-
|A list of the material (Mtrl) for each texture map (TXMP). Used by ONIE.}}
|colspan="5" |Texture Materials Binary Data. A list of the material (Mtrl) for each texture map (TXMP). Used by ONIE.
|}
|}



Revision as of 18:42, 8 April 2014

XML.png
See Modding Oni for an introduction to modding.
See XML for an introduction to XML modding.

The XML namespace is devoted to explaining Oni's data types, originally documented in a technical byte-by-byte manner at OBD, according to the more user-friendly format they appear in when exported by OniSplit as XML. Following is an overview of each data type's function, and whether it has XML documentation available.

Documentation status:

Aqua Dot-Green.png : available
Aqua Dot-Yellow.png : incomplete
Aqua Dot-Red.png : not available, but that doesn't mean you cannot mod the file type

BINA

Tag Name Docs File Loc.
BINA/ONIE Aqua Dot-Yellow.png Oni Impact Effects

BINAEINOimpact_effects.oni yes A list of all impact effects which can happen in the game. That includes weapon particles, hand-to-hand combat, and footsteps. The impact effect is selected according the type of impact (Impt) and the material (Mtrl) which is hit.
{{{7}}}
BINA/PAR3 Aqua Dot-Yellow.png Particle class

A list of types of particles which can be spawned in the game, used by weapons to deal damage, for lighting effects, etc. A specific instance of a PAR3 class is a PART.
{{{7}}}
BINA/SABD Aqua Dot-Yellow.png Sound Animation Binary Data

A list of the sounds to be played for each animation type, according to the character variant (ONCV) and the type of animation (TRAM) that they are playing.
{{{7}}}
BINA/TMBD Aqua Dot-Yellow.png Texture Materials Binary Data

A list of the material (Mtrl) for each texture map (TXMP). Used by ONIE.
{{{7}}}

OBJC

BINA/OBJC/CHAR Aqua Dot-Yellow.png
List of characters in a specific level, containing their position, script function names, weapon, ammunition, items, team, combat, melee ID, etc.
BINA/OBJC/CMBT Aqua Dot-Yellow.png
List of combat profiles for global use, containing conditions that govern the AI's melee, weapon combat, and retreat behavior, based on factors like distance and the enemy's reactions.
BINA/OBJC/CONS Aqua Dot-Green.png
List of consoles in a specific level, containing their position, script name (ID), screen images, and script function names. Consoles are used to open doors, trigger alarms, or provide information.
BINA/OBJC/DOOR Aqua Dot-Green.png
List of doors in a specific level, containing their conditions for when a door opens (e.g., is the action key required?), and what events are triggered by a character who opens the door.
BINA/OBJC/FLAG Aqua Dot-Green.png
List of flags in a specific level, containing their position. Flags are used by level scripts and patrol paths.
BINA/OBJC/FURN Aqua Dot-Green.png
List of pieces of furniture in a specific level. This file type can be used to import level objects.
BINA/OBJC/MELE Aqua Dot-Yellow.png
List of melee profiles for global use. A melee profile contains a simple program that determines how the AI uses its combat moves.
BINA/OBJC/NEUT Aqua Dot-Green.png
List of neutral character behaviors in a specific level. Every character has a melee, combat and neutral behavior ID. It determines whether a non-player character (NPC) talks to you and whether they give you a power-up.
BINA/OBJC/PART Aqua Dot-Green.png
List of particles in a specific level, containing their position, script name and scaling.
BINA/OBJC/PATR Aqua Dot-Green.png
List of patrol paths in a specific level, containing an ID which is used by CHAR and the scripting command "ai2_dopath".
BINA/OBJC/PWRU Aqua Dot-Green.png
List of power-ups (items, e.g. hypo sprays) in a specific level which are spawned at level load, containing their position.
BINA/OBJC/SNDG Aqua Dot-Yellow.png
List of sound groups in a specific level. Sound groups are the invisible spheres which contain ambient sounds. If you come near a machine and you hear a sound, that's because of SNDG.
BINA/OBJC/TRGV Aqua Dot-Green.png
List of trigger volumes in a specific level. They are invisible areas which trigger functions in a script.
BINA/OBJC/TRIG Aqua Dot-Green.png
List of laser triggers in a specific level. There are several forms of triggers, and they can trigger not only turrets (TURR), but also script functions in the level.
BINA/OBJC/TURR Aqua Dot-Green.png
List of turrets in a specific level. Note that their pods are part of the level geometry. Spawn one manually and it might be located somewhere in the air. Determines their head's position, the weapon inside the turret head, and the team ID to target.
BINA/OBJC/WEAP Aqua Dot-Green.png
List of weapons in a specific level, determining their spawn location at level load.

Others

AISA Aqua Dot-Green.png
AI Spawn Array. This file type was probably in the process of being replaced by BINA/CJBO/CHAR when Oni shipped, but AISA is still used for a few cutscene characters.
AKEV Aqua Dot-Yellow.png
Akira Environment. It's the 3D level model. The AKEV exports as a Collada (.dae) file, meant to be edited in a 3D modeler like Mod Tool.
CONS Aqua Dot-Yellow.png
Console class.
DOOR Aqua Dot-Green.png
Door class.
DPge Aqua Dot-Green.png
Diary page.
FILM Aqua Dot-Green.png
A record of a character's movements, created by a developer recording his gameplay and played back in cutscenes to make an AI perform complex actions. During playback, AIs have no AI. ^_^
HPge Aqua Dot-Green.png
Help page.
IGHH Aqua Dot-Green.png
In-game HUD; your health bar, compass, etc.
Impt Aqua Dot-Green.png
Impact. This file is used to build up the hierarchy of impacts. See BINA/ONIE for more information.
IPge Aqua Dot-Green.png
Item page. If you have created a new item, you can describe it here.
M3GM Aqua Dot-Green.png
Geometry. Some of these 3D objects are used by OBANs and PAR3s.
Mtrl Aqua Dot-Green.png
Material. This file is used to build up the hierarchy of materials. See BINA/ONIE for more information.
OBAN Aqua Dot-Green.png
Object Animation. Yes, used by objects but also for moving characters and cutscene cameras.
OFGA Aqua Dot-Green.png
Object Furniture Geometry Array. Used to import objects with no functions. (Door, consoles, etc. get imported by their object collections. See ONLV for more information.)
ONCC Aqua Dot-Yellow.png
Oni Character Class. Here a type of character (Konoko, Strikers, etc.) is assigned their weapon skill, behavior ID, vision radius, jumping height, sounds, 3D model (TRBS), animation collection (TRAC), textures (TRMA), and much more.
The XML file contains also the character's body part material (CBPM), body part impacts (CBPI), and particles for animations (ONCP and ONIA).
ONCV Aqua Dot-Green.png
Character variant. 1) It's used to create a pool of characters from which an AI can be randomly spawned, in order to create a natural variance in appearance. A flag in a CHAR determines which ONCV the character falls under. 2) It can be also used to upgrade characters on the Hard difficulty level, also determined by a flag in the CHAR.
ONGS Aqua Dot-Green.png
Game settings (global). There you can modify the game's health bar, hypo spray strength, game difficulty, autoprompts (text messages when picking up a new kind of item), etc.
ONLD Aqua Dot-Yellow.png
Level descriptor. The level name on the Load Game screen.
ONLV Aqua Dot-Yellow.png
Oni Level. Holds among other things: the name of the BSL folder with the scripts for this level, and links to the AKEV, ONSK, and AISA.
ONSK Aqua Dot-Green.png
Sky. It's essentially a box of textures that sits on the level, so you will need five images for the top, north, east, south and west. The bottom has no image.
ONVL Aqua Dot-Green.png
Variant list of characters. It's used to randomize characters' appearances.
ONWC Aqua Dot-Green.png
Weapon class. Describes the primary and secondary fire mode and more, and links to PAR3, a 3D model, and textures (TXMP).
OPge Aqua Dot-Green.png
Objective page. This is the source of the text that appears in the Objective tab of the Pause screen.
OSBD Aqua Dot-Yellow.png
Oni Sound Binary Data. They determine how sounds (SNDD) get played.
PSpc Aqua Dot-Green.png
Part Specification. Oni can decorate a page (OPge, TxtC, maybe others) with images from one source. PSpc specifies the coordinates of these parts.
PSpL Aqua Dot-Red.png
Part specification list.
PSUI Aqua Dot-Red.png
Part Specifications UI (User Interface).
StNA Aqua Dot-Green.png
StNA files are obsolete. However, on its page you'll find collections of flags used by TRAM.
SUBT Aqua Dot-Green.png
Subtitle Array. This is just here for informational purposes, because SUBTs are not extracted as to .xml files, but rather to .txt.
TRAC Aqua Dot-Green.png
Totoro Animation collection. Used to build a hierarchy of moves (TRAM) which form a weighted moveset, based on which parent TRAC(s) a character's TRAC inherits from.
TRAM Aqua Dot-Yellow.png
Totoro Animation. You can create new animations with Mod Tool. But for setting Oni-specific flags, links to particles, and so on, you need to edit the XML file afterwards, or create a precursor XML beforehand.
TRAS Aqua Dot-Red.png
Totoro Aiming Screen. Used for make characters aim with weapons.
TRBS Aqua Dot-Green.png
Totoro Body Set, in other words the 3D model of a character. Character classes (ONCC) link to TRBS. The 3D data itself will be exported/imported as Collada (.dae) files.
TRGE Aqua Dot-Green.png
Trigger Emitter class. This file type holds the 3D model for a laser trigger and its coordinates. Used by TRIG.
TRIG
(Laser) Trigger class.
TRMA Aqua Dot-Green.png
Texture Map Array. Every body part of a character is covered by a texture. This file type holds the links to those textures.
TRSC Aqua Dot-Red.png
Totoro Aiming Screen Collection. Used for make characters aim with weapons.
TXMB Aqua Dot-Green.png
Texture Map (Big). A series of concatenated TXMPs, used for creating splash screens, like the Main Menu background and level intro/win/loss screens.
TXMP Aqua Dot-Green.png
Texture Map. Well, this type covers all images in Oni (except the ones larger than 256x256, which are TXMB).
TxtC Aqua Dot-Green.png
Text (Console).
WMCL Aqua Dot-Red.png
Window Manager Cursor List. Mouse pointer(s).
WMDD Aqua Dot-Green.png
Window Manager Dialog Data. It shapes pages like TxtC and WPge. However, new button functions would require engine modding.
WMM Aqua Dot-Red.png
Window Manager Menu.
WPge Aqua Dot-Green.png
Weapon Page. This is the source for the text and images that appear in the Weapons tab of the pause screen.