1
0
forked from 0ad/0ad

Unify infantry walking speed / vision.

Ranged units have a base walk multiplier of 1.2, melee of 1.0. Pikemen
are slightly slower.

Heros have 100 vision range, infantry have 80.

Approved by: borg-, wraitii
Differential Revision: https://code.wildfiregames.com/D2884
This was SVN commit r23895.
This commit is contained in:
wraitii 2020-07-25 08:47:25 +00:00
parent 14cc16fbdc
commit 41572245cf
24 changed files with 18 additions and 72 deletions

View File

@ -1,7 +1,7 @@
{
"autoResearch": true,
"icon": "upgrade_advanced.png",
"tooltip": "Advanced and Elite units +20% training time, +1 armour level, +10% health, +0.4 capture attack strength, +20% loot, and −30% gather speed; Healers +5 healing strength and +3 healing range; Infantry +0.5 movement speed; Melee units +20% attack damage; Ranged units +4 attack range and −10% spread.",
"tooltip": "Advanced and Elite units +20% training time, +1 armor, +10% health, +0.7 capture attack strength, +20% loot, and −30% gather speed; Healers +5 healing strength and +3 healing range; Melee units +20% attack damage; Ranged units +4 attack range and −10% spread.",
"modifications": [
{ "value": "Armour/Hack", "add": 1 },
{ "value": "Armour/Pierce", "add": 1 },
@ -21,10 +21,7 @@
{ "value": "Loot/stone", "multiply": 1.2 },
{ "value": "Loot/metal", "multiply": 1.2 },
{ "value": "Loot/xp", "multiply": 1.2 },
{ "value": "ResourceGatherer/BaseSpeed", "multiply": 0.7 },
{ "value": "UnitMotion/WalkSpeed", "add": 0.5, "affects": "Infantry" },
{ "value": "Vision/Range", "add": 3, "affects": "Healer" },
{ "value": "Vision/Range", "add": 4, "affects": "Ranged" }
{ "value": "ResourceGatherer/BaseSpeed", "multiply": 0.7 }
],
"affects": ["Advanced Unit", "Elite Unit"]
}

View File

@ -1,7 +1,7 @@
{
"autoResearch": true,
"icon": "upgrade_elite.png",
"tooltip": "Elite units +20% training time, +1 armour level, +10% health, +0.4 capture attack strength, +20% loot, and −30% gather speed; Healers +5 healing strength and +3 healing range; Infantry +0.5 movement speed; Melee units +20% attack damage; Ranged units +4 attack range and −10% spread.",
"tooltip": "Elite units +20% training time, +1 armor, +10% health, +0.8 capture attack strength, +20% loot, and −30% gather speed; Healers +5 healing strength and +3 healing range; Melee units +20% attack damage; Ranged units +4 attack range and −10% spread.",
"modifications": [
{ "value": "Armour/Hack", "add": 1 },
{ "value": "Armour/Pierce", "add": 1 },
@ -21,10 +21,7 @@
{ "value": "Loot/stone", "multiply": 1.2 },
{ "value": "Loot/metal", "multiply": 1.2 },
{ "value": "Loot/xp", "multiply": 1.2 },
{ "value": "ResourceGatherer/BaseSpeed", "multiply": 0.7 },
{ "value": "UnitMotion/WalkSpeed", "add": 0.5, "affects": "Infantry" },
{ "value": "Vision/Range", "add": 3, "affects": "Healer" },
{ "value": "Vision/Range", "add": 4, "affects": "Ranged" }
{ "value": "ResourceGatherer/BaseSpeed", "multiply": 0.7 }
],
"affects": ["Elite Unit"]
}

View File

@ -53,6 +53,6 @@
</SoundGroups>
</Sound>
<Vision>
<Range>84</Range>
<Range>80</Range>
</Vision>
</Entity>

View File

@ -24,7 +24,4 @@
<VisibleClasses datatype="tokens">Melee Axeman</VisibleClasses>
<GenericName>Champion Axeman</GenericName>
</Identity>
<UnitMotion>
<WalkSpeed op="mul">1.4</WalkSpeed>
</UnitMotion>
</Entity>

View File

@ -39,6 +39,6 @@
</SoundGroups>
</Sound>
<UnitMotion>
<WalkSpeed op="mul">1.6</WalkSpeed>
<WalkSpeed op="mul">1.2</WalkSpeed>
</UnitMotion>
</Entity>

View File

@ -26,7 +26,4 @@
special/formations/testudo
</Formations>
</Identity>
<UnitMotion>
<WalkSpeed op="mul">1.4</WalkSpeed>
</UnitMotion>
</Entity>

View File

@ -42,6 +42,6 @@
</SoundGroups>
</Sound>
<UnitMotion>
<WalkSpeed op="mul">0.8</WalkSpeed>
<WalkSpeed op="mul">0.9</WalkSpeed>
</UnitMotion>
</Entity>

View File

@ -39,7 +39,4 @@
<attack_melee>attack/weapon/spear_attack.xml</attack_melee>
</SoundGroups>
</Sound>
<UnitMotion>
<WalkSpeed op="mul">1.3</WalkSpeed>
</UnitMotion>
</Entity>

