XML:ONLV: Difference between revisions

2,258 bytes added ,  19 April 2013
tables for exported ONLV and AKEV .. not finished ..
mNo edit summary
(tables for exported ONLV and AKEV .. not finished ..)
Line 1,011: Line 1,011:




==XML export of Oni Level (ONLV)==
==XML export of Oni Level==
{| border=0 cellspacing=20 cellpadding=0 style="float:right"
===ONLV===
| skybox file ONSKafternoon<br>[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/3D_modding/ONSKafternoon.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/3D_modding/ONSKafternoon_tn.png]
{| class="wikitable" width="100%"
!width=150px| XML tag
!width=120px| content type
! description
|-
| <ONLV id="...">
| integer
|
|-
| <Name>
|
|
|-
| <Environment>
|
|
|-
| <Objects>
|
|
|-
| <SkyBox>
|
|
|-
| <Characters>
|
|
|-
| <ObjectQuadMap>
|
|
|-
| <Particles>
|
|
|-
| <Corpses>
|
|
|}
|}


File structure
 
===OBOA===
{| class="wikitable" width="100%"
!width=150px| XML tag
!width=120px| content type
! description
|-
| <OBOA id="...">
| integer
|
|-
| <Objects>
|
|
|-
| <OBOAObject>
|
|
|-
| <Geometry>
|
|
|-
| <Animation>
|
|
|-
| <Particle>
|
|
|-
| <Flags>
|
|
|-
| <DoorGunkId>
|
|
|-
| <DoorId>
|
|
|-
| <PhysicsType>
|
|
|-
| <ScriptId>
|
|
|-
| <Position>
|
|
|-
| <Rotation>
|
|
|-
| <Scale>
|
|
|-
| <Transform>
|
|
|-
| <Name>
|
|
|}
 
 
===ONOA===
{| class="wikitable" width="100%"
!width=150px| XML tag
!width=120px| content type
! description
|-
| <Elements>
|
|
|-
| <ONOAElement>
|
|
|-
| <ObjectId>
|
|
|-
| <QuadList>
|
|
|}
 
 
===ENVP===
{| class="wikitable" width="100%"
!width=150px| XML tag
!width=120px| content type
! description
|-
| <ENVP id="...">
|
|
|-
| <Particles>
|
|
|-
| <ENVPParticle>
|
|
|-
| <Class>
|
|
|-
| <Tag>
|
|
|-
| <Transform>
|
|
|-
| <DecalScale>
|
|
|-
| <Flags>
|
|
|}
 
 
===CRSA===
{| class="wikitable" width="100%"
!width=150px| XML tag
!width=120px| content type
! description
|-
| <CRSA id="...">
| integer
|
|-
| <FixedCount>
|
|
|-
| <UsedCount>
|
|
|-
| <Corpses>
|
|
|-
| <CRSACorpse>
|
|
|-
| <CharacterClass>
|
|
|-
| <Transforms>
| -
| There are 19 <Matrix4x3> for each <Transforms>.
|-
| <Matrix4x3>
|
|
|-
| <BoundingBox>
|
|
|-
| <Min>
|
|
|-
| <Max>
|
|
|}
 
 
===M3GA===
{| class="wikitable" width="100%"
!width=150px| XML tag
!width=120px| content type
! description
|-
| <M3GA id="...">
| integer
|
|-
| <Geometries>
|
|
|-
| <Link>
|
|
|}
 
 
===IDXA (1)===
{| class="wikitable" width="100%"
!width=150px| XML tag
!width=120px| content type
! description
|-
| <IDXA id="...">
|
|
|-
| <Indices>
|
|
|-
| <Int32>
|
|
|}
 
 
===IDXA (2)===
{| class="wikitable" width="100%"
!width=150px| XML tag
!width=120px| content type
! description
|-
| <IDXA id="...">
|
|
|-
| <Indices>
|
|
|-
| <Int32>
|
|
|}
 
 


* ONLV instance
* ONLV instance
Line 1,163: Line 1,450:




==XML export of Akira Environment (AKEV)==
==XML export of Akira Environment==
Somehow I would like to have the AKEV and ONLV information on one page (like the sound stuff on SNDD). Let's see how this turns out.
===AKEV===
{| class="wikitable" width="100%"
!width=150px| XML tag
!width=120px| content type
! description
|-
| <AKEV id="...">
|
|
|-
| <Points>
|
|
|-
| <Planes>
|
|
|-
| <TextureCoordinates>
|
|
|-
| <Quads>
|
|
|-
| <QuadTextures>
|
|
|-
| <QuadCollision>
|
|
|-
| <Debug>
|
|
|-
| <Textures>
|
|
|-
| <BnvNodes>
|
|
|-
| <BnvSides>
|
|
|-
| <QuadGroupList>
|
|
|-
| <QuadGroupId>
|
|
|-
| <BnvBspTree>
|
|
|-
| <TransparencyBspTree>
|
|
|-
| <Octtree>
|
|
|-
| <BnvAdjacency>
|
|
|-
| <DoorFrames>
|
|
|-
| <BoundingBox>
|
|
|-
| <Min>
|
|
|-
| <Max>
|
|
|-
| <Offset_007C>
|
|
|}
 
 
===PNTA===
 
[...]




Line 1,259: Line 1,644:
  <ObjectId>
  <ObjectId>


Example 1: 251658333 -> hex: (0)f 00 00 5d -> Oni hex: 5d 00 00 0f (0f = type: console; 5d = id: 93)
Example 1: 251658333 -> hex: (0)f 00 00 5d -> 0f = type: console; 5d = id: 93


Example 2: 50331739 -> hex: (0)3 00 00 5b -> Oni hex: 5b 00 00 03 (03 = type: door; 5b = id: 91)
Example 2: 50331739 -> hex: (0)3 00 00 5b -> 03 = type: door; 5b = id: 91




8,452

edits