1
0
forked from 0ad/0ad

More campaign proof of concept stuff. A "Leonidas" army pawn.

This was SVN commit r11408.
This commit is contained in:
Michael D. Hafer 2012-03-28 06:09:38 +00:00
parent 6cb97e3e01
commit e5c85bc540
15 changed files with 137 additions and 5 deletions

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant>
<mesh>structural/campaigns/settlement_houses.dae</mesh>
<texture>structural/rome_struct_2.png</texture>
</variant>
</group>
<material>player_trans.xml</material>
</actor>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant>
<mesh>structural/campaigns/settlement_houses2.dae</mesh>
<texture>structural/rome_struct_2.png</texture>
</variant>
</group>
<material>player_trans.xml</material>
</actor>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant>
<mesh>structural/campaigns/settlement_temple.dae</mesh>
<texture>structural/rome_hc_01.png</texture>
</variant>
</group>
<material>player_trans.xml</material>
</actor>

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant frequency="1" name="mace hero Alexander">
<mesh>props/campaigns/pedestal_mace_1.dae</mesh>
<props>
<prop actor="campaigns/units/spart_leonidas.xml" attachpoint="soldier"/>
</props>
<texture>campaigns/units/pedestal_mace_1.png</texture>
</variant>
</group>
<group>
<variant frequency="100" name="Idle"/>
<variant name="Melee">
<props>
<prop actor="particle/destruction_dust_small_gray.xml" attachpoint="root"/>
</props>
</variant>
</group>
<material>player_trans.xml</material>
</actor>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant frequency="100" name="army spartan hero leonidas">
<mesh>skeletal/campaigns/spart_leonidas.dae</mesh>
<texture>campaigns/units/spart_leonidas.png</texture>
</variant>
</group>
<material>basic_trans.xml</material>
</actor>

View File

@ -10,6 +10,9 @@
<props>
<prop actor="structures/hellenes/campaign_curtainwall_gates.xml" attachpoint="root"/>
<prop actor="structures/hellenes/campaign_curtainwall_towers.xml" attachpoint="root"/>
<prop actor="campaigns/structures/hellenes/settlement_houses.xml" attachpoint="root"/>
<prop actor="campaigns/structures/hellenes/settlement_houses2.xml" attachpoint="root"/>
<prop actor="campaigns/structures/hellenes/settlement_temple.xml" attachpoint="root"/>
<prop actor="props/units/weapons/arrow_front_flame.xml" attachpoint="projectile"/>
</props>
<texture>structural/rome_struct_2.png</texture>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_hero_infantry_swordsman">
<Armour>
<Crush>20.0</Crush>
</Armour>
<Attack>
<Melee>
<MaxRange>7.0</MaxRange>
</Melee>
</Attack>
<Cost>
<Resources>
<metal>300</metal>
</Resources>
</Cost>
<Decay>
<Inactive/>
<DelayTime>0.0</DelayTime>
<SinkRate>3.0</SinkRate>
<SinkAccel>9.8</SinkAccel>
</Decay>
<Footprint>
<Circle radius="6.0"/>
<Height>6.0</Height>
</Footprint>
<Identity>
<Civ>hele</Civ>
<GenericName>Army of Leonidas I.</GenericName>
<SpecificName>Army of Leonidas I</SpecificName>
<Tooltip>This is what an army would look like on the Strat Map.</Tooltip>
<History>The most powerful hero of them all - son of Philip II, king of Macedonia (336 BC - 323 BC). After conquering the rest of the Thracians and quelling the unrest of the Greeks, Alexander embarked on a world-conquest march. Defeating the Persian forces at Granicus (334 BC), Issus (333 BC) and Gaugamela (331 BC), he became master of the Persian Empire. Entering India, he defeated king Porus at Hydaspes (326 BC), but his weary troops made him halt. Died in Babylon at the age of 33 while planning a campaign against Arabia.</History>
<Icon>units/hele_hero_leonidas.png</Icon>
</Identity>
<Obstruction>
<Unit radius="4.0"/>
</Obstruction>
<StatusBars>
<BarWidth>6.0</BarWidth>
<BarHeight>0.6</BarHeight>
<HeightOffset>12.0</HeightOffset>
</StatusBars>
<Vision>
<Range>60</Range>
</Vision>
<VisualActor>
<Actor>campaigns/units/army_spart_hero_leonidas.xml</Actor>
</VisualActor>
</Entity>