XML:ONLV: Difference between revisions

795 bytes added ,  25 February 2013
m
flags
mNo edit summary
m (flags)
Line 79: Line 79:


Data from the demo:
Data from the demo:
{|class="wikitable" style="float:right" width="300px"
|
;AGQG (Gunk) flags (trimmed list)
see ''onisplit -help enums'' for more flags
:None
:NoCollision
:NoObjectCollision
:NoCharacterCollision
:NoDecal
:TwoSided
:Invisible
|}
                 <Import Path="env/lab_env.dae"/>
                 <Import Path="env/lab_env.dae"/>
                 <Import Path="env/lab_motorcycle.dae">
                 <Import Path="env/lab_motorcycle.dae">
Line 99: Line 111:
====<Textures>====
====<Textures>====
This tag is mandatory. Textures become imported as they are; in the texture section you declare exceptions.
This tag is mandatory. Textures become imported as they are; in the texture section you declare exceptions.
 
{| class="wikitable" style="float:right" width=400
|valign="top"|
;format flags
:BGR
:RGBA
:BGR555
:BGRA5551
:BGRA4444
|
;AGQG (Gunk) flags (trimmed list)
see ''onisplit -help enums'' for more flags
:None
:NoCollision
:NoObjectCollision
:NoCharacterCollision
:NoDecal
:TwoSided
:Invisible
|}
                 <Texture Name="GOO">
                 <Texture Name="GOO">
                     <Format>bgra4444</Format>
                     <Format>bgra4444</Format>
Line 149: Line 179:
     <Physics>
     <Physics>


{|class="wikitable" style="float:right" width="300px"
|valign="top"|
;object setup flags
:None
:InUse
:NoCollision
:NoGravity
:FaceCollision
|
;object animation flags
:None
:NormalLoop
:BackToBackLoop
:RandomStartFrame
:Autostart
:ZAxisUp
|}
<!--
<!--
         <Object Name="fan1">
         <Object Name="fan1">
Line 181: Line 228:
It's a nice feature that hierarchies are supported here.
It's a nice feature that hierarchies are supported here.


The motorcycle is made of 3 parts so 3 OBANs will be created up to frame 880. Then OniSplit creates 3 more OBANS starting from frame 881.
The motorcycle is made of 3 parts so 3 object animations ([[XML:OBAN|OBAN]]) will be created up to frame 880. Then OniSplit creates 3 more OBANs starting from frame 881.


The reason for the interruption at frame 880 is probably to give barabas a few more frames of glory in the cutscene.
The reason for the interruption at frame 880 is probably to give barabas a few more frames of glory in the cutscene.
8,452

edits