8,452
edits
Paradox-01 (talk | contribs) mNo edit summary |
Paradox-01 (talk | contribs) (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. | ||
{| class="wikitable" width="100%" | |||
!width=150px| XML tag | |||
!width=120px| content type | |||
! description | |||
|- | |||
| <?xml version="1.0" encoding="utf-8"?> | |||
|valign="top"| | |valign="top"| float, flag | ||
; | |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 | |||
| | | | ||
; | |- | ||
|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"> |
edits