39e89c406e
-added NOTIFY_ORDER_CHANGE, which is used for flank penalty instead of idle. -entity speed is now actions.move.speed_curr for the current speed, but the original speed is still actions.move.speed. Changes take place in entityEventMovemen. This was SVN commit r3840.
71 lines
1.6 KiB
XML
Executable File
71 lines
1.6 KiB
XML
Executable File
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
|
|
|
|
<Entity>
|
|
<Traits
|
|
extant="true"
|
|
>
|
|
<Id>
|
|
<Internal_Only />
|
|
</Id>
|
|
|
|
<Corpse>null</Corpse>
|
|
|
|
<!-- All but sea units are attached to the ground plane. -->
|
|
<Anchor>
|
|
<Type>Ground</Type>
|
|
<!-- If negative or > 90.0, entity will always conform to terrain (assuming traits.pitch allows it) -->
|
|
<ConformX>3.141592</ConformX>
|
|
<ConformZ>3.141592</ConformZ>
|
|
</Anchor>
|
|
|
|
<!-- Defaults to no armour. -->
|
|
<Armour>
|
|
<Value>0.0</Value>
|
|
<Crush>0.0</Crush>
|
|
<Hack>0.0</Hack>
|
|
<Pierce>0.0</Pierce>
|
|
</Armour>
|
|
|
|
<Health>
|
|
<Bar_Height>-1.0</Bar_Height>
|
|
<Bar_Size>20</Bar_Size>
|
|
<Bar_Width>2.0</Bar_Width>
|
|
<Regen_Rate>5.0</Regen_Rate>
|
|
<Regen_Start>15.0</Regen_Start>
|
|
<Decay_Rate>5.0</Decay_Rate>
|
|
|
|
<Border_Height>7</Border_Height>
|
|
<Border_Width>28</Border_Width>
|
|
<Border_Name>bar.dds</Border_Name>
|
|
</Health>
|
|
<Stamina>
|
|
<Bar_Height>-1.0</Bar_Height>
|
|
<Bar_Size>20</Bar_Size>
|
|
<Bar_Width>2.0</Bar_Width>
|
|
<Border_Height>7</Border_Height>
|
|
<Border_Width>28</Border_Width>
|
|
<Border_Name>bar.dds</Border_Name>
|
|
</Stamina>
|
|
<Rank>
|
|
<Width>7.0</Width>
|
|
<Size>17</Size>
|
|
<Height>-1.0</Height>
|
|
<Name></Name>
|
|
</Rank>
|
|
<Flank_Penalty>
|
|
<Sectors>6</Sectors>
|
|
<Value>.2</Value>
|
|
</Flank_Penalty>
|
|
<Pitch>
|
|
<Sectors>7</Sectors>
|
|
<Value>.1</Value>
|
|
</Pitch>
|
|
|
|
</Traits>
|
|
|
|
|
|
|
|
<Script File="entities/template_entity_script.js" />
|
|
<Event On="Initialize" Function="entityInit" />
|
|
<Event On="PrepareOrder" Function="entityEventPrepareOrder" />
|
|
</Entity> |