Bring the palisade templates under their own parent (instead of the stone wall).

While at it:
- Remove the stone cost/loot from palisades
- Change the gate tooltip to not mention stone walls
- Standartize palisade armour (don't reuse the walls' armour)
- Demand village phase instead of town phase for all palisades
- Remove stone wall classes from palisades

Patch By: Nescio
Differential Revision: https://code.wildfiregames.com/D1796
This was SVN commit r22202.
This commit is contained in:
bb
2019-04-21 14:55:36 +00:00
parent f9b529f2fb
commit a7c2f40ac5
15 changed files with 127 additions and 161 deletions
@@ -1,29 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_defensive_wall">
<Entity parent="template_structure_defensive_palisade">
<Cost>
<BuildTime>8</BuildTime>
<Resources>
<wood>5</wood>
</Resources>
</Cost>
<Footprint>
<Square width="3.5" depth="1.0"/>
<Height>9.0</Height>
</Footprint>
<Health>
<Max>500</Max>
<Max op="mul">0.5</Max>
</Health>
<Identity>
<SpecificName>Palisade Angle Spike</SpecificName>
<GenericName>Big Spike</GenericName>
<Classes datatype="tokens">-StoneWall Palisade</Classes>
<SpecificName>Angle Spike</SpecificName>
</Identity>
<Loot>
<wood>10</wood>
<stone>0</stone>
</Loot>
<Obstruction>
<Static width="3.5" depth="1.5"/>
</Obstruction>
<TerritoryDecay disable=""/>
<TerritoryInfluence disable=""/>
<VisualActor>
<Actor>props/special/palisade_angle_spike.xml</Actor>
</VisualActor>
@@ -1,29 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_defensive_wall">
<Entity parent="template_structure_defensive_palisade">
<Cost>
<BuildTime>12</BuildTime>
<Resources>
<wood>10</wood>
</Resources>
</Cost>
<Footprint>
<Square width="3.5" depth="8.5"/>
<Height>9.0</Height>
</Footprint>
<Health>
<Max>1000</Max>
</Health>
<Identity>
<SpecificName>Palisade Curve</SpecificName>
<GenericName>Wooden Wall Corner</GenericName>
<Classes datatype="tokens">-StoneWall Palisade</Classes>
<Icon>gaia/special_palisade.png</Icon>
</Identity>
<Loot>
<wood>10</wood>
<stone>0</stone>
</Loot>
<Obstruction>
<Static width="3.0" depth="8.0"/>
</Obstruction>
<TerritoryInfluence disable=""/>
<VisualActor>
<Actor>props/special/palisade_rocks_curve.xml</Actor>
</VisualActor>
@@ -1,25 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_defensive_wall">
<Entity parent="template_structure_defensive_palisade">
<Cost>
<BuildTime>8</BuildTime>
<Resources>
<wood>5</wood>
</Resources>
</Cost>
<Footprint>
<Square width="1.5" depth="3.0"/>
<Height>9.0</Height>
</Footprint>
<Health>
<Max>1000</Max>
</Health>
<Identity>
<SpecificName>Palisade End</SpecificName>
<GenericName>Wooden Wall End</GenericName>
<Classes datatype="tokens">-StoneWall Palisade</Classes>
<Icon>gaia/special_palisade.png</Icon>
</Identity>
<Obstruction>
<Static width="1.5" depth="3.0"/>
</Obstruction>
<TerritoryInfluence disable=""/>
<VisualActor>
<Actor>props/special/palisade_rocks_end.xml</Actor>
</VisualActor>
@@ -1,14 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_defensive_tower_sentry">
<Capturable disable=""/>
<Footprint>
<Square width="9.5" depth="8.5"/>
<Height>9.0</Height>
</Footprint>
<Identity>
<SpecificName>Palisade Fort</SpecificName>
<GenericName>Wooden Tower</GenericName>
<Icon>structures/palisade_fort.png</Icon>
<Classes datatype="tokens">Palisade</Classes>
</Identity>
<Obstruction>
<Static width="9.0" depth="7.5"/>
</Obstruction>
<ProductionQueue disable=""/>
<Upgrade disable=""/>
<VisualActor>
<Actor>props/special/palisade_rocks_fort.xml</Actor>
</VisualActor>
<WallPiece>
<Length>8.0</Length>
</WallPiece>
@@ -1,29 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_defensive_wall_gate">
<Armour>
<Hack>4.0</Hack>
<Pierce>25.0</Pierce>
<Crush>2.0</Crush>
</Armour>
<Entity parent="template_structure_defensive_palisade">
<Cost>
<BuildTime>11</BuildTime>
<Resources>
<wood>20</wood>
</Resources>
</Cost>
<Footprint>
<Square width="16" depth="3.0"/>
<Height>9.0</Height>
</Footprint>
<Gate>
<PassRange>20</PassRange>
</Gate>
<Health>
<Max op="mul">0.25</Max>
<SpawnEntityOnDeath>decay|rubble/rubble_stone_2x2</SpawnEntityOnDeath>
<Max op="mul">0.64</Max>
</Health>
<Identity>
<Classes datatype="tokens">Gates</Classes>
<SpecificName>Palisade Gate</SpecificName>
<GenericName>Wooden Gate</GenericName>
<Classes datatype="tokens">-StoneWall Palisade</Classes>
<Icon>structures/wooden_gate.png</Icon>
<RequiredTechnology>phase_village</RequiredTechnology>
<Tooltip>Allow units access through a palisade wall. Can be locked to prevent access.</Tooltip>
</Identity>
<Loot>
<wood>10</wood>
<stone>0</stone>
</Loot>
<Obstruction>
<Obstructions>
<Right width="2" depth="2" x="6" z="0"/>
@@ -31,10 +29,19 @@
<Door width="10" depth="2" x="0" z="0"/>
</Obstructions>
</Obstruction>
<Sound>
<SoundGroups>
<select>interface/select/building/sel_gate.xml</select>
<constructed>interface/complete/building/complete_gate.xml</constructed>
<gate_closing>actor/gate/stonegate_close.xml</gate_closing>
<gate_opening>actor/gate/stonegate_open.xml</gate_opening>
<gate_locked>interface/select/building/sel_gate.xml</gate_locked>
<gate_unlocked>interface/select/building/sel_gate.xml</gate_unlocked>
</SoundGroups>
</Sound>
<StatusBars>
<HeightOffset>9.0</HeightOffset>
</StatusBars>
<TerritoryInfluence disable=""/>
<VisualActor>
<FoundationActor>structures/fndn_1x3pal.xml</FoundationActor>
<Actor>props/special/palisade_rocks_gate.xml</Actor>
@@ -1,54 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_defensive_wall_long">
<Armour>
<Hack>4.0</Hack>
<Pierce>25.0</Pierce>
<Crush>2.0</Crush>
</Armour>
<Entity parent="template_structure_defensive_palisade">
<Cost>
<BuildTime>11</BuildTime>
<Resources>
<wood>13</wood>
<stone>0</stone>
</Resources>
</Cost>
<Footprint>
<Square width="15" depth="3.0"/>
<Height>9.0</Height>
</Footprint>
<GarrisonHolder disable=""/>
<Health>
<Max op="mul">0.25</Max>
<SpawnEntityOnDeath>decay|rubble/rubble_stone_2x2</SpawnEntityOnDeath>
<Max op="mul">0.75</Max>
</Health>
<Identity>
<SelectionGroupName>other/wallset_palisade</SelectionGroupName>
<SpecificName>Palisade</SpecificName>
<GenericName>Wooden Wall</GenericName>
<Classes datatype="tokens">-StoneWall Palisade</Classes>
<Icon>gaia/special_palisade.png</Icon>
<RequiredTechnology>phase_village</RequiredTechnology>
</Identity>
<Loot>
<wood>10</wood>
<stone>0</stone>
</Loot>
<Obstruction>
<Static width="14" depth="2.0"/>
</Obstruction>
<RallyPoint disable=""/>
<StatusBars>
<HeightOffset>9.0</HeightOffset>
</StatusBars>
<TerritoryInfluence disable=""/>
<Upgrade>
<Gate>
<Entity>other/palisades_rocks_gate</Entity>
<Cost>
<stone>0</stone>
<wood>20</wood>
</Cost>
<Time>5</Time>
<Tooltip>This will allow you to let units circulate through your fortifications.</Tooltip>
</Gate>
</Upgrade>
<VisualActor>
@@ -1,46 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_defensive_wall_medium">
<Armour>
<Hack>4.0</Hack>
<Pierce>25.0</Pierce>
<Crush>2.0</Crush>
</Armour>
<Entity parent="template_structure_defensive_palisade">
<Cost>
<BuildTime>8</BuildTime>
<Resources>
<wood>7</wood>
<stone>0</stone>
</Resources>
</Cost>
<Footprint>
<Square width="11" depth="3.0"/>
<Height>9.0</Height>
</Footprint>
<GarrisonHolder disable=""/>
<Health>
<Max op="mul">0.25</Max>
<SpawnEntityOnDeath>decay|rubble/rubble_stone_2x2</SpawnEntityOnDeath>
<Max op="mul">0.5</Max>
</Health>
<Identity>
<SelectionGroupName>other/wallset_palisade</SelectionGroupName>
<SpecificName>Palisade</SpecificName>
<GenericName>Wooden Wall</GenericName>
<Classes datatype="tokens">-StoneWall Palisade</Classes>
<Icon>gaia/special_palisade.png</Icon>
<RequiredTechnology>phase_village</RequiredTechnology>
</Identity>
<Loot>
<wood>10</wood>
<stone>0</stone>
</Loot>
<Obstruction>
<Static width="10" depth="2.0"/>
</Obstruction>
<RallyPoint disable=""/>
<StatusBars>
<HeightOffset>9.0</HeightOffset>
</StatusBars>
<TerritoryInfluence disable=""/>
<VisualActor>
<Actor>props/special/palisade_rocks_medium.xml</Actor>
<FoundationActor>structures/fndn_1x3pal.xml</FoundationActor>
@@ -1,19 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_defensive_wall">
<Entity parent="template_structure_defensive_palisade">
<Cost>
<BuildTime>18</BuildTime>
<Resources>
<wood>50</wood>
</Resources>
</Cost>
<Footprint>
<Square width="6.0" depth="6.0"/>
<Height>15.0</Height>
</Footprint>
<Health>
<Max>2000</Max>
<Max op="mul">2.0</Max>
</Health>
<Identity>
<SpecificName>Outpost</SpecificName>
<GenericName>Wooden Watch Tower</GenericName>
<Classes datatype="tokens">-StoneWall Palisade</Classes>
</Identity>
<Obstruction>
<Static width="6.0" depth="6.0"/>
@@ -1,15 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_defensive_wall_short">
<Armour>
<Hack>4.0</Hack>
<Pierce>25.0</Pierce>
<Crush>2.0</Crush>
</Armour>
<Entity parent="template_structure_defensive_palisade">
<Cost>
<BuildTime>5</BuildTime>
<Resources>
<wood>4</wood>
<stone>0</stone>
</Resources>
</Cost>
<Footprint>
@@ -18,15 +12,10 @@
</Footprint>
<Health>
<Max op="mul">0.25</Max>
<SpawnEntityOnDeath>decay|rubble/rubble_stone_2x2</SpawnEntityOnDeath>
</Health>
<Identity>
<SelectionGroupName>other/wallset_palisade</SelectionGroupName>
<SpecificName>Palisade</SpecificName>
<GenericName>Wooden Wall</GenericName>
<Classes datatype="tokens">-StoneWall Palisade</Classes>
<Icon>gaia/special_palisade.png</Icon>
<RequiredTechnology>phase_village</RequiredTechnology>
</Identity>
<Obstruction>
<Static width="4.5" depth="2.0"/>
@@ -34,7 +23,6 @@
<StatusBars>
<HeightOffset>9.0</HeightOffset>
</StatusBars>
<TerritoryInfluence disable=""/>
<VisualActor>
<Actor>props/special/palisade_rocks_short.xml</Actor>
<FoundationActor>structures/fndn_1x1pal.xml</FoundationActor>
@@ -1,25 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_defensive_wall">
<Entity parent="template_structure_defensive_palisade">
<Cost>
<BuildTime>12</BuildTime>
<Resources>
<wood>10</wood>
</Resources>
</Cost>
<Footprint>
<Square width="3.0" depth="15.0"/>
<Height>9.0</Height>
</Footprint>
<Health>
<Max>1000</Max>
</Health>
<Identity>
<SpecificName>Palisade</SpecificName>
<GenericName>Wooden Wall</GenericName>
<Classes datatype="tokens">-StoneWall Palisade</Classes>
<Icon>gaia/special_palisade.png</Icon>
</Identity>
<Obstruction>
<Static width="3.0" depth="15.0"/>
</Obstruction>
<TerritoryInfluence disable=""/>
<VisualActor>
<Actor>props/special/palisade_rocks_straight.xml</Actor>
</VisualActor>
@@ -1,15 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_defensive_wall">
<Armour>
<Hack>4.0</Hack>
<Pierce>25.0</Pierce>
<Crush>2.0</Crush>
</Armour>
<Entity parent="template_structure_defensive_palisade">
<Cost>
<BuildTime>7</BuildTime>
<Resources>
<wood>5</wood>
<stone>0</stone>
</Resources>
</Cost>
<Footprint>
@@ -17,20 +11,13 @@
<Height>9.0</Height>
</Footprint>
<Health>
<Max op="mul">0.25</Max>
<Max op="mul">0.75</Max>
</Health>
<Identity>
<SelectionGroupName>other/wallset_palisade</SelectionGroupName>
<SpecificName>Palisade</SpecificName>
<GenericName>Wooden Wall</GenericName>
<Classes datatype="tokens">-StoneWall Palisade Tower</Classes>
<Icon>gaia/special_palisade.png</Icon>
<RequiredTechnology>phase_village</RequiredTechnology>
<Classes datatype="tokens">Tower</Classes>
</Identity>
<Loot>
<wood>10</wood>
<stone>0</stone>
</Loot>
<Obstruction>
<Static width="4.0" depth="4.0"/>
<ControlPersist/>
@@ -38,7 +25,6 @@
<StatusBars>
<HeightOffset>9.0</HeightOffset>
</StatusBars>
<TerritoryInfluence disable=""/>
<VisualActor>
<Actor>props/special/palisade_rocks_tower.xml</Actor>
<FoundationActor>structures/fndn_1x1pal.xml</FoundationActor>
@@ -1,24 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_defensive_wall">
<Entity parent="template_structure_defensive_palisade">
<Cost>
<BuildTime>18</BuildTime>
<Resources>
<wood>15</wood>
</Resources>
</Cost>
<Footprint>
<Square width="5.0" depth="5.0"/>
<Height>12.0</Height>
</Footprint>
<Health>
<Max>1000</Max>
</Health>
<Identity>
<SpecificName>Watchtower</SpecificName>
<GenericName>Wooden Watch Tower</GenericName>
<Classes datatype="tokens">-StoneWall Palisade Tower</Classes>
</Identity>
<Loot>
<wood>10</wood>
<stone>0</stone>
</Loot>
<Obstruction>
<Static width="5.0" depth="5.0"/>
<ControlPersist/>
@@ -1,30 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_defensive_wall">
<Entity parent="template_structure_defensive_palisade">
<Cost>
<BuildTime>12</BuildTime>
<Resources>
<wood>3</wood>
</Resources>
</Cost>
<Footprint>
<Square width="3.0" depth="11.0"/>
<Height>2.0</Height>
</Footprint>
<Health>
<Max>200</Max>
<Max op="mul">0.2</Max>
</Health>
<Identity>
<SpecificName>Spikes Small</SpecificName>
<GenericName>Small Spikes</GenericName>
<Classes datatype="tokens">-StoneWall Palisade</Classes>
<Icon>gaia/special_palisade.png</Icon>
<SpecificName>Small Spikes</SpecificName>
</Identity>
<Loot>
<wood>10</wood>
<stone>0</stone>
</Loot>
<Obstruction>
<Static width="3.0" depth="11.0"/>
</Obstruction>
<TerritoryDecay disable=""/>
<TerritoryInfluence disable=""/>
<VisualActor>
<Actor>props/special/palisade_small_spikes.xml</Actor>
</VisualActor>
@@ -1,30 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_defensive_wall">
<Entity parent="template_structure_defensive_palisade">
<Cost>
<BuildTime>12</BuildTime>
<Resources>
<wood>9</wood>
</Resources>
</Cost>
<Footprint>
<Square width="3.0" depth="11.0"/>
<Height>2.0</Height>
</Footprint>
<Health>
<Max>500</Max>
<Max op="mul">0.5</Max>
</Health>
<Identity>
<SpecificName>Spikes Tall</SpecificName>
<GenericName>Tall Spikes</GenericName>
<Classes datatype="tokens">-StoneWall Palisade</Classes>
<Icon>gaia/special_palisade.png</Icon>
<SpecificName>Tall Spikes</SpecificName>
</Identity>
<Loot>
<wood>10</wood>
<stone>0</stone>
</Loot>
<Obstruction>
<Static width="3.0" depth="11.0"/>
</Obstruction>
<TerritoryDecay disable=""/>
<TerritoryInfluence disable=""/>
<VisualActor>
<Actor>props/special/palisade_tall_spikes.xml</Actor>
</VisualActor>
@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_structure_defensive">
<Armour>
<Hack>4</Hack>
<Pierce>25</Pierce>
<Crush>2</Crush>
</Armour>
<BuildRestrictions>
<PlacementType>land-shore</PlacementType>
<Category>Wall</Category>
</BuildRestrictions>
<Capturable>
<CapturePoints>1200</CapturePoints>
</Capturable>
<Health>
<Max>1000</Max>
<SpawnEntityOnDeath>decay|rubble/rubble_stone_2x2</SpawnEntityOnDeath>
</Health>
<Identity>
<Classes datatype="tokens">Palisade</Classes>
<GenericName>Wooden Wall</GenericName>
<Tooltip>Wall off your town for a stout defense.</Tooltip>
<Icon>gaia/special_palisade.png</Icon>
<RequiredTechnology>phase_village</RequiredTechnology>
</Identity>
<Loot>
<wood>10</wood>
</Loot>
<ProductionQueue disable=""/>
<RallyPoint disable=""/>
<Repairable>
<RepairTimeRatio>4.5</RepairTimeRatio>
</Repairable>
<Sound>
<SoundGroups>
<select>interface/select/building/sel_wall.xml</select>
<constructed>interface/complete/building/complete_wall.xml</constructed>
</SoundGroups>
</Sound>
<TerritoryDecay>
<DecayRate>5.0</DecayRate>
</TerritoryDecay>
<Vision>
<Range>20</Range>
</Vision>
</Entity>