1
0
forked from 0ad/0ad

Xerxes work. Not complete yet.

This was SVN commit r10662.
This commit is contained in:
Michael D. Hafer 2011-12-03 10:00:39 +00:00
parent 6a2cf46a1b
commit fe91f37673
12 changed files with 195 additions and 12 deletions

View File

@ -4,9 +4,6 @@
<group>
<variant frequency="1" name="Xerxes Face">
<mesh>props/head_beard_wide.pmd</mesh>
<props>
<prop actor="props/units/heads/pers_hair_xerxes.xml" attachpoint="root"/>
</props>
<texture>props/head/xerxes.png</texture>
</variant>
</group>

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant>
<animations>
<animation file="mechanical/pers_chariot_e_idle.dae" name="Idle" speed="100"/>
<animation file="mechanical/pers_chariot_e_move.dae" name="Walk" speed="12"/>
<animation file="mechanical/pers_chariot_e_move.dae" name="Run" speed="30"/>
</animations>
<mesh>structural/pers_chariot_e.dae</mesh>
<props>
<prop actor="props/units/pers_chariot_e_emblem.xml" attachpoint="root"/>
<prop actor="units/persians/pers_chariot_archer_e_h1.xml" attachpoint="horse1"/>
<prop actor="units/persians/pers_chariot_archer_e_h2.xml" attachpoint="horse2"/>
<prop actor="units/persians/pers_chariot_archer_e_h3.xml" attachpoint="horse3"/>
<prop actor="units/persians/pers_chariot_archer_e_h4.xml" attachpoint="horse4"/>
<prop actor="units/persians/hero_xerxes_chariot_r.xml" attachpoint="rider1"/>
<prop actor="units/persians/cavalry_archer_e_d.xml" attachpoint="rider2"/>
</props>
<texture>structural/pers_chariot_xerxes.png</texture>
</variant>
</group>
<material>player_trans.xml</material>
</actor>

View File

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant frequency="100" name="Base">
<animations>
<animation file="biped/inf_sword_ready_a.dae" name="Idle" speed="100"/>
<animation file="biped/inf_sword_ready_a.dae" name="Idle" speed="95"/>
<animation event="0.84" file="biped/inf_arch_atk_a.psa" load="0.16" name="Attack" speed="100"/>
<animation file="biped/inf_sword_ready_a.dae" name="Walk" speed="20"/>
<animation file="biped/inf_sword_ready_a.dae" name="Run" speed="5"/>
<animation file="biped/inf_salute_c.psa" name="Promotion" speed="290"/>
<animation file="infantry/general/death/inf_01.psa" name="Death" speed="200"/>
<animation file="infantry/general/death/inf_02.psa" name="Death" speed="200"/>
<animation file="infantry/general/death/inf_03.psa" name="Death" speed="200"/>
<animation file="infantry/general/death/inf_04.psa" name="Death" speed="200"/>
<animation file="infantry/general/death/inf_06.psa" name="Death" speed="200"/>
<animation file="infantry/general/death/inf_07.psa" name="Death" speed="200"/>
<animation file="biped/inf_sword_ready_a.dae" name="carry_meat" speed="100"/>
</animations>
<mesh>skeletal/m_pants_celt.dae</mesh>
<props>
<prop actor="props/units/heads/head_pers_xerxes.xml" attachpoint="head"/>
<prop actor="props/units/heads/pers_kidaris_royal_loose.xml" attachpoint="helmet"/>
<prop actor="props/units/cape_hd.xml" attachpoint="shoulders"/>
<prop actor="props/units/weapons/bow_recurve.xml" attachpoint="l_hand"/>
<prop actor="props/units/quiver_hip.xml" attachpoint="l_hip"/>
<prop actor="props/units/weapons/arrow_back.xml" attachpoint="loaded-r_hand"/>
<prop actor="props/units/weapons/arrow_front.xml" attachpoint="projectile"/>
</props>
<texture>skeletal/pers_hero_cyrus.png</texture>
</variant>
</group>
<group>
<variant frequency="100" name="Idle"/>
<variant name="Melee">
<props>
<prop actor="props/units/weapons/bow_recurve.xml" attachpoint="l_hand"/>
<prop actor="props/units/weapons/arrow_back.xml" attachpoint="loaded-r_hand"/>
<prop actor="props/units/weapons/arrow_front.xml" attachpoint="projectile"/>
</props>
</variant>
</group>
<material>player_trans.xml</material>
</actor>

Binary file not shown.

Binary file not shown.

View File

