1
1
forked from 0ad/0ad

Seperate stable from barracks

Including:

    moves template_structure_military_barracks_stables.xml to
template_structure_military_stable.xml
    updates all its children accordingly
    merges values from pers_stable.xml into the new generic template
    changes generic name Stable (singular, without s)
    standardizes rubble sizes to 5x5 (pers had 4x4)
    corrects specific name for Greek factions
    adds foundation actor to kush_stable.xml

Patch By: Nescio
Comments By: Angen
Differential Revision: https://code.wildfiregames.com/D1790
This was SVN commit r22322.
This commit is contained in:
bb 2019-05-30 21:00:18 +00:00
parent 2cf1f85d7e
commit 4495467e65
15 changed files with 78 additions and 113 deletions

View File

@ -1,15 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_military_barracks_stables">
<Entity parent="template_structure_military_stable">
<Footprint>
<Square width="25.0" depth="25.0"/>
<Height>12.0</Height>
</Footprint>
<Health>
<SpawnEntityOnDeath>decay|rubble/rubble_stone_5x5</SpawnEntityOnDeath>
</Health>
<Identity>
<Civ>athen</Civ>
<SpecificName>Stratēgeîon</SpecificName>
<SpecificName>Hippṓn</SpecificName>
</Identity>
<Obstruction>
<Static width="23.0" depth="23.0"/>

View File

@ -1,12 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_military_barracks_stables">
<Entity parent="template_structure_military_stable">
<Footprint>
<Square width="25.0" depth="25.0"/>
<Height>12.0</Height>
</Footprint>
<Health>
<SpawnEntityOnDeath>decay|rubble/rubble_stone_5x5</SpawnEntityOnDeath>
</Health>
<Identity>
<Civ>brit</Civ>
<SpecificName>Eposton</SpecificName>

View File

@ -1,12 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_military_barracks_stables">
<Entity parent="template_structure_military_stable">
<Footprint>
<Square width="25.0" depth="25.0"/>
<Height>12.0</Height>
</Footprint>
<Health>
<SpawnEntityOnDeath>decay|rubble/rubble_stone_5x5</SpawnEntityOnDeath>
</Health>
<Identity>
<Civ>cart</Civ>
</Identity>

View File

@ -1,12 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_military_barracks_stables">
<Entity parent="template_structure_military_stable">
<Footprint>
<Square width="25.0" depth="25.0"/>
<Height>12.0</Height>
</Footprint>
<Health>
<SpawnEntityOnDeath>decay|rubble/rubble_stone_5x5</SpawnEntityOnDeath>
</Health>
<Identity>
<Civ>gaul</Civ>
<SpecificName>Eposton</SpecificName>

View File

@ -1,12 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_military_barracks_stables">
<Entity parent="template_structure_military_stable">
<Footprint>
<Square width="25.0" depth="25.0"/>
<Height>12.0</Height>
</Footprint>
<Health>
<SpawnEntityOnDeath>decay|rubble/rubble_stone_5x5</SpawnEntityOnDeath>
</Health>
<Identity>
<Civ>iber</Civ>
</Identity>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_military_barracks_stables">
<Entity parent="template_structure_military_stable">
<Footprint>
<Square width="24.0" depth="26.0"/>
<Height>10.0</Height>
@ -7,22 +7,12 @@
<Identity>
<Civ>kush</Civ>
<SpecificName>Ỉḥ Ssmt</SpecificName>
<Icon>structures/pers_stable.png</Icon>
</Identity>
<Obstruction>
<Static width="20.0" depth="22.0"/>
</Obstruction>
<ProductionQueue>
<Entities datatype="tokens">
units/{civ}_cavalry_javelinist_b
-units/{civ}_infantry_javelinist_b
-units/{civ}_infantry_slinger_b
-units/{civ}_infantry_archer_b
</Entities>
<Technologies datatype="tokens">
</Technologies>
</ProductionQueue>
<VisualActor>
<Actor>structures/kushites/stable.xml</Actor>
<FoundationActor>structures/fndn_6x7.xml</FoundationActor>
</VisualActor>
</Entity>

