PrimeWorldEditor/templates/mp1/Script/Trigger.xml

53 lines
2.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ScriptTemplate version="4">
<name>Trigger</name>
<properties>
<property ID="0x00" name="Name" type="string"/>
<property ID="0x01" name="Position" type="vector3f"/>
<property ID="0x02" name="Scale" type="vector3f"/>
<struct ID="0x03" name="DamageInfo" template="Structs/DamageInfo.xml"/>
<property ID="0x04" name="Force" type="vector3f"/>
<bitfield ID="0x05" name="Trigger Flags">
<flags>
<flag mask="0x00000001" name="Detect Player"/>
<flag mask="0x00000002" name="Detect AI"/>
<flag mask="0x00000004" name="Detect Projectiles"/>
<flag mask="0x00000008" name="Detect Projectiles"/>
<flag mask="0x00000010" name="Detect Projectiles"/>
<flag mask="0x00000020" name="Detect Projectiles"/>
<flag mask="0x00000040" name="Detect Bombs"/>
<flag mask="0x00000080" name="Unknown 1"/>
<flag mask="0x00000100" name="Detect Projectiles"/>
<flag mask="0x00000200" name="Detect Projectiles"/>
<flag mask="0x00000400" name="Detect Projectiles"/>
<flag mask="0x00000800" name="Kill On Entered"/>
<flag mask="0x00001000" name="Detect Morphed Player"/>
<flag mask="0x00002000" name="Apply Force"/>
<flag mask="0x00004000" name="Detect Player If Completely Inside"/>
<flag mask="0x00008000" name="Unknown 2"/>
<flag mask="0x00010000" name="Detect Unmorphed Player"/>
<flag mask="0x00020000" name="Block Environmental Effects"/>
</flags>
</bitfield>
<property ID="0x06" name="Active" type="bool"/>
<property ID="0x07" name="Deactivate On Entered" type="bool"/>
<property ID="0x08" name="Deactivate On Exited" type="bool"/>
</properties>
<states/>
<messages/>
<editor>
<properties>
<property name="InstanceName" ID="0x00"/>
<property name="Position" ID="0x01"/>
<property name="Scale" ID="0x02"/>
<property name="Active" ID="0x06"/>
</properties>
<assets>
<billboard source="file">script/common/Trigger.TXTR</billboard>
</assets>
<rotation_type>disabled</rotation_type>
<scale_type>volume</scale_type>
<preview_volume shape="AxisAlignedBox"/>
</editor>
</ScriptTemplate>