This script is written for easier modding games just like "Command & Conquer 3: Tiberium Wars" or "Red Alert 3". It auto-generates XML code which may be copy-pasted into a GameObject asset's tag.
SageXML Geometry script (version 1.02) for Autodesk 3D Studio Max
This script is written for easier modding games just like "Command & Conquer 3: Tiberium Wars" or "Red Alert 3". It auto-generates XML code which may be copy-pasted into a GameObject asset's tag.
This example code shows what we are talking about. Note that the Geometry tag itself does not belong to the script output.
<Geometry
IsSmall="false">
<Shape
Type="BOX"
MajorRadius="22.5"
MinorRadius="15"
Height="12.75"
UsedForHealthBox="false" />
<Shape
Type="BOX"
MajorRadius="5"
MinorRadius="3"
Height="33">
<Offset x="5.25" y="-15.375" />
</Shape>
<Shape
Type="CYLINDER"
MajorRadius="9.5"
MinorRadius="9.5"
Height="25" >
<Offset x="-2.5" />
</Shape>
<ContactPoint>
<Pos x="8.75" y="-8.75" z="15" />
</ContactPoint>
<ContactPoint>
<Pos y="9.25" z="21.5" />
</ContactPoint>
</Geometry>
Please have a look into the attached Readme for installation and usage instructions.
:O
**** me this came outta nowhere.... Very nice work Dibelius!
Noice