1
0
forked from 0ad/0ad

Cavalry Spearmen for Sparta. Gives them a melee cavalry for proper anti-siege.

This was SVN commit r14636.
This commit is contained in:
Michael D. Hafer 2014-01-22 16:34:00 +00:00
parent 01ec56cc0c
commit 546a26467f
12 changed files with 453 additions and 4 deletions

View File

@ -0,0 +1,85 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant frequency="1" name="Base">
<animations>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="800"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="400"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="350"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="600"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="666"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="333"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="222"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="250"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="50"/>
<animation file="quadraped/horse_walk.psa" name="carry_meat" speed="120"/>
<animation file="quadraped/horse_attack_a.psa" name="Idle" speed="400"/>
<animation file="quadraped/horse_attack_b.psa" name="Idle" speed="300"/>
<animation file="quadraped/horse_gallop.psa" name="Run" speed="40"/>
<animation file="quadraped/horse_walk.psa" name="Walk" speed="100"/>
<animation file="quadraped/horse_attack_a.psa" name="attack_melee" speed="202"/>
<animation file="quadraped/horse_attack_b.psa" name="attack_melee" speed="215"/>
<animation file="quadraped/horse_attack_a.psa" name="attack_slaughter" speed="202"/>
<animation file="quadraped/horse_death.psa" name="death" speed="230"/>
</animations>
<mesh>skeletal/horse.pmd</mesh>
<props>
<prop actor="units/macedonians/cavalry_spearman_a_r.xml" attachpoint="rider"/>
<prop actor="props/units/horse/horse_chest_colorband.xml" attachpoint="chest"/>
</props>
</variant>
</group>
<group>
<variant frequency="1" name="hyppikon-horse-texture-plain">
<textures><texture file="skeletal/horse_hele_a_1.dds" name="baseTex"/></textures>
</variant>
<variant frequency="1" name="hyppikon-horse-texture-stripe">
<textures><texture file="skeletal/horse_hele_a_2.dds" name="baseTex"/></textures>
</variant>
</group>
<group>
<variant frequency="1" name="horse-color-bay">
<colour>228 107 27</colour>
</variant>
<variant frequency="1" name="horse-color-red-chestnut">
<colour>207 132 109</colour>
</variant>
<variant frequency="1" name="horse-color-black-chestnut">
<colour>164 87 68</colour>
</variant>
<variant frequency="1" name="horse-color-gray">
<colour>210 210 210</colour>
</variant>
<variant frequency="1" name="horse-color-beige">
<colour>209 203 131</colour>
</variant>
<variant frequency="1" name="horse-color-black">
<colour>81 81 85</colour>
</variant>
<variant frequency="1" name="horse-color-chocolate">
<colour>98 68 58</colour>
</variant>
<variant frequency="1" name="horse-color-chestnut">
<colour>248 132 86</colour>
</variant>
<variant frequency="1" name="horse-color-roan">
<colour>242 219 164</colour>
</variant>
<variant frequency="1" name="horse-color-liver">
<colour>172 95 68</colour>
</variant>
<variant frequency="1" name="horse-color-brown">
<colour>255 148 89</colour>
</variant>
</group>
<group>
<variant frequency="100" name="Idle"/>
<variant name="Run">
<props>
<prop actor="particle/dust_cav.xml" attachpoint="root"/>
</props>
</variant>
</group>
<material>objectcolor.xml</material>
</actor>

View File

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant frequency="100" name="Base">
<animations>
<animation file="biped/cavalryidle.psa" name="Idle" speed="50"/>
<animation file="biped/cavalryidle.psa" name="Walk" speed="18"/>
<animation file="biped/rider_gallop.psa" name="Run" speed="40"/>
<animation event="0.5" file="cavalry/spear/attack/rider_spear_shield_atk_a.psa" name="attack_melee" speed="400"/>
<animation event="0.5" file="cavalry/spear/attack/rider_spear_shield_atk_a.psa" name="attack_slaughter" speed="400"/>
<animation event="0.5" file="cavalry/spear/attack/rider_spear_shield_atk_a.psa" name="gather_meat" speed="400"/>
<animation file="biped/rider_sword_death_a.psa" name="death" speed="230"/>
</animations>
<mesh>skeletal/m_tunic_short.dae</mesh>
<props>
<prop actor="props/units/heads/head_hele_a.xml" attachpoint="head"/>
<prop actor="props/units/heads/hele_straw.xml" attachpoint="helmet"/>
<prop actor="props/units/weapons/spear_lance.xml" attachpoint="r_hand"/>
<prop actor="props/units/cape_hd_cav.xml" attachpoint="shoulders"/>
</props>
<textures><texture file="skeletal/mace_bronzeshield_2.png" name="baseTex"/></textures>
</variant>
</group>
<group>
<variant frequency="100" name="Idle"/>
<variant name="attack_melee">
<props>
<prop attachpoint="r_hand"/>
</props>
</variant>
<variant name="gather_meat">
<props>
<prop actor="props/units/weapons/spartan_sword.xml" attachpoint="r_hand"/>
</props>
</variant>
<variant name="carry_meat">
<props>
<prop actor="props/units/shuttle_meat.xml" attachpoint="r_hand"/>
<prop attachpoint="l_hand"/>
<prop attachpoint="shield"/>
</props>
</variant>
</group>
<material>player_trans.xml</material>
</actor>

