PrimeWorldEditor/templates/mp1/Script/Pickup.xml

43 lines
2.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ScriptTemplate version="4">
<name>Pickup</name>
<properties>
<property ID="0x00" name="Name" type="string"/>
<property ID="0x01" name="Position" type="vector3f"/>
<property ID="0x02" name="Rotation" type="vector3f"/>
<property ID="0x03" name="Scale" type="vector3f"/>
<property ID="0x04" name="Hitbox size" type="vector3f"/>
<property ID="0x05" name="Scan position" type="vector3f"/>
<enum ID="0x06" name="Pickup Type" template="Enums/InventorySlot.xml"/>
<property ID="0x07" name="Capacity" type="long"/>
<property ID="0x08" name="Amount" type="long"/>
<property ID="0x09" name="Drop rate" type="float"/>
<property ID="0x0A" name="Life time" type="float"/>
<property ID="0x0B" name="Spawn delay" type="float"/>
<property ID="0x0C" name="Model" type="file" extensions="CMDL"/>
<property ID="0x0D" name="AnimationParameters" type="character"/>
<struct ID="0x0E" name="ActorParameters" template="Structs/ActorParameters.xml"/>
<property ID="0x0F" name="Active" type="bool"/>
<property ID="0x10" name="Unknown 1" type="float"/>
<property ID="0x11" name="Particle" type="file" extensions="PART"/>
</properties>
<editor>
<properties>
<property name="InstanceName" ID="0x00"/>
<property name="Position" ID="0x01"/>
<property name="Rotation" ID="0x02"/>
<property name="Scale" ID="0x03"/>
<property name="Active" ID="0x0F"/>
<property name="LightParameters" ID="0x0E:0x00"/>
</properties>
<assets>
<animparams source="property">0x0D</animparams>
<model source="property">0x0C</model>
<model source="property">0x0E:0x02</model>
<model source="property">0x0E:0x04</model>
</assets>
<rotation_type>enabled</rotation_type>
<scale_type>enabled</scale_type>
</editor>
</ScriptTemplate>