XML:DOOR
Jump to navigation
Jump to search
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 (AE/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
[...]