XML:DOOR: Difference between revisions
Jump to navigation
Jump to search
m (Iritscen moved page OBD talk:DOOR to XML:DOOR without leaving a redirect) |
Paradox-01 (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
{{XML_File_Header | type=DOOR | prev=CRSA | next=DPge | name=Door }} | |||
__TOC__ | __TOC__ | ||
'''general information''' | '''general information''' | ||
* The xml code on this page was extracted with onisplit '''v0.9.68.0''' | |||
* DOOR files are stored globally (in edition/GameDataFolder/level0_Final) | * DOOR files are stored globally (in edition/GameDataFolder/level0_Final) | ||
* DOOR files are used by BINACJBODOOR <Class> | * DOOR files are used by [[XML:BINA/OBJC/DOOR|BINACJBODOOR]] <Class> | ||
Line 73: | Line 71: | ||
|- | |- | ||
| <AISoundDistance> | | <AISoundDistance> | ||
| float | | float | ||
| AI sound volume ? | | AI sound volume ? | ||
|- | |- | ||
| <OpenSound> | | <OpenSound> | ||
| | | char[32] | ||
| <font color="#777777">OSBD</font>file<font color="#777777">.imp.oni (file prefix and suffix not used)</font>, 32 letters allowed | | <font color="#777777">OSBD</font>file<font color="#777777">.imp.oni (file prefix and suffix not used)</font>, 32 letters allowed | ||
|- | |- | ||
| <CloseSound> | | <CloseSound> | ||
| | | char[32] | ||
| <font color="#777777">OSBD</font>file<font color="#777777">.imp.oni (file prefix and suffix not used)</font>, 32 letters allowed | | <font color="#777777">OSBD</font>file<font color="#777777">.imp.oni (file prefix and suffix not used)</font>, 32 letters allowed | ||
|} | |} | ||
Line 87: | Line 85: | ||
===OFGA=== | ===OFGA=== | ||
Read on '''[[XML:OFGA|HERE]]'''. | |||
Line 134: | Line 112: | ||
Remember to change the links (#N) and instance IDs of the new data. | Remember to change the links (#N) and instance IDs of the new data. | ||
--> | --> | ||
{{XML}} |
Revision as of 11:26, 13 April 2013
DOOR : Door | ||
---|---|---|
XML
CRSA << Other file types >> DPge |
general information
- The xml code on this page was extracted with onisplit v0.9.68.0
- DOOR files are stored globally (in edition/GameDataFolder/level0_Final)
- DOOR files are used by BINACJBODOOR <Class>
file structure
DOOR | +-- OFGA | +-- M3GM (holds <Texture> TXMP link to external file) | +-- PNTA <Points> +-- VCRA <VertexNormals> +-- VCRA <FaceNormals> +-- TXCA <TextureCoordinates> +-- IDXA <TriangleStrips> +-- IDXA <FaceNormalIndices>
XML tags
DOOR
tag | type | description |
---|---|---|
<Geometries> | - | contains 2 <Link> tags but only one is used (is this correct for all DOOR files?) |
<Link> | link | OFGA instance number (#N) |
<Animation> | link | OBANfile.oni (file suffix not used) |
<AISoundAttenuation> | float | passed sound "attenuation", exact formula unknown |
<AISoundAllow> | flag | AI sound types which are allowed to pass:
|
<AISoundType> | flag | AI sound types:
|
<AISoundDistance> | float | AI sound volume ? |
<OpenSound> | char[32] | OSBDfile.imp.oni (file prefix and suffix not used), 32 letters allowed |
<CloseSound> | char[32] | OSBDfile.imp.oni (file prefix and suffix not used), 32 letters allowed |
OFGA
Read on HERE.
M3GM export/import
export
You would need to cut the DOOR instance so that only the M3GM and its connected instances remain and convert it to oni.
- onisplit -extract:xml output_folder input_folder\DOORfile.oni
- onisplit -create output_folder input_folder\cutfile.xml
Convert the M3GMfile.oni to obj:
- onisplit -extract:obj output_folder input_folder\M3GMfile.oni
import
[...]