View File

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant frequency="1" name="Base">
<animations>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="800"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="400"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="350"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="600"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="666"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="333"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="222"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="250"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="50"/>
<animation file="quadraped/horse_walk.psa" name="carry_meat" speed="120"/>
<animation file="quadraped/horse_attack_a.psa" name="Idle" speed="400"/>
<animation file="quadraped/horse_attack_b.psa" name="Idle" speed="300"/>
<animation file="quadraped/horse_gallop.psa" name="Run" speed="40"/>
<animation file="quadraped/horse_walk.psa" name="Walk" speed="100"/>
<animation file="quadraped/horse_attack_a.psa" name="attack_melee" speed="202"/>
<animation file="quadraped/horse_attack_b.psa" name="attack_melee" speed="215"/>
<animation file="quadraped/horse_attack_a.psa" name="attack_slaughter" speed="202"/>
<animation file="quadraped/horse_death.psa" name="death" speed="230"/>
</animations>
<mesh>skeletal/horse.pmd</mesh>
<props>
<prop actor="units/macedonians/cavalry_spearman_b_r.xml" attachpoint="rider"/>
</props>
</variant>
</group>
<group>
<variant frequency="3" name="horse texture black">
<textures><texture file="skeletal/horse_black_a.dds" name="baseTex"/></textures>
</variant>
<variant frequency="2" name="horse texture brown">
<textures><texture file="skeletal/horse_brown_a.dds" name="baseTex"/></textures>
</variant>
<variant frequency="4" name="horse texture chestnut">
<textures><texture file="skeletal/horse_chestnut_a.dds" name="baseTex"/></textures>
</variant>
<variant frequency="3" name="horse texture dun">
<textures><texture file="skeletal/horse_dun_a.dds" name="baseTex"/></textures>
</variant>
<variant frequency="1" name="horse texture white">
<textures><texture file="skeletal/horse_white_a.dds" name="baseTex"/></textures>
</variant>
</group>
<group>
<variant frequency="100" name="Idle"/>
<variant name="Run">
<props>
<prop actor="particle/dust_cav.xml" attachpoint="root"/>
</props>
</variant>
</group>
<material>objectcolor.xml</material>
</actor>

View File

@ -0,0 +1,40 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant frequency="100" name="Base">
<animations>
<animation file="biped/cavalryidle.psa" name="Idle" speed="50"/>
<animation file="biped/cavalryidle.psa" name="Walk" speed="18"/>
<animation file="biped/rider_gallop.psa" name="Run" speed="40"/>
<animation event="0.5" file="cavalry/spear/attack/rider_spear_shield_atk_a.psa" name="attack_melee" speed="400"/>
<animation event="0.5" file="cavalry/spear/attack/rider_spear_shield_atk_a.psa" name="attack_slaughter" speed="400"/>
<animation event="0.5" file="cavalry/spear/attack/rider_spear_shield_atk_a.psa" name="gather_meat" speed="400"/>
<animation file="biped/rider_sword_death_a.psa" name="death" speed="230"/>
</animations>
<mesh>skeletal/m_tunic_short.dae</mesh>
<props>
<prop actor="props/units/heads/head_hele_b.xml" attachpoint="head"/>
<prop actor="props/units/weapons/spear_lance.xml" attachpoint="r_hand"/>
<prop actor="props/units/cape_hd_cav.xml" attachpoint="shoulders"/>
</props>
<textures><texture file="skeletal/hele_tunic.dds" name="baseTex"/></textures>
</variant>
</group>
<group>
<variant frequency="100" name="Idle"/>
<variant name="gather_meat">
<props>
<prop actor="props/units/weapons/spartan_sword.xml" attachpoint="r_hand"/>
</props>
</variant>
<variant name="carry_meat">
<props>
<prop actor="props/units/shuttle_meat.xml" attachpoint="r_hand"/>
<prop attachpoint="l_hand"/>
<prop attachpoint="shield"/>
</props>
</variant>
</group>
<material>default.xml</material>
</actor>

