XML:ONLV: Difference between revisions

1,166 bytes added ,  9 October 2012
m
no edit summary
mNo edit summary
mNo edit summary
Line 48: Line 48:
* ?
* ?


The xml master file links to other xml file.
The xml master file links to dae and other xml files, its function is pretty similar to ONLV.


'''example of master.xml'''
'''example of master.xml'''
Line 62: Line 62:
         </Rooms>
         </Rooms>
         <Textures>
         <Textures>
                <Import>textures.xml</Import>
            <Import>textures.xml</Import>
         </Textures>
         </Textures>
         </Environment>
         </Environment>
Line 69: Line 69:
         <Import>Objects.xml</Import>
         <Import>Objects.xml</Import>
         <Import>BINACJBOCharacter.xml</Import>
         <Import>BINACJBOCharacter.xml</Import>
        <Import>BINACJBODoor.xml</Import>
         <Import>BINACJBOFlag.xml</Import>   
         <Import>BINACJBOFlag.xml</Import>   
         <Import>BINACJBOTriggerVolume.xml</Import>  
         <Import>BINACJBOTriggerVolume.xml</Import>  
Line 84: Line 85:
  </Oni>
  </Oni>


'''example of textures.xml'''
<GunkFlags> should be AGQG flags of [[OBD_talk:ONLV#AKEV:_Akira_Environment|AKEV]], also listed at "onisplit -help enums"
<?xml version="1.0" encoding="utf-8" ?>
<Oni>
    <Textures>
    <Texture Name="china_lava">
            <GunkFlags>NoCollision</GunkFlags>
            <Format>RGBA</Format>
            <Image>china/TXMPchina_lava.jpg</Image>
        </Texture>
    </Textures>
</Oni>
'''example of Objects.xml'''
<Geometry> holds a OFGA file linking to M3GM file(s)
<Flags> should be OBOA flags of [[OBD_talk:ONLV#ONLV:_Oni_Level|ONLV]], also listed at "onisplit -help enums"
<Physics> should be OBOA physics flags of [[OBD_talk:ONLV#ONLV:_Oni_Level|ONLV]], also listed at "onisplit -help enums"


'''example of Objects.xml'''
  <?xml version="1.0" encoding="utf-8"?>
  <?xml version="1.0" encoding="utf-8"?>
  <Oni>
  <Oni>
Line 112: Line 135:


==ONLV: Oni Level==
==ONLV: Oni Level==
{| border=0 cellspacing=20 cellpadding=0 align=right
| skybox file ONSKcrapsky<br>[http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/3D_modding/ONSKcrapsky.png http://i305.photobucket.com/albums/nn207/unknownfuture/Oni_Galore_Images/3D_modding/ONSKcrapsky_tn.png]
|}
file structure
file structure


Line 118: Line 145:
: <Environment> - link to AKEV file (solid level geometry)
: <Environment> - link to AKEV file (solid level geometry)
: <Objects> - link to OBOA instance (animated level geometry, sometimes particles)
: <Objects> - link to OBOA instance (animated level geometry, sometimes particles)
: <SkyBox> - link to skybox file
: <SkyBox> - link to ONSK file, originally there are 4 files in level 0: crapsky, night, sunset, afternoon
: <Characters> - link to AISA file (pendant of [[OBD_talk:BINA/OBJC/CHAR#XML|BINACJBOCharacter file]]), holds character spawn collection
: <Characters> - link to AISA file (pendant of [[OBD_talk:BINA/OBJC/CHAR#XML|BINACJBOCharacter file]]), holds character spawn collection
: <ObjectQuadMap> - link to ONOA instance (maybe spawnable / function holding objects ?)
: <ObjectQuadMap> - link to ONOA instance (maybe spawnable / function holding objects ?)
8,452

edits