XML:ONLV: Difference between revisions

890 bytes added ,  1 March 2013
started a tag table for Physics.xml
mNo edit summary
(started a tag table for Physics.xml)
Line 369: Line 369:
This file is for objects with "physics". Unlike AKEV core geometry or furniture, those objects can be animated.
This file is for objects with "physics". Unlike AKEV core geometry or furniture, those objects can be animated.


For documentation purpose the file here has been trimmed down.
{| class="wikitable" width="100%"
<?xml version="1.0" encoding="utf-8"?>
!width=150px| XML tag
<Oni>
!width=120px| content type
    <Physics>
! description
 
|-
{|class="wikitable" style="float:right" width="300px"
| <?xml version="1.0" encoding="utf-8"?>
|valign="top"|
|valign="top"| float, flag
;object setup flags
|valign="top"| Ignore this.
|-
| <Oni>
| -
|
|-
| <Physics>
| -
|
|-
| <Object Name="...">
| string
|
|-
| <ScriptId>
| integer
|
|-
|valign="top"| <Flags>
|valign="top"| flag
|
;Object setup flags
:None
:None
:InUse
:InUse
Line 382: Line 403:
:NoGravity
:NoGravity
:FaceCollision
:FaceCollision
|-
| <Position>
| float x3
| Optional tag of Object.
|-
| <Rotation>
| float x3
| Optional tag of Object.
|-
| <Scale>
| float
| Optional tag of Object.
|-
|
<Import Path="...">
<Import Url="...">
|valign="top"| string
|valign="top"| This tag comes in two variants. It doesn't matter what variant you use.
|-
| <Animation Name="...">
| string
|
|
;object animation flags
|-
|valign="top"| <Flags>
|valign="top"| flag
| Optional tag of Animation. For more information look [[XML:OBAN|OBAN]] page.
 
;Object animation flags
:None
:None
:NormalLoop  
:NormalLoop  
Line 390: Line 438:
:Autostart
:Autostart
:ZAxisUp
:ZAxisUp
|-
| <End>
| integer
| Optional tag of Animation. Frame number.
|-
| <Start>
| integer
| Optional tag of Animation. Frame number.
|}
|}
;Example
For documentation purpose the file here has been trimmed down.
<?xml version="1.0" encoding="utf-8"?>
<Oni>
    <Physics>
<!--
<!--
         <Object Name="fan1">
         <Object Name="fan1">
8,452

edits