@ -8,7 +8,7 @@
<Attack>
<Ranged>
<Hack>0.0</Hack>
<Pierce>38.0</Pierce>
<Pierce>40.0</Pierce>
<Crush>0.0</Crush>
<MaxRange>56</MaxRange>
<MinRange>16.0</MinRange>

View File

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_champion_cavalry_javelinist">
<Armour>
<Hack>8.0</Hack>
<Pierce>8.0</Pierce>
<Crush>7.0</Crush>
</Armour>
<Attack>
<Ranged>
<Hack>0.0</Hack>
<Pierce>40.0</Pierce>
<Crush>0.0</Crush>
<MaxRange>56.0</MaxRange>
<MinRange>20.0</MinRange>
<ProjectileSpeed>75.0</ProjectileSpeed>
<PrepareTime>1200</PrepareTime>
<RepeatTime>2000</RepeatTime>
</Ranged>
</Attack>
<Cost>
<BuildTime>45</BuildTime>
</Cost>
<Health>
<Max>450</Max>
<RegenRate>0.5</RegenRate>
</Health>
<Identity>
<GenericName>Hero Cavalry Archer</GenericName>
<Classes datatype="tokens">Hero Cavalry Ranged</Classes>
</Identity>
<Loot>
<xp>450</xp>
<food>10</food>
<wood>20</wood>
<stone>0</stone>
<metal>0</metal>
</Loot>
<Minimap>
<Type>hero</Type>
</Minimap>
<UnitMotion>
<WalkSpeed>11.0</WalkSpeed>
<Run>
<Speed>25.0</Speed>
<Range>1000.0</Range>
<RangeMin>16.0</RangeMin>
</Run>
</UnitMotion>
</Entity>

View File

@ -1,11 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_hero_cavalry_spearman">
<Identity>
<Civ>iber</Civ>
<Civ>pers</Civ>
<GenericName>Cyrus II The Great</GenericName>
<SpecificName>Kurush II</SpecificName>
<Icon>units/pers_hero_xerxes.png</Icon>
<Tooltip>Hero Aura: "Lead from the Front." Boosts attack of nearby cavalry units.</Tooltip>
<Tooltip>Hero Cavalry Lancer.
Hero Aura: "Lead from the Front." Boosts attack of nearby cavalry units.</Tooltip>
<History>(559 BC - 530 BC) The son of a Median princess and the ruler of Anshan; justly called the 'Father of the Empire', Cyrus the Great conquered Media, Lydia, Babylonia and Bactria, thereby establishing the Persian Empire. He was also renown as a benevolent conqueror. Technically the second ruler of the Persians by that name, and so appears as Kurush II on his documents and coins. Kurush I was his grandfather.</History>
</Identity>
<VisualActor>

View File

@ -0,0 +1,60 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_hero_cavalry_archer">
<Armour>
<Hack>6.0</Hack>
<Pierce>12.0</Pierce>
<Crush>12.0</Crush>
</Armour>
<Attack>
<Ranged>
<Pierce>45.0</Pierce>
<MaxRange>64.0</MaxRange>
<MinRange>12.0</MinRange>
</Ranged>
</Attack>
<Cost>
<Population>4</Population>
<BuildTime>50</BuildTime>
<Resources>
<food>200</food>
<wood>100</wood>
<metal>100</metal>
</Resources>
</Cost>
<Footprint replace="">
<Square width="6.0" depth="12.0"/>
<Height>5.0</Height>
</Footprint>
<Health>
<Max>500</Max>
</Health>
<Identity>
<Civ>pers</Civ>
<GenericName>Xerxes I</GenericName>
<SpecificName>Xsayarsa I</SpecificName>
<Icon>units/pers_hero_xerxes.png</Icon>
<Tooltip>Hero Scythe Chariot Archer.
High Trample Aura. Counters Melee Infantry. Countered by Skirmishers.
Hero Aura: "Administrator." Accelerates the Gather Rate and Build Rate of nearby units.</Tooltip>
<History>(King, 485 BC - 465 BC) The son of Darius the Great and Atoosa, a daughter of Cyrus the Great, Xerxes was an able administrator, who also extended Imperial rule into Chorasmia. Apart from his failed invasion of Greece, he was famous for his extensive building program, especially at Persepolis.</History>
</Identity>
<Loot>
<xp>300</xp>
<food>0</food>
<wood>20</wood>
<stone>0</stone>
<metal>100</metal>
</Loot>
<Obstruction>
<Unit radius="2.5"/>
</Obstruction>
<UnitMotion>
<WalkSpeed>9.5</WalkSpeed>
<Run>
<Speed>27.0</Speed>
</Run>
</UnitMotion>
<VisualActor>
<Actor>units/persians/hero_xerxes_chariot.xml</Actor>
</VisualActor>
</Entity>