View File

@ -1,15 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_military_barracks_stables">
<Entity parent="template_structure_military_stable">
<Footprint>
<Square width="25.0" depth="25.0"/>
<Height>12.0</Height>
</Footprint>
<Health>
<SpawnEntityOnDeath>decay|rubble/rubble_stone_5x5</SpawnEntityOnDeath>
</Health>
<Identity>
<Civ>mace</Civ>
<SpecificName>Stratēgeîon</SpecificName>
<SpecificName>Hippṓn</SpecificName>
</Identity>
<Obstruction>
<Static width="23.0" depth="23.0"/>

View File

@ -1,12 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_military_barracks_stables">
<Entity parent="template_structure_military_stable">
<Footprint>
<Square width="25.0" depth="25.0"/>
<Height>12.0</Height>
</Footprint>
<Health>
<SpawnEntityOnDeath>decay|rubble/rubble_stone_5x5</SpawnEntityOnDeath>
</Health>
<Identity>
<Civ>maur</Civ>
</Identity>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_military_barracks">
<Entity parent="template_structure_military_stable">
<Cost>
<Resources>
<wood>0</wood>
@ -10,42 +10,13 @@
<Square width="22.0" depth="20.0"/>
<Height>5.0</Height>
</Footprint>
<Health>
<SpawnEntityOnDeath>decay|rubble/rubble_stone_4x4</SpawnEntityOnDeath>
</Health>
<Identity>
<Civ>pers</Civ>
<GenericName>Cavalry Stables</GenericName>
<SpecificName>Paraspa</SpecificName>
<VisibleClasses datatype="tokens">-Barracks Stables</VisibleClasses>
<Tooltip>Train citizen-cavalry units.</Tooltip>
<Icon>structures/pers_stable.png</Icon>
</Identity>
<Obstruction>
<Static width="18.0" depth="16.0"/>
</Obstruction>
<ProductionQueue>
<Entities datatype="tokens">
-units/{civ}_infantry_spearman_b
-units/{civ}_infantry_pikeman_b
-units/{civ}_infantry_swordsman_b
-units/{civ}_infantry_javelinist_b
-units/{civ}_infantry_slinger_b
-units/{civ}_infantry_archer_b
</Entities>
<Technologies datatype="tokens">
-training_conscription
persians/training_levy_cavalry
persians/training_conscription_cavalry
successors/special_war_horses
</Technologies>
</ProductionQueue>
<Sound>
<SoundGroups>
<select>interface/select/building/sel_cavalry_stables.xml</select>
<constructed>interface/complete/building/complete_cavalry_stables.xml</constructed>
</SoundGroups>
</Sound>
<VisualActor>
<Actor>structures/persians/stable.xml</Actor>
<FoundationActor>structures/fndn_6x5.xml</FoundationActor>

View File

@ -1,14 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_military_barracks_stables">
<Entity parent="template_structure_military_stable">
<Footprint>
<Square width="25.0" depth="25.0"/>
<Height>12.0</Height>
</Footprint>
<Health>
<SpawnEntityOnDeath>decay|rubble/rubble_stone_5x5</SpawnEntityOnDeath>
</Health>
<Identity>
<Civ>ptol</Civ>
<SpecificName>Hippṓn</SpecificName>
</Identity>
<Obstruction>
<Static width="23.0" depth="23.0"/>

View File

@ -1,12 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_military_barracks_stables">
<Entity parent="template_structure_military_stable">
<Footprint>
<Square width="25.0" depth="25.0"/>
<Height>12.0</Height>
</Footprint>
<Health>
<SpawnEntityOnDeath>decay|rubble/rubble_stone_5x5</SpawnEntityOnDeath>
</Health>
<Identity>
<Civ>rome</Civ>
</Identity>

View File

