propack/factions/tech/units/technician/technician.xml

347 lines
11 KiB
XML

<?xml version="1.0" standalone="no"?>
<unit>
<parameters>
<size value="1"/>
<height value="2"/>
<max-hp value="550" regeneration="1"/>
<max-ep value="0"/>
<armor value="0"/>
<armor-type value="leather"/>
<sight value="8"/>
<time value="20"/>
<multi-selection value="true"/>
<cellmap value="false"/>
<levels/>
<fields>
<field value="land"/>
</fields>
<properties/>
<light enabled="false"/>
<unit-requirements/>
<upgrade-requirements/>
<resource-requirements>
<resource name="gold" amount="150"/>
<resource name="food" amount="1"/>
</resource-requirements>
<resources-stored/>
<image path="images/technician.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"/>
<sound path="$COMMONDATAPATH/sounds/technician_select5.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_select6.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_select7.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_select8.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"/>
<sound path="$COMMONDATAPATH/sounds/technician_ack8.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_ack9.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_ack10.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_ack11.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_ack12.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_ack13.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_ack14.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_ack15.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_ack16.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_ack17.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_ack18.wav"/>
<sound path="$COMMONDATAPATH/sounds/technician_ack19.wav"/>
</command-sounds>
</parameters>
<skills>
<skill>
<type value="stop"/>
<name value="stop_skill"/>
<ep-cost value="0"/>
<speed value="1000"/>
<anim-speed value="55"/>
<animation path="models/technician_standing.g3d"/>
<sound enabled="false"/>
</skill>
<skill>
<type value="stop"/>
<name value="stop_loaded_skill"/>
<ep-cost value="0"/>
<speed value="1000"/>
<anim-speed value="150"/>
<animation path="models/technician_standing_loaded.g3d"/>
<sound enabled="false"/>
</skill>
<skill>
<type value="move"/>
<name value="move_skill"/>
<ep-cost value="0"/>
<speed value="336"/>
<anim-speed value="204"/>
<animation path="models/technician_walking.g3d"/>
<sound enabled="false"/>
</skill>
<skill>
<type value="move"/>
<name value="move_loaded_skill"/>
<ep-cost value="0"/>
<speed value="190"/>
<anim-speed value="50"/>
<animation path="models/technician_walking_loaded.g3d"/>
<sound enabled="false"/>
</skill>
<skill>
<type value="repair"/>
<name value="repair_skill"/>
<ep-cost value="0"/>
<speed value="210"/>
<anim-speed value="210"/>
<animation path="models/technician_repairing.g3d"/>
<sound enabled="true" start-time="0">
<sound-file path="$COMMONDATAPATH/sounds/technician_build1.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/technician_build2.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/technician_build3.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/technician_build4.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/technician_build5.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/technician_build6.wav"/>
</sound>
</skill>
<skill>
<type value="attack"/>
<name value="molotov_skill"/>
<ep-cost value="0"/>
<speed value="70"/>
<anim-speed value="70"/>
<animation path="models/technician_attacking.g3d"/>
<sound enabled="true" start-time="0.5">
<sound-file path="sounds/technician_attack.wav"/>
</sound>
<attack-strenght value="150"/>
<attack-var value="100"/>
<attack-range value="6"/>
<attack-type value="energy"/>
<attack-start-time value="0.5"/>
<attack-fields>
<field value="land"/>
</attack-fields>
<projectile value="true">
<particle value="true" path="particle_proj.xml"/>
<sound enabled="true">
<sound-file path="/sounds/technician_hit1.wav"/>
<sound-file path="/sounds/technician_hit2.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="repair"/>
<name value="heal"/>
<ep-cost value="0"/>
<speed value="210"/>
<anim-speed value="210"/>
<animation path="models/technician_healing.g3d"/>
<sound enabled="false"/>
</skill>
<skill>
<type value="build"/>
<name value="build_skill"/>
<ep-cost value="0"/>
<speed value="210"/>
<anim-speed value="210"/>
<animation path="models/technician_repairing.g3d"/>
<sound enabled="true" start-time="0">
<sound-file path="$COMMONDATAPATH/sounds/technician_build1.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/technician_build2.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/technician_build3.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/technician_build4.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/technician_build5.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/technician_build6.wav"/>
</sound>
</skill>
<skill>
<type value="harvest"/>
<name value="mine_skill"/>
<ep-cost value="0"/>
<speed value="50"/>
<anim-speed value="210"/>
<animation path="models/technician_mining.g3d"/>
<sound enabled="true" start-time="0.5">
<sound-file path="sounds/technician_mine1.wav"/>
<sound-file path="sounds/technician_mine2.wav"/>
<sound-file path="sounds/technician_mine3.wav"/>
<sound-file path="sounds/technician_mine4.wav"/>
</sound>
</skill>
<skill>
<type value="morph"/>
<name value="build_air_ballista"/>
<ep-cost value="0"/>
<speed value="300"/>
<anim-speed value="200"/>
<animation path="../air_ballista/models/air_ballista_morphing.g3d"/>
<sound enabled="true" start-time="0">
<sound-file path="$COMMONDATAPATH/sounds/technician_build1.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/technician_build2.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/technician_build3.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/technician_build4.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/technician_build5.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/technician_build6.wav"/>
</sound>
</skill>
<skill>
<type value="die"/>
<name value="die_skill"/>
<ep-cost value="0"/>
<speed value="90"/>
<anim-speed value="50"/>
<animation path="models/technician_dying.g3d"/>
<sound enabled="true" start-time="0">
<sound-file path="$COMMONDATAPATH/sounds/technician_die1.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/technician_die2.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/technician_die3.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/technician_die4.wav"/>
</sound>
<fade value="false"/>
</skill>
</skills>
<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="build"/>
<name value="build"/>
<image path="../worker/images/worker_build.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<move-skill value="move_skill"/>
<build-skill value="build_skill"/>
<buildings>
<building name="aerodrome"/>
</buildings>
<start-sound enabled="false"/>
<built-sound enabled="true" start-time="0">
<sound-file path="$COMMONDATAPATH/sounds/technician_select1.wav"/>
<sound-file path="$COMMONDATAPATH/sounds/technician_select5.wav"/>
</built-sound>
</command>
<command>
<type value="repair"/>
<name value="repair"/>
<image path="images/technician_repair.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<move-skill value="move_skill"/>
<repair-skill value="repair_skill"/>
<repaired-units>
<unit name="catapult"/>
<unit name="battle_machine"/>
<unit name="air_ballista"/>
<unit name="aerodrome"/>
</repaired-units>
</command>
<command>
<type value="repair"/>
<name value="heal"/>
<image path="images/technician_heal.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<move-skill value="move_skill"/>
<repair-skill value="heal"/>
<repaired-units>
<unit name="worker"/>
<unit name="technician"/>
<unit name="swordman"/>
<unit name="archer"/>
<unit name="guard"/>
<unit name="horseman"/>
</repaired-units>
</command>
<command>
<type value="harvest"/>
<name value="mine_gold"/>
<image path="images/technician_mine.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<move-skill value="move_skill"/>
<harvest-skill value="mine_skill"/>
<stop-loaded-skill value="stop_loaded_skill"/>
<move-loaded-skill value="move_loaded_skill"/>
<harvested-resources>
<resource name="gold"/>
</harvested-resources>
<max-load value="5"/>
<hits-per-unit value="1"/>
</command>
<command>
<type value="attack"/>
<name value="molotov"/>
<image path="images/molotov.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<move-skill value="move_skill"/>
<attack-skill value="molotov_skill"/>
</command>
<command>
<type value="morph"/>
<name value="build_air_ballista"/>
<image path="../air_ballista/images/air_ballista.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<morph-skill value="build_air_ballista"/>
<morph-unit name= "air_ballista"/>
<discount value="40"/>
</command>
</commands>
</unit>