i have a ide for a new unit.
a upgrade for mercenary(thanx for building it fireborn :D )
but it keeps telling me that the.bmp canot be found.
here is my armoured mercenary
<?xml version="1.0" standalone="no"?>
<unit>
<!-- *** parameters *** -->
<parameters>
<size value="1"/>
<height value="2"/>
<max-hp value="2000" regeneration="-40"/>
<max-ep value="0"/>
<armor value="50"/>
<armor-type value="plate"/>
<sight value="10"/>
<time value="10"/>
<multi-selection value="true"/>
<cellmap value="false"/>
<levels>
<level name="elite" kills="5"/>
</levels>
<fields>
<field value="land"/>
</fields>
<properties/>
<light enabled="false"/>
<unit-requirements>
<unit name="barracks"/>
<unit name="blacksmith"/>
</unit-requirements>
<upgrade-requirements/>
<resource-requirements>
<resource name="wood" amount="10"/>
<resource name="gold" amount="100"/>
</resource-requirements>
<resources-stored/>
<image path="images/armored_mercenary.bmp"/>
<image-cancel path="../archer/images/tech_cancel.bmp"/>
<meeting-point value="false"/>
<selection-sounds enabled="true">
<sound path="sounds/armored_swordman_select1.wav"/>
<sound path="sounds/armored_swordman_select2.wav"/>
<sound path="sounds/armored_swordman_select3.wav"/>
<sound path="sounds/armored_swordman_select4.wav"/>
<sound path="sounds/armored_swordman_select5.wav"/>
</selection-sounds>
<command-sounds enabled="true">
<sound path="sounds/armored_swordman_ack1.wav"/>
<sound path="sounds/armored_swordman_ack2.wav"/>
<sound path="sounds/armored_swordman_ack3.wav"/>
<sound path="sounds/armored_swordman_ack4.wav"/>
<sound path="sounds/armored_swordman_ack5.wav"/>
<sound path="sounds/armored_swordman_ack6.wav"/>
<sound path="sounds/armored_swordman_ack7.wav"/>
</command-sounds>
</parameters>
<!-- *** skills *** -->
<skills>
<!-- *** skill 0 *** -->
<skill>
<type value="stop"/>
<name value="stop_skill"/>
<ep-cost value="0"/>
<speed value="1000"/>
<anim-speed value="50"/>
<animation path="models/armored_swordman_standing.g3d"/>
<sound enabled="false"/>
</skill>
<!-- *** skill 1 *** -->
<skill>
<type value="move"/>
<name value="move_skill"/>
<ep-cost value="0"/>
<speed value="170"/>
<anim-speed value="120"/>
<animation path="models/armored_swordman_walking.g3d"/>
<sound enabled="false"/>
</skill>
<!-- *** skill 2 *** -->
<skill>
<type value="attack"/>
<name value="attack_skill"/>
<ep-cost value="0"/>
<speed value="170"/>
<anim-speed value="120"/>
<animation path="models/armored_swordman_attacking.g3d"/>
<sound enabled="true" start-time="0">
<sound-file path="sounds/armored_swordman_attack1.wav"/>
<sound-file path="sounds/armored_swordman_attack2.wav"/>
<sound-file path="sounds/armored_swordman_attack3.wav"/>
<sound-file path="sounds/armored_swordman_attack4.wav"/>
<sound-file path="sounds/armored_swordman_attack5.wav"/>
<sound-file path="sounds/armored_swordman_attack6.wav"/>
<sound-file path="sounds/armored_swordman_attack7.wav"/>
<sound-file path="sounds/armored_swordman_attack8.wav"/>
<sound-file path="sounds/armored_swordman_attack9.wav"/>
<sound-file path="sounds/armored_swordman_attack10.wav"/>
<sound-file path="sounds/armored_swordman_attack11.wav"/>
<sound-file path="sounds/armored_swordman_attack12.wav"/>
<sound-file path="sounds/armored_swordman_attack13.wav"/>
<sound-file path="sounds/armored_swordman_attack14.wav"/>
</sound>
<attack-strenght value="110"/>
<attack-var value="30"/>
<attack-range value="1"/>
<attack-type value="sword"/>
<attack-fields>
<field value="land"/>
</attack-fields>
<attack-start-time value="0"/>
<projectile value="false"/>
<splash value="false"/>
</skill>
<!-- *** skill 3 *** -->
<skill>
<type value="die"/>
<name value="die_skill"/>
<ep-cost value="0"/>
<speed value="60"/>
<anim-speed value="60"/>
<animation path="models/armored_swordman_dying.g3d"/>
<sound enabled="true" start-time="0">
<sound-file path="sounds/armored_swordman_die1.wav"/>
<sound-file path="sounds/armored_swordman_die2.wav"/>
<sound-file path="sounds/armored_swordman_die3.wav"/>
<sound-file path="sounds/armored_swordman_die4.wav"/>
</sound>
<fade value="false"/>
</skill>
<!-- *** skill 4 *** -->
<skill>
<type value="move"/>
<name value="charge_skill"/>
<ep-cost value="0"/>
<speed value="240"/>
<anim-speed value="240"/>
<animation path="models/armored_swordman_walking.g3d"/>
<sound enabled="false"/>
</skill>
</skills>
<!-- *** commands *** -->
<commands>
<!-- *** command 0 *** -->
<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 1 *** -->
<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 2 *** -->
<command>
<type value="attack"/>
<name value="attack"/>
<image path="images/armored_swordman_attack.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<move-skill value="move_skill"/>
<attack-skill value="attack_skill"/>
</command>
</commands>
</unit>
and here is my modified baraks:
<command>
<type value="produce"/>
<name value="produce_mercenary" />
<image path="../armored_swordman/images/armored_mercenary.bmp" />
<unit-requirements />
<upgrade-requirements />
<produce-skill value="produce_skill"/>
<produced-unit name="armored_mercenary"/>
</command>
here is my modeyfied mercenary:
<?xml version="1.0" standalone="no"?>
<unit>
<!-- *** parameters *** -->
<parameters>
<size value="1"/>
<height value="2"/>
<max-hp value="1000" regeneration="-40"/>
<max-ep value="0"/>
<armor value="20"/>
<armor-type value="leather"/>
<sight value="10"/>
<time value="1"/>
<multi-selection value="true"/>
<cellmap value="false"/>
<levels>
<level name="elite" kills="3"/>
</levels>
<fields>
<field value="land"/>
</fields>
<properties/>
<light enabled="false"/>
<unit-requirements>
<unit name="barracks"/>
</unit-requirements>
<upgrade-requirements/>
<resource-requirements>
<resource name="gold" amount="25"/>
</resource-requirements>
<resources-stored/>
<image path="images/mercenary.bmp"/>
<image-cancel path="../archer/images/tech_cancel.bmp"/>
<meeting-point value="false"/>
<selection-sounds enabled="true">
<sound path="sounds/swordman_select1.wav"/>
<sound path="sounds/swordman_select2.wav"/>
<sound path="sounds/swordman_select3.wav"/>
<sound path="sounds/swordman_select4.wav"/>
<sound path="sounds/swordman_select5.wav"/>
<sound path="sounds/swordman_select6.wav"/>
<sound path="sounds/swordman_select7.wav"/>
</selection-sounds>
<command-sounds enabled="true">
<sound path="sounds/swordman_ack1.wav"/>
<sound path="sounds/swordman_ack2.wav"/>
<sound path="sounds/swordman_ack3.wav"/>
<sound path="sounds/swordman_ack4.wav"/>
<sound path="sounds/swordman_ack5.wav"/>
<sound path="sounds/swordman_ack6.wav"/>
</command-sounds>
</parameters>
<!-- *** skills *** -->
<skills>
<skill>
<type value="stop"/>
<name value="stop_skill"/>
<ep-cost value="0"/>
<speed value="1000"/>
<anim-speed value="45"/>
<animation path="models/swordman_standing.g3d"/>
<sound enabled="false"/>
<resource-requirements>
<resource name="wood" amount="25"/>
<resource name="food" amount="1"/>
<resource name="gold" amount="75"/>
</resource-requirements>
</skill>
<skill>
<type value="move"/>
<name value="move_skill"/>
<ep-cost value="0"/>
<speed value="220"/>
<anim-speed value="125"/>
<animation path="models/swordman_walking.g3d"/>
<sound enabled="false"/>
</skill>
<skill>
<type value="move"/>
<name value="charge_skill"/>
<ep-cost value="0"/>
<speed value="220"/>
<anim-speed value="125"/>
<animation path="models/swordman_charging.g3d"/>
<sound enabled="false"/>
</skill>
<skill>
<type value="attack"/>
<name value="attack_skill"/>
<ep-cost value="0"/>
<speed value="100"/>
<anim-speed value="100"/>
<animation path="models/swordman_attacking.g3d"/>
<animation path="models/armored_swordman_attacking.g3d"/>
<sound enabled="true" start-time="0.47">
<sound-file path="sounds/swordman_attack1.wav"/>
<sound-file path="sounds/swordman_attack2.wav"/>
<sound-file path="sounds/swordman_attack3.wav"/>
<sound-file path="sounds/swordman_attack4.wav"/>
<sound-file path="sounds/swordman_attack5.wav"/>
<sound-file path="sounds/swordman_attack6.wav"/>
<sound-file path="sounds/swordman_attack7.wav"/>
<sound-file path="sounds/swordman_attack8.wav"/>
<sound-file path="sounds/swordman_attack9.wav"/>
<sound-file path="sounds/swordman_attack10.wav"/>
<sound-file path="sounds/swordman_attack11.wav"/>
<sound-file path="sounds/swordman_attack12.wav"/>
</sound>
<attack-strenght value="180"/>
<attack-var value="30"/>
<attack-range value="1"/>
<attack-type value="sword"/>
<attack-fields>
<field value="land"/>
</attack-fields>
<attack-start-time value="0"/>
<projectile value="false"/>
<splash value="false"/>
</skill>
<!-- *** skill 3 *** -->
<skill>
<type value="morph"/>
<name value="morph_skill"/>
<ep-cost value="0"/>
<speed value="12"/>
<anim-speed value="80"/>
<animation path="models/swordman_standing.g3d"/>
<sound enabled="false"/>
</skill>
<!-- *** skill 4 *** -->
<skill>
<type value="die"/>
<name value="die_skill"/>
<ep-cost value="0"/>
<speed value="60"/>
<anim-speed value="60"/>
<animation path="models/swordman_dying.g3d"/>
<sound enabled="true" start-time="0">
<sound-file path="sounds/swordman_die1.wav"/>
<sound-file path="sounds/swordman_die2.wav"/>
</sound>
<fade value="false"/>
</skill>
</skills>
<!-- *** commands *** -->
<commands>
<!-- *** command 0 *** -->
<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 1 *** -->
<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 2 *** -->
<command>
<type value="attack"/>
<name value="attack"/>
<image path="images/swordman_attack.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<move-skill value="charge_skill"/>
<attack-skill value="attack_skill"/>
</command>
<!-- *** command 6 *** -->
<command>
<type value="morph"/>
<name value="promote_to_armored_mercenary"/>
<image path="../armored_mercenary/images/armored_mercenary.bmp"/>
<unit-requirements/>
<upgrade-requirements/>
<morph-skill value="morph_skill"/>
<morph-unit name= "armored_mercenary"/>
<discount value="60"/>
</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>