View File

@ -0,0 +1,88 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant frequency="1" name="Base">
<animations>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="800"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="400"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="350"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="600"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="666"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="333"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="222"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="250"/>
<animation file="quadraped/horse_idle_a.psa" name="Idle" speed="50"/>
<animation file="quadraped/horse_walk.psa" name="carry_meat" speed="120"/>
<animation file="quadraped/horse_attack_a.psa" name="Idle" speed="400"/>
<animation file="quadraped/horse_attack_b.psa" name="Idle" speed="300"/>
<animation file="quadraped/horse_gallop.psa" name="Run" speed="40"/>
<animation file="quadraped/horse_walk.psa" name="Walk" speed="100"/>
<animation file="quadraped/horse_attack_a.psa" name="attack_melee" speed="202"/>
<animation file="quadraped/horse_attack_b.psa" name="attack_melee" speed="215"/>
<animation file="quadraped/horse_attack_a.psa" name="attack_slaughter" speed="202"/>
<animation file="quadraped/horse_death.psa" name="death" speed="230"/>
</animations>
<mesh>skeletal/horse.pmd</mesh>
<props>
<prop actor="units/macedonians/cavalry_spearman_e_r.xml" attachpoint="rider"/>
<prop actor="props/units/horse/horse_chest_colorband.xml" attachpoint="chest"/>
</props>
</variant>
</group>
<group>
<variant frequency="1" name="hyppikon-horse-texture-plain">
<textures><texture file="skeletal/horse_hele_csw_e_1.dds" name="baseTex"/></textures>
</variant>
<variant frequency="1" name="hyppikon-horse-texture-plain2">
<textures><texture file="skeletal/horse_hele_csw_e_2.png" name="baseTex"/></textures>
</variant>
<variant frequency="1" name="hyppikon-horse-texture-blaze">
<textures><texture file="skeletal/horse_hele_csw_e_3.png" name="baseTex"/></textures>
</variant>
</group>
<group>
<variant frequency="1" name="horse-color-bay">
<colour>228 107 27</colour>
</variant>
<variant frequency="1" name="horse-color-red-chestnut">
<colour>207 132 109</colour>
</variant>
<variant frequency="1" name="horse-color-black-chestnut">
<colour>164 87 68</colour>
</variant>
<variant frequency="5" name="horse-color-gray">
<colour>255 255 255</colour>
</variant>
<variant frequency="2" name="horse-color-beige">
<colour>251 254 146</colour>
</variant>
<variant frequency="1" name="horse-color-black">
<colour>81 81 85</colour>
</variant>
<variant frequency="1" name="horse-color-chocolate">
<colour>98 68 58</colour>
</variant>
<variant frequency="1" name="horse-color-chestnut">
<colour>248 132 86</colour>
</variant>
<variant frequency="1" name="horse-color-roan">
<colour>242 219 164</colour>
</variant>
<variant frequency="1" name="horse-color-liver">
<colour>172 95 68</colour>
</variant>
<variant frequency="1" name="horse-color-brown">
<colour>255 148 89</colour>
</variant>
</group>
<group>
<variant frequency="100" name="Idle"/>
<variant name="Run">
<props>
<prop actor="particle/dust_cav.xml" attachpoint="root"/>
</props>
</variant>
</group>
<material>objectcolor.xml</material>
</actor>

View File