@ -1,14 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_military_barracks_stables">
<Entity parent="template_structure_military_stable">
<Footprint>
<Square width="25.0" depth="25.0"/>
<Height>12.0</Height>
</Footprint>
<Health>
<SpawnEntityOnDeath>decay|rubble/rubble_stone_5x5</SpawnEntityOnDeath>
</Health>
<Identity>
<Civ>sele</Civ>
<SpecificName>Hippṓn</SpecificName>
</Identity>
<Obstruction>
<Static width="20.0" depth="20.0"/>

View File

@ -1,15 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_military_barracks_stables">
<Entity parent="template_structure_military_stable">
<Footprint>
<Square width="25.0" depth="25.0"/>
<Height>12.0</Height>
</Footprint>
<Health>
<SpawnEntityOnDeath>decay|rubble/rubble_stone_5x5</SpawnEntityOnDeath>
</Health>
<Identity>
<Civ>spart</Civ>
<SpecificName>Stratēgeîon</SpecificName>
<SpecificName>Hippṓn</SpecificName>
</Identity>
<Obstruction>
<Static width="20.0" depth="20.0"/>

View File

@ -1,24 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_military_barracks">
<GarrisonHolder>
<List datatype="tokens">-Infantry</List>
</GarrisonHolder>
<Identity>
<GenericName>Stables</GenericName>
<Tooltip>Train citizen-soldier cavalry. Research training improvements.</Tooltip>
<Icon>structures/barracks.png</Icon>
<Classes datatype="tokens">Stables</Classes>
</Identity>
<ProductionQueue>
<BatchTimeModifier>0.8</BatchTimeModifier>
<Entities datatype="tokens">
-units/{civ}_infantry_spearman_b
-units/{civ}_infantry_pikeman_b
-units/{civ}_infantry_swordsman_b
units/{civ}_cavalry_swordsman_b
units/{civ}_cavalry_spearman_b
units/{civ}_cavalry_javelinist_b
units/{civ}_cavalry_archer_b
</Entities>
</ProductionQueue>
</Entity>

View File

@ -0,0 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_military">
<Cost>
<BuildTime>150</BuildTime>
<Resources>
<wood>300</wood>
</Resources>
</Cost>
<Footprint>
<Square width="25.0" depth="25.0"/>
<Height>12.0</Height>
</Footprint>
<GarrisonHolder>
<Max>10</Max>
<List datatype="tokens">Cavalry</List>
</GarrisonHolder>
<Health>
<Max>2000</Max>
<SpawnEntityOnDeath>decay|rubble/rubble_stone_5x5</SpawnEntityOnDeath>
</Health>
<Identity>
<GenericName>Stable</GenericName>
<Icon>structures/pers_stable.png</Icon>
<RequiredTechnology>phase_village</RequiredTechnology>
<Tooltip>Train citizen-soldier cavalry. Research training improvements.</Tooltip>
<VisibleClasses datatype="tokens">Village Stables</VisibleClasses>
</Identity>
<Loot>
<wood>30</wood>
<stone>0</stone>
</Loot>
<Obstruction>
<Static width="20.0" depth="20.0"/>
</Obstruction>
<ProductionQueue>
<BatchTimeModifier>0.8</BatchTimeModifier>
<Entities datatype="tokens">
units/{civ}_cavalry_swordsman_b
units/{civ}_cavalry_spearman_b
units/{civ}_cavalry_javelinist_b
units/{civ}_cavalry_archer_b
</Entities>
<Technologies datatype="tokens">
heal_barracks
persians/training_levy_cavalry
persians/training_conscription_cavalry
successors/special_war_horses
</Technologies>
</ProductionQueue>
<Sound>
<SoundGroups>
<select>interface/select/building/sel_cavalry_stables.xml</select>
<constructed>interface/complete/building/complete_cavalry_stables.xml</constructed>
</SoundGroups>
</Sound>
<Vision>
<Range>32</Range>
</Vision>
</Entity>