View File

@ -27,7 +27,4 @@
special/formations/testudo
</Formations>
</Identity>
<UnitMotion>
<WalkSpeed op="mul">1.4</WalkSpeed>
</UnitMotion>
</Entity>

View File

@ -75,6 +75,6 @@
<Category>Hero</Category>
</TrainingRestrictions>
<Vision>
<Range>88</Range>
<Range>100</Range>
</Vision>
</Entity>

View File

@ -41,7 +41,4 @@
<UnitMotion>
<WalkSpeed op="mul">2</WalkSpeed>
</UnitMotion>
<Vision>
<Range>100</Range>
</Vision>
</Entity>

View File

@ -53,7 +53,4 @@
<PassabilityClass>large</PassabilityClass>
<WalkSpeed op="mul">0.95</WalkSpeed>
</UnitMotion>
<Vision>
<Range>80</Range>
</Vision>
</Entity>

View File

@ -42,7 +42,4 @@
</Texture>
</Overlay>
</Selectable>
<Vision>
<Range>30</Range>
</Vision>
</Entity>

View File

@ -21,10 +21,4 @@
<VisibleClasses datatype="tokens">Melee Axeman</VisibleClasses>
<GenericName>Hero Axeman</GenericName>
</Identity>
<UnitMotion>
<WalkSpeed op="mul">1.05</WalkSpeed>
</UnitMotion>
<Vision>
<Range>80</Range>
</Vision>
</Entity>

View File

@ -31,7 +31,4 @@
special/formations/testudo
</Formations>
</Identity>
<UnitMotion>
<WalkSpeed op="mul">0.95</WalkSpeed>
</UnitMotion>
</Entity>

View File

@ -27,10 +27,4 @@
<VisibleClasses datatype="tokens">Melee Swordsman</VisibleClasses>
<GenericName>Hero Swordsman</GenericName>
</Identity>
<UnitMotion>
<WalkSpeed op="mul">1.05</WalkSpeed>
</UnitMotion>
<Vision>
<Range>80</Range>
</Vision>
</Entity>

View File

@ -27,7 +27,4 @@
<wood>4</wood>
<metal>1</metal>
</Loot>
<UnitMotion>
<WalkSpeed op="mul">1.05</WalkSpeed>
</UnitMotion>
</Entity>

View File

@ -37,12 +37,12 @@
<Loot>
<wood>5</wood>
</Loot>
<UnitMotion>
<WalkSpeed op="mul">0.8</WalkSpeed>
</UnitMotion>
<Sound>
<SoundGroups>
<attack_melee>attack/weapon/pike_attack.xml</attack_melee>
</SoundGroups>
</Sound>
<UnitMotion>
<WalkSpeed op="mul">0.9</WalkSpeed>
</UnitMotion>
</Entity>

View File

@ -33,9 +33,6 @@
<Loot>
<wood>5</wood>
</Loot>
<UnitMotion>
<WalkSpeed op="mul">0.95</WalkSpeed>
</UnitMotion>
<Sound>
<SoundGroups>
<attack_melee>attack/weapon/spear_attack.xml</attack_melee>

View File

@ -28,7 +28,4 @@
<wood>4</wood>
<metal>1</metal>
</Loot>
<UnitMotion>
<WalkSpeed op="mul">1.05</WalkSpeed>
</UnitMotion>
</Entity>

View File

@ -37,6 +37,6 @@
<wood>5</wood>
</Loot>
<UnitMotion>
<WalkSpeed op="mul">1.1</WalkSpeed>
<WalkSpeed op="mul">1.2</WalkSpeed>
</UnitMotion>
</Entity>

View File

@ -35,13 +35,13 @@
<Loot>
<wood>5</wood>
</Loot>
<UnitMotion>
<WalkSpeed op="mul">1.4</WalkSpeed>
</UnitMotion>
<Sound>
<SoundGroups>
<attack_ranged>attack/weapon/javelin_attack.xml</attack_ranged>
<attack_impact_ranged>attack/impact/javelin_impact.xml</attack_impact_ranged>
</SoundGroups>
</Sound>
<UnitMotion>
<WalkSpeed op="mul">1.2</WalkSpeed>
</UnitMotion>
</Entity>

View File

@ -36,12 +36,12 @@
<Loot>
<stone>5</stone>
</Loot>
<UnitMotion>
<WalkSpeed op="mul">1.2</WalkSpeed>
</UnitMotion>
<Sound>
<SoundGroups>
<attack_ranged>attack/weapon/sling_attack.xml</attack_ranged>
</SoundGroups>
</Sound>
<UnitMotion>
<WalkSpeed op="mul">1.2</WalkSpeed>
</UnitMotion>
</Entity>

View File

@ -38,9 +38,6 @@
<Promotion>
<Entity>units/kush_infantry_clubman_a</Entity>
</Promotion>
<UnitMotion>
<WalkSpeed op="mul">1.1</WalkSpeed>
</UnitMotion>
<VisualActor>
<Actor>units/kushites/infantry_clubman_b.xml</Actor>
</VisualActor>