PrimeWorldEditor/templates/MP1/Script/Trigger.xml

66 lines
2.9 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ScriptObject ArchiveVer="4" Game="Prime">
<Properties Type="Struct">
<Name>Trigger</Name>
<SubProperties>
<Element Type="String" ID="0x0">
<Name>Name</Name>
</Element>
<Element Type="Vector" ID="0x1">
<Name>Position</Name>
</Element>
<Element Type="Vector" ID="0x2">
<Name>Scale</Name>
</Element>
<Element Type="Struct" ID="0x3" Archetype="DamageInfo"/>
<Element Type="Vector" ID="0x4">
<Name>Force</Name>
</Element>
<Element Type="Flags" ID="0x5">
<Name>Trigger Flags</Name>
<Flags>
<Element Name="Detect Player" Mask="0x1"/>
<Element Name="Detect AI" Mask="0x2"/>
<Element Name="Detect Projectiles" Mask="0x4"/>
<Element Name="Detect Projectiles" Mask="0x8"/>
<Element Name="Detect Projectiles" Mask="0x10"/>
<Element Name="Detect Projectiles" Mask="0x20"/>
<Element Name="Detect Bombs" Mask="0x40"/>
<Element Name="Unknown 1" Mask="0x80"/>
<Element Name="Detect Projectiles" Mask="0x100"/>
<Element Name="Detect Projectiles" Mask="0x200"/>
<Element Name="Detect Projectiles" Mask="0x400"/>
<Element Name="Kill On Entered" Mask="0x800"/>
<Element Name="Detect Morphed Player" Mask="0x1000"/>
<Element Name="Apply Force" Mask="0x2000"/>
<Element Name="Detect Player If Completely Inside" Mask="0x4000"/>
<Element Name="Unknown 2" Mask="0x8000"/>
<Element Name="Detect Unmorphed Player" Mask="0x10000"/>
<Element Name="Block Environmental Effects" Mask="0x20000"/>
</Flags>
</Element>
<Element Type="Bool" ID="0x6">
<Name>Active</Name>
</Element>
<Element Type="Bool" ID="0x7">
<Name>Deactivate On Entered</Name>
</Element>
<Element Type="Bool" ID="0x8">
<Name>Deactivate On Exited</Name>
</Element>
</SubProperties>
</Properties>
<EditorProperties>
<NameProperty>0x00</NameProperty>
<PositionProperty>0x01</PositionProperty>
<ScaleProperty>0x02</ScaleProperty>
<ActiveProperty>0x06</ActiveProperty>
</EditorProperties>
<Assets>
<Element Type="Billboard" Source="File" Location="script/common/Trigger.TXTR"/>
</Assets>
<RotationType>RotationDisabled</RotationType>
<ScaleType>ScaleVolume</ScaleType>
<VolumeShape>AxisAlignedBoxShape</VolumeShape>
</ScriptObject>