forked from mirrors/0ad
Factors out common properties from siege templates, refs #1718. Simplifies pack-related tooltips.
This was SVN commit r12937.
This commit is contained in:
@@ -16,6 +16,9 @@ function displaySingle(entState, template)
|
|||||||
// Get general unit and player data
|
// Get general unit and player data
|
||||||
var specificName = template.name.specific;
|
var specificName = template.name.specific;
|
||||||
var genericName = template.name.generic != template.name.specific? template.name.generic : "";
|
var genericName = template.name.generic != template.name.specific? template.name.generic : "";
|
||||||
|
// If packed, add that to the generic name (reduces template clutter)
|
||||||
|
if (genericName && template.pack.state == "packed")
|
||||||
|
genericName += " -- Packed";
|
||||||
var playerState = g_Players[entState.player];
|
var playerState = g_Players[entState.player];
|
||||||
|
|
||||||
var civName = g_CivData[playerState.civ].Name;
|
var civName = g_CivData[playerState.civ].Name;
|
||||||
|
|||||||
@@ -1111,13 +1111,13 @@ function updateUnitCommands(entState, supplementalDetailsPanel, commandsPanel, s
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (packButton)
|
if (packButton)
|
||||||
items.push({ "packing": false, "packed": false, "tooltip": "Pack this unit", "callback": function() { packUnit(true); } });
|
items.push({ "packing": false, "packed": false, "tooltip": "Pack", "callback": function() { packUnit(true); } });
|
||||||
if (unpackButton)
|
if (unpackButton)
|
||||||
items.push({ "packing": false, "packed": true, "tooltip": "Unpack this unit", "callback": function() { packUnit(false); } });
|
items.push({ "packing": false, "packed": true, "tooltip": "Unpack", "callback": function() { packUnit(false); } });
|
||||||
if (packCancelButton)
|
if (packCancelButton)
|
||||||
items.push({ "packing": true, "packed": false, "tooltip": "Stop packing this unit", "callback": function() { cancelPackUnit(true); } });
|
items.push({ "packing": true, "packed": false, "tooltip": "Cancel packing", "callback": function() { cancelPackUnit(true); } });
|
||||||
if (unpackCancelButton)
|
if (unpackCancelButton)
|
||||||
items.push({ "packing": true, "packed": true, "tooltip": "Stop unpacking this unit", "callback": function() { cancelPackUnit(false); } });
|
items.push({ "packing": true, "packed": true, "tooltip": "Cancel unpacking", "callback": function() { cancelPackUnit(false); } });
|
||||||
|
|
||||||
if (items.length)
|
if (items.length)
|
||||||
setupUnitPanel(PACK, usedPanels, entState, playerState, items);
|
setupUnitPanel(PACK, usedPanels, entState, playerState, items);
|
||||||
|
|||||||
+2
-7
@@ -57,11 +57,6 @@
|
|||||||
<stone>0</stone>
|
<stone>0</stone>
|
||||||
<metal>10</metal>
|
<metal>10</metal>
|
||||||
</Loot>
|
</Loot>
|
||||||
<Pack>
|
|
||||||
<Entity>template_unit_mechanical_siege_ballista_packed</Entity>
|
|
||||||
<Time>10000</Time>
|
|
||||||
<State>unpacked</State>
|
|
||||||
</Pack>
|
|
||||||
<Selectable>
|
<Selectable>
|
||||||
<Overlay>
|
<Overlay>
|
||||||
<Texture>
|
<Texture>
|
||||||
@@ -71,9 +66,9 @@
|
|||||||
</Overlay>
|
</Overlay>
|
||||||
</Selectable>
|
</Selectable>
|
||||||
<UnitMotion>
|
<UnitMotion>
|
||||||
<WalkSpeed>0.001</WalkSpeed>
|
<WalkSpeed>6.5</WalkSpeed>
|
||||||
<Run>
|
<Run>
|
||||||
<Speed>0.001</Speed>
|
<Speed>12.0</Speed>
|
||||||
</Run>
|
</Run>
|
||||||
</UnitMotion>
|
</UnitMotion>
|
||||||
<Vision>
|
<Vision>
|
||||||
-85
@@ -1,85 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Entity parent="template_unit_mechanical_siege">
|
|
||||||
<Armour>
|
|
||||||
<Hack>4.0</Hack>
|
|
||||||
<Crush>2.0</Crush>
|
|
||||||
</Armour>
|
|
||||||
<Attack>
|
|
||||||
<Ranged>
|
|
||||||
<Hack>0.0</Hack>
|
|
||||||
<Pierce>20.0</Pierce>
|
|
||||||
<Crush>20.0</Crush>
|
|
||||||
<MaxRange>60</MaxRange>
|
|
||||||
<MinRange>8.0</MinRange>
|
|
||||||
<Spread>6.0</Spread>
|
|
||||||
<ProjectileSpeed>60.0</ProjectileSpeed>
|
|
||||||
<PrepareTime>5000</PrepareTime>
|
|
||||||
<RepeatTime>5000</RepeatTime>
|
|
||||||
<Bonuses>
|
|
||||||
<BonusOrganic>
|
|
||||||
<Classes>Organic</Classes>
|
|
||||||
<Multiplier>2.0</Multiplier>
|
|
||||||
</BonusOrganic>
|
|
||||||
</Bonuses>
|
|
||||||
<Splash>
|
|
||||||
<Shape>Linear</Shape>
|
|
||||||
<Range>12</Range>
|
|
||||||
<FriendlyFire>false</FriendlyFire>
|
|
||||||
<Hack>0.0</Hack>
|
|
||||||
<Pierce>30.0</Pierce>
|
|
||||||
<Crush>30.0</Crush>
|
|
||||||
</Splash>
|
|
||||||
</Ranged>
|
|
||||||
</Attack>
|
|
||||||
<Cost>
|
|
||||||
<BuildTime>20</BuildTime>
|
|
||||||
<Resources>
|
|
||||||
<wood>100</wood>
|
|
||||||
<metal>100</metal>
|
|
||||||
</Resources>
|
|
||||||
<Population>2</Population>
|
|
||||||
</Cost>
|
|
||||||
<Footprint replace="">
|
|
||||||
<Square width="8.0" depth="9.0"/>
|
|
||||||
<Height>2.0</Height>
|
|
||||||
</Footprint>
|
|
||||||
<Health>
|
|
||||||
<Max>100</Max>
|
|
||||||
</Health>
|
|
||||||
<Identity>
|
|
||||||
<GenericName>Bolt Shooter -- Packed</GenericName>
|
|
||||||
<Tooltip>Bonused vs. Infantry and Cavalry units.</Tooltip>
|
|
||||||
</Identity>
|
|
||||||
<Loot>
|
|
||||||
<xp>200</xp>
|
|
||||||
<food>0</food>
|
|
||||||
<wood>10</wood>
|
|
||||||
<stone>0</stone>
|
|
||||||
<metal>10</metal>
|
|
||||||
</Loot>
|
|
||||||
<Pack>
|
|
||||||
<Entity>template_unit_mechanical_siege_ballista_unpacked</Entity>
|
|
||||||
<Time>10000</Time>
|
|
||||||
<State>packed</State>
|
|
||||||
</Pack>
|
|
||||||
<Selectable>
|
|
||||||
<Overlay>
|
|
||||||
<Texture>
|
|
||||||
<MainTexture>circle/256x256.png</MainTexture>
|
|
||||||
<MainTextureMask>circle/256x256_mask.png</MainTextureMask>
|
|
||||||
</Texture>
|
|
||||||
</Overlay>
|
|
||||||
</Selectable>
|
|
||||||
<UnitAI>
|
|
||||||
<DefaultStance>passive</DefaultStance>
|
|
||||||
</UnitAI>
|
|
||||||
<UnitMotion>
|
|
||||||
<WalkSpeed>6.5</WalkSpeed>
|
|
||||||
<Run>
|
|
||||||
<Speed>12.0</Speed>
|
|
||||||
</Run>
|
|
||||||
</UnitMotion>
|
|
||||||
<Vision>
|
|
||||||
<Range>70</Range>
|
|
||||||
</Vision>
|
|
||||||
</Entity>
|
|
||||||
+1
-6
@@ -50,7 +50,7 @@
|
|||||||
<Max>150</Max>
|
<Max>150</Max>
|
||||||
</Health>
|
</Health>
|
||||||
<Identity>
|
<Identity>
|
||||||
<GenericName>Siege Catapult -- Packed</GenericName>
|
<GenericName>Siege Catapult</GenericName>
|
||||||
<Tooltip>Bonused vs. Structures and Massed Infantry.</Tooltip>
|
<Tooltip>Bonused vs. Structures and Massed Infantry.</Tooltip>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Loot>
|
<Loot>
|
||||||
@@ -60,11 +60,6 @@
|
|||||||
<stone>10</stone>
|
<stone>10</stone>
|
||||||
<metal>0</metal>
|
<metal>0</metal>
|
||||||
</Loot>
|
</Loot>
|
||||||
<Pack>
|
|
||||||
<Entity>template_unit_mechanical_siege_onager_unpacked</Entity>
|
|
||||||
<Time>10000</Time>
|
|
||||||
<State>packed</State>
|
|
||||||
</Pack>
|
|
||||||
<Selectable>
|
<Selectable>
|
||||||
<Overlay>
|
<Overlay>
|
||||||
<Texture>
|
<Texture>
|
||||||
-97
@@ -1,97 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<Entity parent="template_unit_mechanical_siege">
|
|
||||||
<Armour>
|
|
||||||
<Hack>4.0</Hack>
|
|
||||||
<Crush>10.0</Crush>
|
|
||||||
</Armour>
|
|
||||||
<Attack>
|
|
||||||
<Ranged>
|
|
||||||
<Hack>30.0</Hack>
|
|
||||||
<Pierce>0.0</Pierce>
|
|
||||||
<Crush>30.0</Crush>
|
|
||||||
<MaxRange>68</MaxRange>
|
|
||||||
<MinRange>12.0</MinRange>
|
|
||||||
<ProjectileSpeed>28.0</ProjectileSpeed>
|
|
||||||
<PrepareTime>5000</PrepareTime>
|
|
||||||
<RepeatTime>5000</RepeatTime>
|
|
||||||
<Spread>6.0</Spread>
|
|
||||||
<Bonuses>
|
|
||||||
<BonusStruct>
|
|
||||||
<Classes>Structure</Classes>
|
|
||||||
<Multiplier>2.0</Multiplier>
|
|
||||||
</BonusStruct>
|
|
||||||
<NerfWall>
|
|
||||||
<Classes>StoneWall</Classes>
|
|
||||||
<Multiplier>0.75</Multiplier>
|
|
||||||
</NerfWall>
|
|
||||||
</Bonuses>
|
|
||||||
<Splash>
|
|
||||||
<Shape>Circular</Shape>
|
|
||||||
<Range>8</Range>
|
|
||||||
<FriendlyFire>true</FriendlyFire>
|
|
||||||
<Hack>40.0</Hack>
|
|
||||||
<Pierce>0.0</Pierce>
|
|
||||||
<Crush>40.0</Crush>
|
|
||||||
</Splash>
|
|
||||||
</Ranged>
|
|
||||||
</Attack>
|
|
||||||
<Cost>
|
|
||||||
<BuildTime>30</BuildTime>
|
|
||||||
<Resources>
|
|
||||||
<wood>200</wood>
|
|
||||||
<stone>100</stone>
|
|
||||||
</Resources>
|
|
||||||
</Cost>
|
|
||||||
<Footprint replace="">
|
|
||||||
<Square width="10.0" depth="15.0"/>
|
|
||||||
<Height>4.5</Height>
|
|
||||||
</Footprint>
|
|
||||||
<Health>
|
|
||||||
<Max>150</Max>
|
|
||||||
</Health>
|
|
||||||
<Identity>
|
|
||||||
<GenericName>Siege Catapult</GenericName>
|
|
||||||
<Tooltip>Bonused vs. Structures and Massed Infantry.</Tooltip>
|
|
||||||
</Identity>
|
|
||||||
<Loot>
|
|
||||||
<xp>300</xp>
|
|
||||||
<food>0</food>
|
|
||||||
<wood>20</wood>
|
|
||||||
<stone>10</stone>
|
|
||||||
<metal>0</metal>
|
|
||||||
</Loot>
|
|
||||||
<Pack>
|
|
||||||
<Entity>template_unit_mechanical_siege_onager_packed</Entity>
|
|
||||||
<Time>10000</Time>
|
|
||||||
<State>unpacked</State>
|
|
||||||
</Pack>
|
|
||||||
<Selectable>
|
|
||||||
<Overlay>
|
|
||||||
<Texture>
|
|
||||||
<MainTexture>circle/256x256.png</MainTexture>
|
|
||||||
<MainTextureMask>circle/256x256_mask.png</MainTextureMask>
|
|
||||||
</Texture>
|
|
||||||
</Overlay>
|
|
||||||
</Selectable>
|
|
||||||
<Sound>
|
|
||||||
<SoundGroups>
|
|
||||||
<attack>attack/siege/ballist_attack.xml</attack>
|
|
||||||
</SoundGroups>
|
|
||||||
</Sound>
|
|
||||||
<StatusBars>
|
|
||||||
<BarWidth>4.0</BarWidth>
|
|
||||||
<BarHeight>0.5</BarHeight>
|
|
||||||
</StatusBars>
|
|
||||||
<UnitAI>
|
|
||||||
<DefaultStance>standground</DefaultStance>
|
|
||||||
</UnitAI>
|
|
||||||
<UnitMotion>
|
|
||||||
<WalkSpeed>0.001</WalkSpeed>
|
|
||||||
<Run>
|
|
||||||
<Speed>0.001</Speed>
|
|
||||||
</Run>
|
|
||||||
</UnitMotion>
|
|
||||||
<Vision>
|
|
||||||
<Range>80</Range>
|
|
||||||
</Vision>
|
|
||||||
</Entity>
|
|
||||||
+13
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Entity parent="template_unit_mechanical_siege_onager">
|
||||||
|
<Identity>
|
||||||
|
<Civ>athen</Civ>
|
||||||
|
<SpecificName>Lithóbolos</SpecificName>
|
||||||
|
</Identity>
|
||||||
|
<Obstruction>
|
||||||
|
<Unit radius="3.5"/>
|
||||||
|
</Obstruction>
|
||||||
|
<Vision>
|
||||||
|
<Range>88</Range>
|
||||||
|
</Vision>
|
||||||
|
</Entity>
|
||||||
+3
-9
@@ -1,19 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Entity parent="template_unit_mechanical_siege_onager_packed">
|
<Entity parent="units/athen_mechanical_siege_lithobolos_common">
|
||||||
<Identity>
|
<Identity>
|
||||||
<Civ>athen</Civ>
|
|
||||||
<SpecificName>Lithóbolos</SpecificName>
|
|
||||||
<Icon>units/hele_mechanical_siege_lithobolos_packed.png</Icon>
|
<Icon>units/hele_mechanical_siege_lithobolos_packed.png</Icon>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Obstruction>
|
|
||||||
<Unit radius="3.5"/>
|
|
||||||
</Obstruction>
|
|
||||||
<Pack>
|
<Pack>
|
||||||
<Entity>units/athen_mechanical_siege_lithobolos_unpacked</Entity>
|
<Entity>units/athen_mechanical_siege_lithobolos_unpacked</Entity>
|
||||||
|
<Time>10000</Time>
|
||||||
|
<State>packed</State>
|
||||||
</Pack>
|
</Pack>
|
||||||
<Vision>
|
|
||||||
<Range>88</Range>
|
|
||||||
</Vision>
|
|
||||||
<VisualActor>
|
<VisualActor>
|
||||||
<Actor>units/athenians/siege_rock_packed.xml</Actor>
|
<Actor>units/athenians/siege_rock_packed.xml</Actor>
|
||||||
</VisualActor>
|
</VisualActor>
|
||||||
|
|||||||
+9
-9
@@ -1,19 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Entity parent="template_unit_mechanical_siege_onager_unpacked">
|
<Entity parent="units/athen_mechanical_siege_lithobolos_common">
|
||||||
<Identity>
|
<Identity>
|
||||||
<Civ>athen</Civ>
|
|
||||||
<SpecificName>Lithóbolos</SpecificName>
|
|
||||||
<Icon>units/hele_mechanical_siege_lithobolos.png</Icon>
|
<Icon>units/hele_mechanical_siege_lithobolos.png</Icon>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Obstruction>
|
|
||||||
<Unit radius="3.5"/>
|
|
||||||
</Obstruction>
|
|
||||||
<Pack>
|
<Pack>
|
||||||
<Entity>units/athen_mechanical_siege_lithobolos_packed</Entity>
|
<Entity>units/athen_mechanical_siege_lithobolos_packed</Entity>
|
||||||
|
<Time>10000</Time>
|
||||||
|
<State>unpacked</State>
|
||||||
</Pack>
|
</Pack>
|
||||||
<Vision>
|
<UnitMotion>
|
||||||
<Range>88</Range>
|
<WalkSpeed>0.001</WalkSpeed>
|
||||||
</Vision>
|
<Run>
|
||||||
|
<Speed>0.001</Speed>
|
||||||
|
</Run>
|
||||||
|
</UnitMotion>
|
||||||
<VisualActor>
|
<VisualActor>
|
||||||
<Actor>units/athenians/siege_rock.xml</Actor>
|
<Actor>units/athenians/siege_rock.xml</Actor>
|
||||||
</VisualActor>
|
</VisualActor>
|
||||||
|
|||||||
+13
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Entity parent="template_unit_mechanical_siege_ballista">
|
||||||
|
<Identity>
|
||||||
|
<Civ>athen</Civ>
|
||||||
|
<SpecificName>Oxybelḗs</SpecificName>
|
||||||
|
</Identity>
|
||||||
|
<Obstruction>
|
||||||
|
<Unit radius="3.0"/>
|
||||||
|
</Obstruction>
|
||||||
|
<Vision>
|
||||||
|
<Range>77</Range>
|
||||||
|
</Vision>
|
||||||
|
</Entity>
|
||||||
+3
-9
@@ -1,19 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Entity parent="template_unit_mechanical_siege_ballista_packed">
|
<Entity parent="units/athen_mechanical_siege_oxybeles_common">
|
||||||
<Identity>
|
<Identity>
|
||||||
<Civ>athen</Civ>
|
|
||||||
<SpecificName>Oxybelḗs</SpecificName>
|
|
||||||
<Icon>units/hele_mechanical_siege_oxybeles_packed.png</Icon>
|
<Icon>units/hele_mechanical_siege_oxybeles_packed.png</Icon>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Obstruction>
|
|
||||||
<Unit radius="3.0"/>
|
|
||||||
</Obstruction>
|
|
||||||
<Pack>
|
<Pack>
|
||||||
<Entity>units/athen_mechanical_siege_oxybeles_unpacked</Entity>
|
<Entity>units/athen_mechanical_siege_oxybeles_unpacked</Entity>
|
||||||
|
<Time>10000</Time>
|
||||||
|
<State>packed</State>
|
||||||
</Pack>
|
</Pack>
|
||||||
<Vision>
|
|
||||||
<Range>77</Range>
|
|
||||||
</Vision>
|
|
||||||
<VisualActor>
|
<VisualActor>
|
||||||
<Actor>units/athenians/siege_spear_packed.xml</Actor>
|
<Actor>units/athenians/siege_spear_packed.xml</Actor>
|
||||||
</VisualActor>
|
</VisualActor>
|
||||||
|
|||||||
+9
-9
@@ -1,19 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Entity parent="template_unit_mechanical_siege_ballista_unpacked">
|
<Entity parent="units/athen_mechanical_siege_oxybeles_common">
|
||||||
<Identity>
|
<Identity>
|
||||||
<Civ>athen</Civ>
|
|
||||||
<SpecificName>Oxybelḗs</SpecificName>
|
|
||||||
<Icon>units/hele_mechanical_siege_oxybeles.png</Icon>
|
<Icon>units/hele_mechanical_siege_oxybeles.png</Icon>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Obstruction>
|
|
||||||
<Unit radius="3.0"/>
|
|
||||||
</Obstruction>
|
|
||||||
<Pack>
|
<Pack>
|
||||||
<Entity>units/athen_mechanical_siege_oxybeles_packed</Entity>
|
<Entity>units/athen_mechanical_siege_oxybeles_packed</Entity>
|
||||||
|
<Time>10000</Time>
|
||||||
|
<State>unpacked</State>
|
||||||
</Pack>
|
</Pack>
|
||||||
<Vision>
|
<UnitMotion>
|
||||||
<Range>77</Range>
|
<WalkSpeed>0.001</WalkSpeed>
|
||||||
</Vision>
|
<Run>
|
||||||
|
<Speed>0.001</Speed>
|
||||||
|
</Run>
|
||||||
|
</UnitMotion>
|
||||||
<VisualActor>
|
<VisualActor>
|
||||||
<Actor>units/athenians/siege_spear.xml</Actor>
|
<Actor>units/athenians/siege_spear.xml</Actor>
|
||||||
</VisualActor>
|
</VisualActor>
|
||||||
|
|||||||
+10
@@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Entity parent="template_unit_mechanical_siege_onager">
|
||||||
|
<Identity>
|
||||||
|
<Civ>cart</Civ>
|
||||||
|
<SpecificName>Ballista</SpecificName>
|
||||||
|
</Identity>
|
||||||
|
<Obstruction>
|
||||||
|
<Unit radius="3.5"/>
|
||||||
|
</Obstruction>
|
||||||
|
</Entity>
|
||||||
+3
-6
@@ -1,15 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Entity parent="template_unit_mechanical_siege_onager_packed">
|
<Entity parent="units/cart_mechanical_siege_ballista_common">
|
||||||
<Identity>
|
<Identity>
|
||||||
<Civ>cart</Civ>
|
|
||||||
<SpecificName>Ballista</SpecificName>
|
|
||||||
<Icon>units/cart_mechanical_siege_ballista_packed.png</Icon>
|
<Icon>units/cart_mechanical_siege_ballista_packed.png</Icon>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Obstruction>
|
|
||||||
<Unit radius="3.5"/>
|
|
||||||
</Obstruction>
|
|
||||||
<Pack>
|
<Pack>
|
||||||
<Entity>units/cart_mechanical_siege_ballista_unpacked</Entity>
|
<Entity>units/cart_mechanical_siege_ballista_unpacked</Entity>
|
||||||
|
<Time>10000</Time>
|
||||||
|
<State>packed</State>
|
||||||
</Pack>
|
</Pack>
|
||||||
<VisualActor>
|
<VisualActor>
|
||||||
<Actor>units/carthaginians/siege_rock_packed.xml</Actor>
|
<Actor>units/carthaginians/siege_rock_packed.xml</Actor>
|
||||||
|
|||||||
+9
-6
@@ -1,16 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Entity parent="template_unit_mechanical_siege_onager_unpacked">
|
<Entity parent="units/cart_mechanical_siege_ballista_common">
|
||||||
<Identity>
|
<Identity>
|
||||||
<Civ>cart</Civ>
|
|
||||||
<SpecificName>Ballista</SpecificName>
|
|
||||||
<Icon>units/cart_mechanical_siege_ballista.png</Icon>
|
<Icon>units/cart_mechanical_siege_ballista.png</Icon>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Obstruction>
|
|
||||||
<Unit radius="3.5"/>
|
|
||||||
</Obstruction>
|
|
||||||
<Pack>
|
<Pack>
|
||||||
<Entity>units/cart_mechanical_siege_ballista_packed</Entity>
|
<Entity>units/cart_mechanical_siege_ballista_packed</Entity>
|
||||||
|
<Time>10000</Time>
|
||||||
|
<State>unpacked</State>
|
||||||
</Pack>
|
</Pack>
|
||||||
|
<UnitMotion>
|
||||||
|
<WalkSpeed>0.001</WalkSpeed>
|
||||||
|
<Run>
|
||||||
|
<Speed>0.001</Speed>
|
||||||
|
</Run>
|
||||||
|
</UnitMotion>
|
||||||
<VisualActor>
|
<VisualActor>
|
||||||
<Actor>units/carthaginians/siege_rock.xml</Actor>
|
<Actor>units/carthaginians/siege_rock.xml</Actor>
|
||||||
</VisualActor>
|
</VisualActor>
|
||||||
|
|||||||
+10
@@ -0,0 +1,10 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Entity parent="template_unit_mechanical_siege_ballista">
|
||||||
|
<Identity>
|
||||||
|
<Civ>cart</Civ>
|
||||||
|
<SpecificName>Oxybeles</SpecificName>
|
||||||
|
</Identity>
|
||||||
|
<Obstruction>
|
||||||
|
<Unit radius="3.0"/>
|
||||||
|
</Obstruction>
|
||||||
|
</Entity>
|
||||||
+3
-6
@@ -1,15 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Entity parent="template_unit_mechanical_siege_ballista_packed">
|
<Entity parent="units/cart_mechanical_siege_oxybeles_common">
|
||||||
<Identity>
|
<Identity>
|
||||||
<Civ>cart</Civ>
|
|
||||||
<SpecificName>Oxybeles</SpecificName>
|
|
||||||
<Icon>units/hele_mechanical_siege_oxybeles_packed.png</Icon>
|
<Icon>units/hele_mechanical_siege_oxybeles_packed.png</Icon>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Obstruction>
|
|
||||||
<Unit radius="3.0"/>
|
|
||||||
</Obstruction>
|
|
||||||
<Pack>
|
<Pack>
|
||||||
<Entity>units/cart_mechanical_siege_oxybeles_unpacked</Entity>
|
<Entity>units/cart_mechanical_siege_oxybeles_unpacked</Entity>
|
||||||
|
<Time>10000</Time>
|
||||||
|
<State>packed</State>
|
||||||
</Pack>
|
</Pack>
|
||||||
<VisualActor>
|
<VisualActor>
|
||||||
<Actor>units/carthaginians/siege_spear_packed.xml</Actor>
|
<Actor>units/carthaginians/siege_spear_packed.xml</Actor>
|
||||||
|
|||||||
+9
-6
@@ -1,16 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Entity parent="template_unit_mechanical_siege_ballista_unpacked">
|
<Entity parent="units/cart_mechanical_siege_oxybeles_common">
|
||||||
<Identity>
|
<Identity>
|
||||||
<Civ>cart</Civ>
|
|
||||||
<SpecificName>Oxybeles</SpecificName>
|
|
||||||
<Icon>units/hele_mechanical_siege_oxybeles.png</Icon>
|
<Icon>units/hele_mechanical_siege_oxybeles.png</Icon>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Obstruction>
|
|
||||||
<Unit radius="3.0"/>
|
|
||||||
</Obstruction>
|
|
||||||
<Pack>
|
<Pack>
|
||||||
<Entity>units/cart_mechanical_siege_oxybeles_packed</Entity>
|
<Entity>units/cart_mechanical_siege_oxybeles_packed</Entity>
|
||||||
|
<Time>10000</Time>
|
||||||
|
<State>unpacked</State>
|
||||||
</Pack>
|
</Pack>
|
||||||
|
<UnitMotion>
|
||||||
|
<WalkSpeed>0.001</WalkSpeed>
|
||||||
|
<Run>
|
||||||
|
<Speed>0.001</Speed>
|
||||||
|
</Run>
|
||||||
|
</UnitMotion>
|
||||||
<VisualActor>
|
<VisualActor>
|
||||||
<Actor>units/carthaginians/siege_spear.xml</Actor>
|
<Actor>units/carthaginians/siege_spear.xml</Actor>
|
||||||
</VisualActor>
|
</VisualActor>
|
||||||
|
|||||||
+13
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Entity parent="template_unit_mechanical_siege_onager">
|
||||||
|
<Identity>
|
||||||
|
<Civ>hele</Civ>
|
||||||
|
<SpecificName>Lithóbolos</SpecificName>
|
||||||
|
</Identity>
|
||||||
|
<Obstruction>
|
||||||
|
<Unit radius="3.5"/>
|
||||||
|
</Obstruction>
|
||||||
|
<Vision>
|
||||||
|
<Range>88</Range>
|
||||||
|
</Vision>
|
||||||
|
</Entity>
|
||||||
+3
-9
@@ -1,19 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Entity parent="template_unit_mechanical_siege_onager_packed">
|
<Entity parent="units/hele_mechanical_siege_lithobolos_common">
|
||||||
<Identity>
|
<Identity>
|
||||||
<Civ>hele</Civ>
|
|
||||||
<SpecificName>Lithóbolos</SpecificName>
|
|
||||||
<Icon>units/hele_mechanical_siege_lithobolos_packed.png</Icon>
|
<Icon>units/hele_mechanical_siege_lithobolos_packed.png</Icon>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Obstruction>
|
|
||||||
<Unit radius="3.5"/>
|
|
||||||
</Obstruction>
|
|
||||||
<Pack>
|
<Pack>
|
||||||
<Entity>units/hele_mechanical_siege_lithobolos_unpacked</Entity>
|
<Entity>units/hele_mechanical_siege_lithobolos_unpacked</Entity>
|
||||||
|
<Time>10000</Time>
|
||||||
|
<State>packed</State>
|
||||||
</Pack>
|
</Pack>
|
||||||
<Vision>
|
|
||||||
<Range>88</Range>
|
|
||||||
</Vision>
|
|
||||||
<VisualActor>
|
<VisualActor>
|
||||||
<Actor>units/hellenes/siege_rock_packed.xml</Actor>
|
<Actor>units/hellenes/siege_rock_packed.xml</Actor>
|
||||||
</VisualActor>
|
</VisualActor>
|
||||||
|
|||||||
+9
-9
@@ -1,19 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Entity parent="template_unit_mechanical_siege_onager_unpacked">
|
<Entity parent="units/hele_mechanical_siege_lithobolos_common">
|
||||||
<Identity>
|
<Identity>
|
||||||
<Civ>hele</Civ>
|
|
||||||
<SpecificName>Lithóbolos</SpecificName>
|
|
||||||
<Icon>units/hele_mechanical_siege_lithobolos.png</Icon>
|
<Icon>units/hele_mechanical_siege_lithobolos.png</Icon>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Obstruction>
|
|
||||||
<Unit radius="3.5"/>
|
|
||||||
</Obstruction>
|
|
||||||
<Pack>
|
<Pack>
|
||||||
<Entity>units/hele_mechanical_siege_lithobolos_packed</Entity>
|
<Entity>units/hele_mechanical_siege_lithobolos_packed</Entity>
|
||||||
|
<Time>10000</Time>
|
||||||
|
<State>unpacked</State>
|
||||||
</Pack>
|
</Pack>
|
||||||
<Vision>
|
<UnitMotion>
|
||||||
<Range>88</Range>
|
<WalkSpeed>0.001</WalkSpeed>
|
||||||
</Vision>
|
<Run>
|
||||||
|
<Speed>0.001</Speed>
|
||||||
|
</Run>
|
||||||
|
</UnitMotion>
|
||||||
<VisualActor>
|
<VisualActor>
|
||||||
<Actor>units/hellenes/siege_rock.xml</Actor>
|
<Actor>units/hellenes/siege_rock.xml</Actor>
|
||||||
</VisualActor>
|
</VisualActor>
|
||||||
|
|||||||
+13
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Entity parent="template_unit_mechanical_siege_ballista">
|
||||||
|
<Identity>
|
||||||
|
<Civ>hele</Civ>
|
||||||
|
<SpecificName>Oxybelḗs</SpecificName>
|
||||||
|
</Identity>
|
||||||
|
<Obstruction>
|
||||||
|
<Unit radius="3.0"/>
|
||||||
|
</Obstruction>
|
||||||
|
<Vision>
|
||||||
|
<Range>77</Range>
|
||||||
|
</Vision>
|
||||||
|
</Entity>
|
||||||
+3
-9
@@ -1,19 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Entity parent="template_unit_mechanical_siege_ballista_packed">
|
<Entity parent="units/hele_mechanical_siege_oxybeles_common">
|
||||||
<Identity>
|
<Identity>
|
||||||
<Civ>hele</Civ>
|
|
||||||
<SpecificName>Oxybelḗs</SpecificName>
|
|
||||||
<Icon>units/hele_mechanical_siege_oxybeles_packed.png</Icon>
|
<Icon>units/hele_mechanical_siege_oxybeles_packed.png</Icon>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Obstruction>
|
|
||||||
<Unit radius="3.0"/>
|
|
||||||
</Obstruction>
|
|
||||||
<Pack>
|
<Pack>
|
||||||
<Entity>units/hele_mechanical_siege_oxybeles_unpacked</Entity>
|
<Entity>units/hele_mechanical_siege_oxybeles_unpacked</Entity>
|
||||||
|
<Time>10000</Time>
|
||||||
|
<State>packed</State>
|
||||||
</Pack>
|
</Pack>
|
||||||
<Vision>
|
|
||||||
<Range>77</Range>
|
|
||||||
</Vision>
|
|
||||||
<VisualActor>
|
<VisualActor>
|
||||||
<Actor>units/hellenes/siege_spear_packed.xml</Actor>
|
<Actor>units/hellenes/siege_spear_packed.xml</Actor>
|
||||||
</VisualActor>
|
</VisualActor>
|
||||||
|
|||||||
+9
-9
@@ -1,19 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Entity parent="template_unit_mechanical_siege_ballista_unpacked">
|
<Entity parent="units/hele_mechanical_siege_oxybeles_common">
|
||||||
<Identity>
|
<Identity>
|
||||||
<Civ>hele</Civ>
|
|
||||||
<SpecificName>Oxybelḗs</SpecificName>
|
|
||||||
<Icon>units/hele_mechanical_siege_oxybeles.png</Icon>
|
<Icon>units/hele_mechanical_siege_oxybeles.png</Icon>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Obstruction>
|
|
||||||
<Unit radius="3.0"/>
|
|
||||||
</Obstruction>
|
|
||||||
<Pack>
|
<Pack>
|
||||||
<Entity>units/hele_mechanical_siege_oxybeles_packed</Entity>
|
<Entity>units/hele_mechanical_siege_oxybeles_packed</Entity>
|
||||||
|
<Time>10000</Time>
|
||||||
|
<State>unpacked</State>
|
||||||
</Pack>
|
</Pack>
|
||||||
<Vision>
|
<UnitMotion>
|
||||||
<Range>77</Range>
|
<WalkSpeed>0.001</WalkSpeed>
|
||||||
</Vision>
|
<Run>
|
||||||
|
<Speed>0.001</Speed>
|
||||||
|
</Run>
|
||||||
|
</UnitMotion>
|
||||||
<VisualActor>
|
<VisualActor>
|
||||||
<Actor>units/hellenes/siege_spear.xml</Actor>
|
<Actor>units/hellenes/siege_spear.xml</Actor>
|
||||||
</VisualActor>
|
</VisualActor>
|
||||||
|
|||||||
+13
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Entity parent="template_unit_mechanical_siege_onager">
|
||||||
|
<Identity>
|
||||||
|
<Civ>mace</Civ>
|
||||||
|
<SpecificName>Lithóbolos</SpecificName>
|
||||||
|
</Identity>
|
||||||
|
<Obstruction>
|
||||||
|
<Unit radius="3.5"/>
|
||||||
|
</Obstruction>
|
||||||
|
<Vision>
|
||||||
|
<Range>88</Range>
|
||||||
|
</Vision>
|
||||||
|
</Entity>
|
||||||
+3
-9
@@ -1,19 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Entity parent="template_unit_mechanical_siege_onager_packed">
|
<Entity parent="units/mace_mechanical_siege_lithobolos_common">
|
||||||
<Identity>
|
<Identity>
|
||||||
<Civ>mace</Civ>
|
|
||||||
<SpecificName>Lithóbolos</SpecificName>
|
|
||||||
<Icon>units/hele_mechanical_siege_lithobolos_packed.png</Icon>
|
<Icon>units/hele_mechanical_siege_lithobolos_packed.png</Icon>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Obstruction>
|
|
||||||
<Unit radius="3.5"/>
|
|
||||||
</Obstruction>
|
|
||||||
<Pack>
|
<Pack>
|
||||||
<Entity>units/mace_mechanical_siege_lithobolos_unpacked</Entity>
|
<Entity>units/mace_mechanical_siege_lithobolos_unpacked</Entity>
|
||||||
|
<Time>10000</Time>
|
||||||
|
<State>packed</State>
|
||||||
</Pack>
|
</Pack>
|
||||||
<Vision>
|
|
||||||
<Range>88</Range>
|
|
||||||
</Vision>
|
|
||||||
<VisualActor>
|
<VisualActor>
|
||||||
<Actor>units/hellenes/siege_rock_packed.xml</Actor>
|
<Actor>units/hellenes/siege_rock_packed.xml</Actor>
|
||||||
</VisualActor>
|
</VisualActor>
|
||||||
|
|||||||
+9
-9
@@ -1,19 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Entity parent="template_unit_mechanical_siege_onager_unpacked">
|
<Entity parent="units/mace_mechanical_siege_lithobolos_common">
|
||||||
<Identity>
|
<Identity>
|
||||||
<Civ>mace</Civ>
|
|
||||||
<SpecificName>Lithóbolos</SpecificName>
|
|
||||||
<Icon>units/hele_mechanical_siege_lithobolos.png</Icon>
|
<Icon>units/hele_mechanical_siege_lithobolos.png</Icon>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Obstruction>
|
|
||||||
<Unit radius="3.5"/>
|
|
||||||
</Obstruction>
|
|
||||||
<Pack>
|
<Pack>
|
||||||
<Entity>units/mace_mechanical_siege_lithobolos_packed</Entity>
|
<Entity>units/mace_mechanical_siege_lithobolos_packed</Entity>
|
||||||
|
<Time>10000</Time>
|
||||||
|
<State>unpacked</State>
|
||||||
</Pack>
|
</Pack>
|
||||||
<Vision>
|
<UnitMotion>
|
||||||
<Range>88</Range>
|
<WalkSpeed>0.001</WalkSpeed>
|
||||||
</Vision>
|
<Run>
|
||||||
|
<Speed>0.001</Speed>
|
||||||
|
</Run>
|
||||||
|
</UnitMotion>
|
||||||
<VisualActor>
|
<VisualActor>
|
||||||
<Actor>units/hellenes/siege_rock.xml</Actor>
|
<Actor>units/hellenes/siege_rock.xml</Actor>
|
||||||
</VisualActor>
|
</VisualActor>
|
||||||
|
|||||||
+13
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Entity parent="template_unit_mechanical_siege_ballista">
|
||||||
|
<Identity>
|
||||||
|
<Civ>mace</Civ>
|
||||||
|
<SpecificName>Oxybelḗs</SpecificName>
|
||||||
|
</Identity>
|
||||||
|
<Obstruction>
|
||||||
|
<Unit radius="3.0"/>
|
||||||
|
</Obstruction>
|
||||||
|
<Vision>
|
||||||
|
<Range>77</Range>
|
||||||
|
</Vision>
|
||||||
|
</Entity>
|
||||||
+3
-9
@@ -1,19 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Entity parent="template_unit_mechanical_siege_ballista_packed">
|
<Entity parent="units/mace_mechanical_siege_oxybeles_common">
|
||||||
<Identity>
|
<Identity>
|
||||||
<Civ>mace</Civ>
|
|
||||||
<SpecificName>Oxybelḗs</SpecificName>
|
|
||||||
<Icon>units/hele_mechanical_siege_oxybeles_packed.png</Icon>
|
<Icon>units/hele_mechanical_siege_oxybeles_packed.png</Icon>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Obstruction>
|
|
||||||
<Unit radius="3.0"/>
|
|
||||||
</Obstruction>
|
|
||||||
<Pack>
|
<Pack>
|
||||||
<Entity>units/mace_mechanical_siege_oxybeles_unpacked</Entity>
|
<Entity>units/mace_mechanical_siege_oxybeles_unpacked</Entity>
|
||||||
|
<Time>10000</Time>
|
||||||
|
<State>packed</State>
|
||||||
</Pack>
|
</Pack>
|
||||||
<Vision>
|
|
||||||
<Range>77</Range>
|
|
||||||
</Vision>
|
|
||||||
<VisualActor>
|
<VisualActor>
|
||||||
<Actor>units/hellenes/siege_spear_packed.xml</Actor>
|
<Actor>units/hellenes/siege_spear_packed.xml</Actor>
|
||||||
</VisualActor>
|
</VisualActor>
|
||||||
|
|||||||
+9
-9
@@ -1,19 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Entity parent="template_unit_mechanical_siege_ballista_unpacked">
|
<Entity parent="units/mace_mechanical_siege_oxybeles_common">
|
||||||
<Identity>
|
<Identity>
|
||||||
<Civ>mace</Civ>
|
|
||||||
<SpecificName>Oxybelḗs</SpecificName>
|
|
||||||
<Icon>units/hele_mechanical_siege_oxybeles.png</Icon>
|
<Icon>units/hele_mechanical_siege_oxybeles.png</Icon>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Obstruction>
|
|
||||||
<Unit radius="3.0"/>
|
|
||||||
</Obstruction>
|
|
||||||
<Pack>
|
<Pack>
|
||||||
<Entity>units/mace_mechanical_siege_oxybeles_packed</Entity>
|
<Entity>units/mace_mechanical_siege_oxybeles_packed</Entity>
|
||||||
|
<Time>10000</Time>
|
||||||
|
<State>unpacked</State>
|
||||||
</Pack>
|
</Pack>
|
||||||
<Vision>
|
<UnitMotion>
|
||||||
<Range>77</Range>
|
<WalkSpeed>0.001</WalkSpeed>
|
||||||
</Vision>
|
<Run>
|
||||||
|
<Speed>0.001</Speed>
|
||||||
|
</Run>
|
||||||
|
</UnitMotion>
|
||||||
<VisualActor>
|
<VisualActor>
|
||||||
<Actor>units/hellenes/siege_spear.xml</Actor>
|
<Actor>units/hellenes/siege_spear.xml</Actor>
|
||||||
</VisualActor>
|
</VisualActor>
|
||||||
|
|||||||
+40
@@ -0,0 +1,40 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Entity parent="template_unit_mechanical_siege_onager">
|
||||||
|
<Attack>
|
||||||
|
<Ranged>
|
||||||
|
<MaxRange>76</MaxRange>
|
||||||
|
<MinRange>16.0</MinRange>
|
||||||
|
<ProjectileSpeed>22.0</ProjectileSpeed>
|
||||||
|
<RepeatTime>6000</RepeatTime>
|
||||||
|
<Splash>
|
||||||
|
<Shape>Circular</Shape>
|
||||||
|
<Range>10</Range>
|
||||||
|
<FriendlyFire>true</FriendlyFire>
|
||||||
|
<Hack>40.0</Hack>
|
||||||
|
<Pierce>0.0</Pierce>
|
||||||
|
<Crush>40.0</Crush>
|
||||||
|
</Splash>
|
||||||
|
</Ranged>
|
||||||
|
</Attack>
|
||||||
|
<Cost>
|
||||||
|
<BuildTime>40</BuildTime>
|
||||||
|
<Resources>
|
||||||
|
<wood>300</wood>
|
||||||
|
<stone>100</stone>
|
||||||
|
</Resources>
|
||||||
|
</Cost>
|
||||||
|
<Footprint replace="">
|
||||||
|
<Square width="10.0" depth="10.0"/>
|
||||||
|
<Height>5.0</Height>
|
||||||
|
</Footprint>
|
||||||
|
<Identity>
|
||||||
|
<Civ>rome</Civ>
|
||||||
|
<SpecificName>Ballista</SpecificName>
|
||||||
|
</Identity>
|
||||||
|
<Obstruction>
|
||||||
|
<Unit radius="3.5"/>
|
||||||
|
</Obstruction>
|
||||||
|
<Vision>
|
||||||
|
<Range>88</Range>
|
||||||
|
</Vision>
|
||||||
|
</Entity>
|
||||||
+3
-36
@@ -1,46 +1,13 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Entity parent="template_unit_mechanical_siege_onager_packed">
|
<Entity parent="units/rome_mechanical_siege_ballista_common">
|
||||||
<Attack>
|
|
||||||
<Ranged>
|
|
||||||
<MaxRange>76</MaxRange>
|
|
||||||
<MinRange>16.0</MinRange>
|
|
||||||
<ProjectileSpeed>22.0</ProjectileSpeed>
|
|
||||||
<RepeatTime>6000</RepeatTime>
|
|
||||||
<Splash>
|
|
||||||
<Shape>Circular</Shape>
|
|
||||||
<Range>10</Range>
|
|
||||||
<FriendlyFire>true</FriendlyFire>
|
|
||||||
<Hack>40.0</Hack>
|
|
||||||
<Pierce>0.0</Pierce>
|
|
||||||
<Crush>40.0</Crush>
|
|
||||||
</Splash>
|
|
||||||
</Ranged>
|
|
||||||
</Attack>
|
|
||||||
<Cost>
|
|
||||||
<BuildTime>40</BuildTime>
|
|
||||||
<Resources>
|
|
||||||
<wood>300</wood>
|
|
||||||
<stone>100</stone>
|
|
||||||
</Resources>
|
|
||||||
</Cost>
|
|
||||||
<Footprint replace="">
|
|
||||||
<Square width="10.0" depth="10.0"/>
|
|
||||||
<Height>5.0</Height>
|
|
||||||
</Footprint>
|
|
||||||
<Identity>
|
<Identity>
|
||||||
<Civ>rome</Civ>
|
|
||||||
<SpecificName>Ballista</SpecificName>
|
|
||||||
<Icon>units/rome_mechanical_siege_ballista_packed.png</Icon>
|
<Icon>units/rome_mechanical_siege_ballista_packed.png</Icon>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Obstruction>
|
|
||||||
<Unit radius="3.5"/>
|
|
||||||
</Obstruction>
|
|
||||||
<Pack>
|
<Pack>
|
||||||
<Entity>units/rome_mechanical_siege_ballista_unpacked</Entity>
|
<Entity>units/rome_mechanical_siege_ballista_unpacked</Entity>
|
||||||
|
<Time>10000</Time>
|
||||||
|
<State>packed</State>
|
||||||
</Pack>
|
</Pack>
|
||||||
<Vision>
|
|
||||||
<Range>88</Range>
|
|
||||||
</Vision>
|
|
||||||
<VisualActor>
|
<VisualActor>
|
||||||
<Actor>units/romans/siege_rock_packed.xml</Actor>
|
<Actor>units/romans/siege_rock_packed.xml</Actor>
|
||||||
</VisualActor>
|
</VisualActor>
|
||||||
|
|||||||
+9
-36
@@ -1,46 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Entity parent="template_unit_mechanical_siege_onager_unpacked">
|
<Entity parent="units/rome_mechanical_siege_ballista_common">
|
||||||
<Attack>
|
|
||||||
<Ranged>
|
|
||||||
<MaxRange>76</MaxRange>
|
|
||||||
<MinRange>16.0</MinRange>
|
|
||||||
<ProjectileSpeed>22.0</ProjectileSpeed>
|
|
||||||
<RepeatTime>6000</RepeatTime>
|
|
||||||
<Splash>
|
|
||||||
<Shape>Circular</Shape>
|
|
||||||
<Range>10</Range>
|
|
||||||
<FriendlyFire>true</FriendlyFire>
|
|
||||||
<Hack>40.0</Hack>
|
|
||||||
<Pierce>0.0</Pierce>
|
|
||||||
<Crush>40.0</Crush>
|
|
||||||
</Splash>
|
|
||||||
</Ranged>
|
|
||||||
</Attack>
|
|
||||||
<Cost>
|
|
||||||
<BuildTime>40</BuildTime>
|
|
||||||
<Resources>
|
|
||||||
<wood>300</wood>
|
|
||||||
<stone>100</stone>
|
|
||||||
</Resources>
|
|
||||||
</Cost>
|
|
||||||
<Footprint replace="">
|
|
||||||
<Square width="10.0" depth="10.0"/>
|
|
||||||
<Height>5.0</Height>
|
|
||||||
</Footprint>
|
|
||||||
<Identity>
|
<Identity>
|
||||||
<Civ>rome</Civ>
|
|
||||||
<SpecificName>Ballista</SpecificName>
|
|
||||||
<Icon>units/rome_mechanical_siege_ballista.png</Icon>
|
<Icon>units/rome_mechanical_siege_ballista.png</Icon>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Obstruction>
|
|
||||||
<Unit radius="3.5"/>
|
|
||||||
</Obstruction>
|
|
||||||
<Pack>
|
<Pack>
|
||||||
<Entity>units/rome_mechanical_siege_ballista_packed</Entity>
|
<Entity>units/rome_mechanical_siege_ballista_packed</Entity>
|
||||||
|
<Time>10000</Time>
|
||||||
|
<State>unpacked</State>
|
||||||
</Pack>
|
</Pack>
|
||||||
<Vision>
|
<UnitMotion>
|
||||||
<Range>88</Range>
|
<WalkSpeed>0.001</WalkSpeed>
|
||||||
</Vision>
|
<Run>
|
||||||
|
<Speed>0.001</Speed>
|
||||||
|
</Run>
|
||||||
|
</UnitMotion>
|
||||||
<VisualActor>
|
<VisualActor>
|
||||||
<Actor>units/romans/siege_rock.xml</Actor>
|
<Actor>units/romans/siege_rock.xml</Actor>
|
||||||
</VisualActor>
|
</VisualActor>
|
||||||
|
|||||||
+31
@@ -0,0 +1,31 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Entity parent="template_unit_mechanical_siege_ballista">
|
||||||
|
<Attack>
|
||||||
|
<Ranged>
|
||||||
|
<Hack>0.0</Hack>
|
||||||
|
<Pierce>40.0</Pierce>
|
||||||
|
<Crush>20.0</Crush>
|
||||||
|
<MaxRange>56</MaxRange>
|
||||||
|
<MinRange>4.0</MinRange>
|
||||||
|
<ProjectileSpeed>64.0</ProjectileSpeed>
|
||||||
|
<RepeatTime>2500</RepeatTime>
|
||||||
|
</Ranged>
|
||||||
|
</Attack>
|
||||||
|
<Cost>
|
||||||
|
<BuildTime>15</BuildTime>
|
||||||
|
<Resources>
|
||||||
|
<wood>90</wood>
|
||||||
|
</Resources>
|
||||||
|
</Cost>
|
||||||
|
<Footprint replace="">
|
||||||
|
<Square width="5.0" depth="5.0"/>
|
||||||
|
<Height>3.0</Height>
|
||||||
|
</Footprint>
|
||||||
|
<Health>
|
||||||
|
<Max>150</Max>
|
||||||
|
</Health>
|
||||||
|
<Identity>
|
||||||
|
<Civ>rome</Civ>
|
||||||
|
<SpecificName>Scorpio</SpecificName>
|
||||||
|
</Identity>
|
||||||
|
</Entity>
|
||||||
+3
-27
@@ -1,36 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Entity parent="template_unit_mechanical_siege_ballista_packed">
|
<Entity parent="units/rome_mechanical_siege_scorpio_common">
|
||||||
<Attack>
|
|
||||||
<Ranged>
|
|
||||||
<Hack>0.0</Hack>
|
|
||||||
<Pierce>40.0</Pierce>
|
|
||||||
<Crush>20.0</Crush>
|
|
||||||
<MaxRange>56</MaxRange>
|
|
||||||
<MinRange>4.0</MinRange>
|
|
||||||
<ProjectileSpeed>64.0</ProjectileSpeed>
|
|
||||||
<RepeatTime>2500</RepeatTime>
|
|
||||||
</Ranged>
|
|
||||||
</Attack>
|
|
||||||
<Cost>
|
|
||||||
<BuildTime>15</BuildTime>
|
|
||||||
<Resources>
|
|
||||||
<wood>90</wood>
|
|
||||||
</Resources>
|
|
||||||
</Cost>
|
|
||||||
<Footprint replace="">
|
|
||||||
<Square width="5.0" depth="5.0"/>
|
|
||||||
<Height>3.0</Height>
|
|
||||||
</Footprint>
|
|
||||||
<Health>
|
|
||||||
<Max>150</Max>
|
|
||||||
</Health>
|
|
||||||
<Identity>
|
<Identity>
|
||||||
<Civ>rome</Civ>
|
|
||||||
<SpecificName>Scorpio</SpecificName>
|
|
||||||
<Icon>units/rome_mechanical_siege_scorpio_packed.png</Icon>
|
<Icon>units/rome_mechanical_siege_scorpio_packed.png</Icon>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Pack>
|
<Pack>
|
||||||
<Entity>units/rome_mechanical_siege_scorpio_unpacked</Entity>
|
<Entity>units/rome_mechanical_siege_scorpio_unpacked</Entity>
|
||||||
|
<Time>10000</Time>
|
||||||
|
<State>packed</State>
|
||||||
</Pack>
|
</Pack>
|
||||||
<VisualActor>
|
<VisualActor>
|
||||||
<Actor>units/romans/siege_scorpio_packed.xml</Actor>
|
<Actor>units/romans/siege_scorpio_packed.xml</Actor>
|
||||||
|
|||||||
+9
-27
@@ -1,37 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Entity parent="template_unit_mechanical_siege_ballista_unpacked">
|
<Entity parent="units/rome_mechanical_siege_scorpio_common">
|
||||||
<Attack>
|
|
||||||
<Ranged>
|
|
||||||
<Hack>0.0</Hack>
|
|
||||||
<Pierce>40.0</Pierce>
|
|
||||||
<Crush>20.0</Crush>
|
|
||||||
<MaxRange>56</MaxRange>
|
|
||||||
<MinRange>4.0</MinRange>
|
|
||||||
<ProjectileSpeed>64.0</ProjectileSpeed>
|
|
||||||
<RepeatTime>2500</RepeatTime>
|
|
||||||
</Ranged>
|
|
||||||
</Attack>
|
|
||||||
<Cost>
|
|
||||||
<BuildTime>15</BuildTime>
|
|
||||||
<Resources>
|
|
||||||
<wood>90</wood>
|
|
||||||
</Resources>
|
|
||||||
</Cost>
|
|
||||||
<Footprint replace="">
|
|
||||||
<Square width="5.0" depth="5.0"/>
|
|
||||||
<Height>3.0</Height>
|
|
||||||
</Footprint>
|
|
||||||
<Health>
|
|
||||||
<Max>150</Max>
|
|
||||||
</Health>
|
|
||||||
<Identity>
|
<Identity>
|
||||||
<Civ>rome</Civ>
|
|
||||||
<SpecificName>Scorpio</SpecificName>
|
|
||||||
<Icon>units/rome_mechanical_siege_scorpio.png</Icon>
|
<Icon>units/rome_mechanical_siege_scorpio.png</Icon>
|
||||||
</Identity>
|
</Identity>
|
||||||
<Pack>
|
<Pack>
|
||||||
<Entity>units/rome_mechanical_siege_scorpio_packed</Entity>
|
<Entity>units/rome_mechanical_siege_scorpio_packed</Entity>
|
||||||
|
<Time>10000</Time>
|
||||||
|
<State>unpacked</State>
|
||||||
</Pack>
|
</Pack>
|
||||||
|
<UnitMotion>
|
||||||
|
<WalkSpeed>0.001</WalkSpeed>
|
||||||
|
<Run>
|
||||||
|
<Speed>0.001</Speed>
|
||||||
|
</Run>
|
||||||
|
</UnitMotion>
|
||||||
<VisualActor>
|
<VisualActor>
|
||||||
<Actor>units/romans/siege_scorpio.xml</Actor>
|
<Actor>units/romans/siege_scorpio.xml</Actor>
|
||||||
</VisualActor>
|
</VisualActor>
|
||||||
|
|||||||
Reference in New Issue
Block a user