propack/factions/tech/units/battle_machine/battle_machine.xml

239 lines
6.8 KiB
XML

<?xml version="1.0" standalone="no"?>
<unit>
<parameters>
<size value="2"/>
<height value="3"/>
<ai-build-size value="3"/>
<max-hp value="2500" regeneration="1"/>
<max-ep value="0"/>
<armor value="45"/>
<armor-type value="wood"/>
<sight value="10"/>
<time value="140"/>
<multi-selection value="true"/>
<cellmap value="false"/>
<levels>
<level name="elite" kills="10"/>
</levels>
<fields>
<field value="land"/>
<field value="air"/>
</fields>
<properties/>
<light enabled="false"/>
<unit-requirements>
<unit name="technodrome"/>
</unit-requirements>
<upgrade-requirements>
<upgrade name="robotics"/>
</upgrade-requirements>
<resource-requirements>
<resource name="wood" amount="150"/>
<resource name="gold" amount="100"/>
<resource name="food" amount="1"/>
</resource-requirements>
<resources-stored/>
<image path="images/battle_machine.bmp"/>
<image-cancel path="../archer/images/tech_cancel.bmp"/>
<meeting-point value="false"/>
<selection-sounds enabled="true">
<sound path="$COMMONDATAPATH/sounds/technician_select1.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_select2.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_select3.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_select4.wav"/>
</selection-sounds>
<command-sounds enabled="true">
<sound path="$COMMONDATAPATH/sounds/technician_ack1.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_ack2.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_ack3.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_ack4.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_ack5.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_ack6.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_ack7.wav"/>
</command-sounds>
</parameters>
<skills>
<skill>
<type value="stop"/>
<name value="stop_skill"/>
<ep-cost value="0"/>
<speed value="1000"/>
<anim-speed value="50"/>
<animation path="models/battle_machine_standing.g3d"/>
<sound enabled="false"/>
</skill>
<skill>
<type value="move"/>
<name value="move_skill"/>
<ep-cost value="0"/>
<speed value="204"/>
<anim-speed value="108"/>
<animation path="models/battle_machine_walking.g3d"/>
<sound enabled="true" start-time="0">
<sound-file path="sounds/machine_walk1.wav"/>
<sound-file path="sounds/machine_walk2.wav"/>
<sound-file path="sounds/machine_walk3.wav"/>
<sound-file path="sounds/machine_walk4.wav"/>
<sound-file path="sounds/machine_walk5.wav"/>
</sound>
</skill>
<skill>
<type value="attack"/>
<name value="attack_skill"/>
<ep-cost value="0"/>
<speed value="90"/>
<anim-speed value="90"/>
<animation path="models/battle_machine_attacking.g3d"/>
<sound enabled="true" start-time="0">
<sound-file path="sounds/machine_attack1.wav"/>
<sound-file path="sounds/machine_attack1b.wav"/>
<sound-file path="sounds/machine_attack1c.wav"/>
</sound>
<attack-strenght value="400"/>
<attack-var value="150"/>
<attack-range value="1"/>
<attack-type value="slashing"/>
<attack-fields>
<field value="land"/>
</attack-fields>
<attack-start-time value="0.8"/>
<projectile value="false"/>
<splash value="false"/>
</skill>
<skill>
<type value="attack"/>
<name value="attack_arrow_skill"/>
<ep-cost value="0"/>
<speed value="52"/>
<anim-speed value="65"/>
<animation path="models/battle_machine_attacking2.g3d"/>
<sound enabled="true" start-time="0.5">
<sound-file path="sounds/machine_attack2.wav"/>
<sound-file path="sounds/machine_attack2b.wav"/>
<sound-file path="sounds/machine_attack2c.wav"/>
</sound>
<attack-strenght value="170"/>
<attack-var value="75"/>
<attack-range value="9"/>
<attack-type value="piercing"/>
<attack-start-time value="0.5"/>
<attack-fields>
<field value="air"/>
<field value="land"/>
</attack-fields>
<projectile value="true">
<particle value="true" path="particle_proj.xml"/>
<sound enabled="true">
<sound-file path="../ornithopter/sounds/orni_hit1.wav"/>
<sound-file path="../ornithopter/sounds/orni_hit2.wav"/>
<sound-file path="../ornithopter/sounds/orni_hit3.wav"/>
<sound-file path="../ornithopter/sounds/orni_hit4.wav"/>
<sound-file path="../ornithopter/sounds/orni_hit5.wav"/>
</sound>
</projectile>
<splash value="true">
<radius value="1"/>
<damage-all value="true"/>
<particle value="true" path="particle_splash.xml"/>
</splash>
</skill>
<skill>
<type value="die"/>
<name value="die_skill"/>
<ep-cost value="0"/>
<speed value="60"/>
<anim-speed value="60"/>
<animation path="models/battle_machine_dying.g3d"/>
<sound enabled="true" start-time="0">
<sound-file path="sounds/machine_die1.wav"/>
<sound-file path="sounds/machine_die2.wav"/>
<sound-file path="sounds/machine_die3.wav"/>
</sound>
<fade value="false"/>
</skill>
<skill>
<type value="move"/>
<name value="charge_skill"/>
<ep-cost value="0"/>
<speed value="288"/>
<anim-speed value="120"/>
<animation path="models/battle_machine_charging.g3d"/>
<sound enabled="true" start-time="0">
<sound-file path="sounds/machine_walk1.wav"/>
<sound-file path="sounds/machine_walk2.wav"/>
<sound-file path="sounds/machine_walk3.wav"/>
<sound-file path="sounds/machine_walk4.wav"/>
<sound-file path="sounds/machine_walk5.wav"/>
</sound>
</skill>
</skills>
<!-- *** commands *** -->
<commands>
<command>
<type value="stop"/>
<name value="stop"/>
<image path="../archer/images/tech_stop.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<stop-skill value="stop_skill"/>
</command>
<command>
<type value="move"/>
<name value="move"/>
<image path="../archer/images/tech_move.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<move-skill value="move_skill"/>
</command>
<command>
<type value="attack"/>
<name value="attack"/>
<image path="images/battle_machine_attack.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<move-skill value="charge_skill"/>
<attack-skill value="attack_skill"/>
</command>
<command>
<type value="attack"/>
<name value="attack_arrow"/>
<image path="images/battle_machine_attack_arrow.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<move-skill value="charge_skill"/>
<attack-skill value="attack_arrow_skill"/>
</command>
<command>
<type value="attack_stopped"/>
<name value="hold_position"/>
<image path="../archer/images/tech_hold.bmp"/>
<unit-requirements/>
<upgrade-requirements>
<upgrade name="training_field"/>
</upgrade-requirements>
<stop-skill value="stop_skill"/>
<attack-skill value="attack_skill"/>
</command>
</commands>
</unit>