More proof of concept stuff for campaigns.

This was SVN commit r11403.
This commit is contained in:
Michael D. Hafer 2012-03-27 02:20:21 +00:00
parent d0fc32af4c
commit 82c8af3ad5
11 changed files with 105 additions and 11 deletions

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/alexander.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>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_unit_hero_cavalry_swordsman">
<Armour>
<Crush>20.0</Crush>
</Armour>
<Attack>
<Melee>
<MaxRange>7.0</MaxRange>
</Melee>
</Attack>
<Auras>
<Fear>
<Radius>80</Radius>
<Bonus>15</Bonus>
</Fear>
</Auras>
<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 Alexander the Great.</GenericName>
<SpecificName>Army of Alexander the Great</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_alexander.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_mace_hero_alexander.xml</Actor>
</VisualActor>
</Entity>

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_civic_civil_centre">
<Attack disable=""/>
<Footprint replace="">
<Circle radius="26.0"/>
<Height>8.0</Height>
@ -9,13 +10,19 @@
<SpecificName>Minor Greek Polis</SpecificName>
</Identity>
<Obstruction>
<Static width="50.0" depth="50.0"/>
<Static width="48.0" depth="48.0"/>
</Obstruction>
<TerritoryInfluence>
<Root>true</Root>
<Radius>150</Radius>
<Weight>35000</Weight>
</TerritoryInfluence>
<TrainingQueue>
<Entities datatype="tokens">
-units/{civ}_support_female_citizen
campaigns/army_mace_hero_alexander
</Entities>
</TrainingQueue>
<VisualActor>
<Actor>structures/hellenes/campaign_curtainwall.xml</Actor>
</VisualActor>

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_civic_civil_centre">
<Attack disable=""/>
<Footprint replace="">
<Circle radius="26.0"/>
<Height>8.0</Height>
@ -9,13 +10,19 @@
<SpecificName>Greek Polis</SpecificName>
</Identity>
<Obstruction>
<Static width="50.0" depth="50.0"/>
<Static width="48.0" depth="48.0"/>
</Obstruction>
<TerritoryInfluence>
<Root>true</Root>
<Radius>300</Radius>
<Weight>35000</Weight>
</TerritoryInfluence>
<TrainingQueue>
<Entities datatype="tokens">
-units/{civ}_support_female_citizen
campaigns/army_mace_hero_alexander
</Entities>
</TrainingQueue>
<VisualActor>
<Actor>structures/hellenes/campaign_curtainwall.xml</Actor>
</VisualActor>

View File

@ -19,6 +19,7 @@
<Radius>100</Radius>
<Weight>65536</Weight>
</TerritoryInfluence>
<TrainingQueue disable=""/>
<VisualActor>
<Actor>structures/hellenes/temple_new.xml</Actor>
</VisualActor>