@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant frequency="100" name="Base">
<animations>
<animation file="biped/cavalryidle.psa" name="Idle" speed="50"/>
<animation file="biped/cavalryidle.psa" name="Walk" speed="18"/>
<animation file="biped/rider_gallop.psa" name="Run" speed="40"/>
<animation event="0.5" file="cavalry/spear/attack/rider_spear_shield_atk_a.psa" name="attack_melee" speed="400"/>
<animation event="0.5" file="cavalry/spear/attack/rider_spear_shield_atk_a.psa" name="attack_slaughter" speed="400"/>
<animation event="0.5" file="cavalry/spear/attack/rider_spear_shield_atk_a.psa" name="gather_meat" speed="400"/>
<animation file="biped/rider_sword_death_a.psa" name="death" speed="230"/>
</animations>
<mesh>skeletal/m_tunic_a.pmd</mesh>
<props>
<prop actor="props/units/heads/head_hele_a.xml" attachpoint="head"/>
<prop actor="props/units/heads/hele_cav_a.xml" attachpoint="helmet"/>
<prop actor="props/units/weapons/spear_lance.xml" attachpoint="r_hand"/>
<prop actor="props/units/cape_hd_cav.xml" attachpoint="shoulders"/>
</props>
<textures><texture file="skeletal/spart_phalangite_officer.dds" name="baseTex"/></textures>
</variant>
</group>
<group>
<variant frequency="100" name="Idle"/>
<variant name="gather_meat">
<props>
<prop actor="props/units/weapons/spartan_sword.xml" attachpoint="r_hand"/>
</props>
</variant>
<variant name="carry_meat">
<props>
<prop actor="props/units/shuttle_meat.xml" attachpoint="r_hand"/>
<prop attachpoint="l_hand"/>
<prop attachpoint="shield"/>
</props>
</variant>
</group>
<material>player_trans.xml</material>
</actor>

View File

@ -26,6 +26,7 @@
units/spart_infantry_spearman_b
units/spart_champion_infantry_sword
units/spart_infantry_javelinist_b
units/spart_cavalry_spearman_b
units/spart_cavalry_javelinist_b
</Entities>
<Technologies datatype="tokens">

View File

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="units/spart_cavalry_spearman_b">
<Armour>
<Hack>2</Hack>
<Pierce>4</Pierce>
<Crush>5</Crush>
</Armour>
<Attack>
<Melee>
<Hack>12.0</Hack>
</Melee>
<Charge>
<Hack>36.0</Hack>
</Charge>
</Attack>
<Health>
<Max>160</Max>
</Health>
<Identity>
<Rank>Advanced</Rank>
</Identity>
<Promotion>
<Entity>units/spart_cavalry_spearman_e</Entity>
</Promotion>
<ResourceGatherer>
<BaseSpeed>0.75</BaseSpeed>
</ResourceGatherer>
<UnitMotion>
<WalkSpeed>12.5</WalkSpeed>
<Run>
<Speed>25.0</Speed>
</Run>
</UnitMotion>
<VisualActor>
<Actor>units/spartans/cavalry_spearman_a.xml</Actor>
</VisualActor>
</Entity>

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_cavalry_melee_spearman">
<Identity>
<Civ>spart</Civ>
<SelectionGroupName>units/spart_cavalry_spearman_b</SelectionGroupName>
<GenericName>Allied Greek Cavalry</GenericName>
<SpecificName>Hippeús Symmakhikós</SpecificName>
<History>Sparta was not known for it's cavalry. In fact, to augment her weak Perioikoi cavalry, Sparta recruited cavalry from subject and allied Greek states. Cavalry were usually made up of the upper class since they were the only ones who could afford the breeding and caring for horses. Initially they were missile troops who avoided close combat, throwing javelins and thrusting spears at enemy troops. As with all ancient horsemen Greek cavalry did not have stirrups or a saddle.</History>
<Icon>units/mace_cavalry_spearman.png</Icon>
<RequiredTechnology>phase_town</RequiredTechnology>
</Identity>
<Promotion>
<Entity>units/spart_cavalry_spearman_a</Entity>
</Promotion>
<VisualActor>
<Actor>units/spartans/cavalry_spearman_b.xml</Actor>
</VisualActor>
</Entity>

View File

@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="units/spart_cavalry_spearman_a">
<Armour>
<Hack>3</Hack>
<Pierce>6</Pierce>
<Crush>6</Crush>
</Armour>
<Attack>
<Melee>
<Hack>14.0</Hack>
</Melee>
<Charge>
<Hack>42.0</Hack>
</Charge>
</Attack>
<Health>
<Max>170</Max>
</Health>
<Identity>
<Rank>Elite</Rank>
</Identity>
<Promotion disable=""/>
<ResourceGatherer>
<BaseSpeed>0.5</BaseSpeed>
</ResourceGatherer>
<UnitMotion>
<WalkSpeed>12.0</WalkSpeed>
<Run>
<Speed>24.0</Speed>
</Run>
</UnitMotion>
<VisualActor>
<Actor>units/spartans/cavalry_spearman_e.xml</Actor>
</VisualActor>
</Entity>