<unit>
<name>Siege Tank</name>
<hp>
<initial>100</initial>
<maximum>100</maximum>
<change>0</change> <!-- for zerg-like units -->
<if expr="hp<maximum/3">
<change>0</change> <!-- for terran buildings -->
</if>
</hp>
<shield>
<initial>0</initial>
<maximum>0</maximum>
<change>0</change> <!-- for protoss units -->
</shield>
<energy>
<initial>0</initial>
<maximum>0</maximum>
<change>0</change> <!-- how fast energy is produced -->
</energy>
<materials>100</materials>
<fuel>
<initial>50</initial>
<maximum>50</maximum>
<change>0</change> <!-- for larger carrier type units -->
</fuel>
<attacks>
<Missile>
<type>missle</type>
<cooldown>0.4</cooldown>
<sound>shoot.wav</sound>
<moving>true</moving>
<ground_damage>20</ground_damage>
<air_damage>0</air_damage>
<range>15</range>
<ground_damage_increase>5</ground_damage_increase> <!-- increase per upgrade -->
<air_damage_increase>0</air_damage_increase>
</Missile>
</attacks>
<!-- description that will be used in the game and editor -->
<description>This is a typical seige tank</description>
<armor>5</armor>
<sight_range>10<sight_range>
<move_speed>10</move_speed>
<constant_angular_speed>0</constant_angular_speed>
<body>
<image>tank.bmp</image>
<!-- true only if the unit turns in the direction it is moving -->
<turns>true</turns>
</body>
<turret>
<image>turret.bmp</image>
</turret>
<special_abilities>
<seige_mode>
<starts_with>false</starts_with>
<researched></researched> <!-- stuff done when ability is first researched -->
<type>switch</type> <!-- how ability is enabled/disabled -->
<enable> <!-- things done when ability is enabled -->
attacks/Missile/range=18
move_speed=0
body/turns=false
</enable>
<disable> <!-- things done when ability is disabled -->
attacks/Missile/range=15
move_speed=10
body/turns=true
</disable>
</seige_mode>
</special_abilities>
<unit_count>2</unit_count>
<!-- The following is usually only for structures -->
<supply_provided>0</supply_provided>
<builds></builds>
<requires></requires>
<researches></researches>
</unit>