708
edits
Paradox-01 (talk | contribs) m (conditions of dae reference in M3GA) |
(added the simplified corpse format used by the level importer) |
||
Line 1,605: | Line 1,605: | ||
|} | |} | ||
The level importer supports importing corpses from an XML file with the same format as described above or the following simplified format: | |||
{| class="wikitable" width="100%" | |||
!width=150px| XML tag | |||
!width=120px| content type | |||
! description | |||
|- | |||
| <Corpses> | |||
| | |||
| | |||
|- | |||
|valign="top"| <Corpse> | |||
|valign="top"| - | |||
| | |||
|- | |||
| <Class> | |||
| link | |||
| [[XML:ONCC|ONCC]]''name'' | |||
|- | |||
| <Transforms> | |||
| - | |||
| There are 19 <Matrix> for each <Transforms> (which represents a body part). | |||
|- | |||
| <Matrix> | |||
| matrix | |||
| Float 3x3 + float x3 for the last 3 values (X Y Z position). For more information about the matrix see [[OBD:CRSA]]. | |||
|- | |||
| <BoundingBox> | |||
| - | |||
| Bounding box of the whole corpse. Optional, if not provided OniSplit will generate an approximate one. Currently it doesn't try to locate the ONCC to compute an exact bounding box. | |||
|- | |||
| <Min> | |||
| float x3 | |||
| | |||
|- | |||
| <Max> | |||
| float x3 | |||
| | |||
|} | |||
An empty Corpse element ( <Corpse/> ) is treated as unused and placed at the end of the array. If no such empty elements are provided OniSplit automatically adds 5. OniSplit also ensures that there are at least 20 corpses in the array. | |||
===M3GA=== | ===M3GA=== |
edits