From 2847eb2a20f9b67b361ee008413154d199e89f11 Mon Sep 17 00:00:00 2001 From: Freagarach Date: Sat, 2 Jan 2021 06:56:45 +0000 Subject: [PATCH] Clean up sound groups in unit templates. Moves attack sound groups to where the weapon is defined (where it was not already the case). Removed sounds from entities that can't use the sound. Patch by: @Nescio Differential revision: D2855 This was SVN commit r24499. --- .../simulation/templates/gaia/fauna_donkey.xml | 2 -- .../simulation/templates/gaia/fauna_horse.xml | 2 -- .../simulation/templates/template_unit.xml | 1 - .../templates/template_unit_cavalry.xml | 10 ++++------ .../template_unit_cavalry_melee_axeman.xml | 5 +++++ .../template_unit_cavalry_melee_swordsman.xml | 5 +++++ .../template_unit_cavalry_ranged_archer.xml | 6 ++++++ .../templates/template_unit_champion.xml | 7 +++++-- .../templates/template_unit_champion_cavalry.xml | 6 ------ .../template_unit_champion_cavalry_archer.xml | 3 ++- .../template_unit_champion_cavalry_axeman.xml | 5 +++++ ...template_unit_champion_cavalry_javelineer.xml | 1 - .../template_unit_champion_cavalry_swordsman.xml | 5 +++++ .../template_unit_champion_infantry.xml | 7 ------- .../template_unit_champion_infantry_archer.xml | 6 ++++++ .../template_unit_champion_infantry_axeman.xml | 5 +++++ .../template_unit_champion_infantry_maceman.xml | 5 +++++ ...template_unit_champion_infantry_swordsman.xml | 5 +++++ .../simulation/templates/template_unit_dog.xml | 6 ++---- .../template_unit_fauna_herd_domestic_cattle.xml | 2 -- .../template_unit_fauna_hunt_defensive_bull.xml | 3 +-- ...mplate_unit_fauna_hunt_defensive_elephant.xml | 1 - ..._unit_fauna_hunt_skittish_elephant_infant.xml | 2 -- .../template_unit_fauna_wild_aggressive_dog.xml | 2 -- .../simulation/templates/template_unit_hero.xml | 13 ++++--------- .../template_unit_hero_cavalry_archer.xml | 6 ++++++ .../template_unit_hero_cavalry_axeman.xml | 5 +++++ .../template_unit_hero_cavalry_swordsman.xml | 5 +++++ .../templates/template_unit_hero_healer.xml | 5 +++++ .../template_unit_hero_infantry_archer.xml | 6 ++++++ .../template_unit_hero_infantry_axeman.xml | 5 +++++ .../template_unit_hero_infantry_pikeman.xml | 6 ++++++ .../template_unit_hero_infantry_swordsman.xml | 5 +++++ .../templates/template_unit_infantry.xml | 12 +++++------- .../template_unit_infantry_melee_axeman.xml | 5 +++++ .../template_unit_infantry_melee_swordsman.xml | 5 +++++ .../template_unit_infantry_ranged_archer.xml | 6 ++++++ .../templates/template_unit_support.xml | 8 +++++++- .../template_unit_support_female_citizen.xml | 14 +++++--------- .../templates/template_unit_support_healer.xml | 11 +---------- .../templates/template_unit_support_slave.xml | 12 +++--------- .../templates/template_unit_support_trader.xml | 16 +--------------- .../templates/units/maur/support_elephant.xml | 6 ++++-- 43 files changed, 150 insertions(+), 103 deletions(-) diff --git a/binaries/data/mods/public/simulation/templates/gaia/fauna_donkey.xml b/binaries/data/mods/public/simulation/templates/gaia/fauna_donkey.xml index 275279ceb6..8b24044ea0 100644 --- a/binaries/data/mods/public/simulation/templates/gaia/fauna_donkey.xml +++ b/binaries/data/mods/public/simulation/templates/gaia/fauna_donkey.xml @@ -15,9 +15,7 @@ - actor/fauna/animal/horse_attack_order.xml actor/fauna/animal/horse_order.xml - actor/fauna/animal/horse_attack.xml actor/fauna/animal/horse_death.xml actor/fauna/animal/horse_trained.xml diff --git a/binaries/data/mods/public/simulation/templates/gaia/fauna_horse.xml b/binaries/data/mods/public/simulation/templates/gaia/fauna_horse.xml index 09fa0b7f4f..f0337f0795 100644 --- a/binaries/data/mods/public/simulation/templates/gaia/fauna_horse.xml +++ b/binaries/data/mods/public/simulation/templates/gaia/fauna_horse.xml @@ -15,9 +15,7 @@ - actor/fauna/animal/horse_attack_order.xml actor/fauna/animal/horse_order.xml - actor/fauna/animal/horse_attack.xml actor/fauna/animal/horse_death.xml actor/fauna/animal/horse_trained.xml diff --git a/binaries/data/mods/public/simulation/templates/template_unit.xml b/binaries/data/mods/public/simulation/templates/template_unit.xml index 02eab36d60..8807f9f119 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit.xml @@ -110,7 +110,6 @@ interface/alarm/alarm_attacked_gaia.xml interface/alarm/alarm_attackplayer.xml interface/alarm/alarm_attacked_gaia.xml - attack/weapon/sword_attack.xml diff --git a/binaries/data/mods/public/simulation/templates/template_unit_cavalry.xml b/binaries/data/mods/public/simulation/templates/template_unit_cavalry.xml index 2efcc49329..430fdab0e6 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_cavalry.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_cavalry.xml @@ -80,16 +80,14 @@ - - voice/{lang}/civ/civ_{phenotype}_walk.xml + attack/weapon/sword_attack.xml voice/{lang}/civ/civ_{phenotype}_attack.xml - voice/{lang}/civ/civ_{phenotype}_gather.xml voice/{lang}/civ/civ_{phenotype}_garrison.xml + voice/{lang}/civ/civ_{phenotype}_gather.xml + voice/{lang}/civ/civ_{phenotype}_walk.xml + actor/mounted/movement/walk.xml actor/mounted/movement/walk.xml - attack/impact/arrow_impact.xml - attack/weapon/sword_attack.xml - attack/weapon/bow_attack.xml actor/fauna/death/death_horse.xml interface/alarm/alarm_create_cav.xml diff --git a/binaries/data/mods/public/simulation/templates/template_unit_cavalry_melee_axeman.xml b/binaries/data/mods/public/simulation/templates/template_unit_cavalry_melee_axeman.xml index 7e92bb3113..d9fc5efc8c 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_cavalry_melee_axeman.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_cavalry_melee_axeman.xml @@ -36,6 +36,11 @@ + + + attack/weapon/sword_attack.xml + + 1.1 diff --git a/binaries/data/mods/public/simulation/templates/template_unit_cavalry_melee_swordsman.xml b/binaries/data/mods/public/simulation/templates/template_unit_cavalry_melee_swordsman.xml index de0703cceb..52a48f9a55 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_cavalry_melee_swordsman.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_cavalry_melee_swordsman.xml @@ -36,6 +36,11 @@ + + + attack/weapon/sword_attack.xml + + 1.1 diff --git a/binaries/data/mods/public/simulation/templates/template_unit_cavalry_ranged_archer.xml b/binaries/data/mods/public/simulation/templates/template_unit_cavalry_ranged_archer.xml index 1ac8ae8148..c1cb34ebec 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_cavalry_ranged_archer.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_cavalry_ranged_archer.xml @@ -30,4 +30,10 @@ Archer Cavalry Archer + + + attack/impact/arrow_impact.xml + attack/weapon/bow_attack.xml + + diff --git a/binaries/data/mods/public/simulation/templates/template_unit_champion.xml b/binaries/data/mods/public/simulation/templates/template_unit_champion.xml index 1436b3d978..5af4a1a2de 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_champion.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_champion.xml @@ -25,8 +25,11 @@ - attack/impact/arrow_impact.xml - attack/weapon/bow_attack.xml + voice/{lang}/civ/civ_{phenotype}_attack.xml + voice/{lang}/civ/civ_{phenotype}_garrison.xml + voice/{lang}/civ/civ_{phenotype}_gather.xml + voice/{lang}/civ/civ_{phenotype}_walk.xml + diff --git a/binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry.xml b/binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry.xml index 7d42e41877..ef68cce78f 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry.xml @@ -43,14 +43,8 @@ - - voice/{lang}/civ/civ_{phenotype}_walk.xml - voice/{lang}/civ/civ_{phenotype}_attack.xml - voice/{lang}/civ/civ_{phenotype}_gather.xml - voice/{lang}/civ/civ_{phenotype}_garrison.xml actor/mounted/movement/walk.xml actor/mounted/movement/walk.xml - attack/weapon/sword_attack.xml actor/fauna/death/death_horse.xml interface/alarm/alarm_create_cav.xml diff --git a/binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_archer.xml b/binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_archer.xml index 5f15c2cda7..48feae8657 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_archer.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_archer.xml @@ -32,7 +32,8 @@ - actor/fauna/death/death_horse.xml + attack/impact/arrow_impact.xml + attack/weapon/bow_attack.xml diff --git a/binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_axeman.xml b/binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_axeman.xml index 67888e97ca..cf7bfac608 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_axeman.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_axeman.xml @@ -28,6 +28,11 @@ + + + attack/weapon/sword_attack.xml + + 1.1 diff --git a/binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_javelineer.xml b/binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_javelineer.xml index 9864238820..7acbe5561c 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_javelineer.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_javelineer.xml @@ -32,7 +32,6 @@ - actor/fauna/death/death_horse.xml attack/weapon/javelin_attack.xml attack/impact/javelin_impact.xml diff --git a/binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_swordsman.xml b/binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_swordsman.xml index 63b4517df5..2252ff3fec 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_swordsman.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_champion_cavalry_swordsman.xml @@ -29,6 +29,11 @@ + + + attack/weapon/sword_attack.xml + + 1.1 diff --git a/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry.xml b/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry.xml index d5b9a0c453..0a557fcff9 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry.xml @@ -44,15 +44,8 @@ interface/alarm/alarm_create_infantry.xml - - voice/{lang}/civ/civ_{phenotype}_walk.xml - voice/{lang}/civ/civ_{phenotype}_attack.xml - voice/{lang}/civ/civ_{phenotype}_gather.xml - voice/{lang}/civ/civ_{phenotype}_repair.xml - voice/{lang}/civ/civ_{phenotype}_garrison.xml actor/human/movement/walk.xml actor/human/movement/walk.xml - attack/weapon/sword_attack.xml actor/human/death/{phenotype}_death.xml diff --git a/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_archer.xml b/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_archer.xml index 07b628b64b..ac2fdfff1c 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_archer.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_archer.xml @@ -33,6 +33,12 @@ special/formations/skirmish + + + attack/impact/arrow_impact.xml + attack/weapon/bow_attack.xml + + 1.2 diff --git a/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_axeman.xml b/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_axeman.xml index 2d15e8d552..77c6fb81e0 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_axeman.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_axeman.xml @@ -29,4 +29,9 @@ + + + attack/weapon/sword_attack.xml + + diff --git a/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_maceman.xml b/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_maceman.xml index 6278d62366..4aff486bb3 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_maceman.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_maceman.xml @@ -28,4 +28,9 @@ + + + attack/weapon/sword_attack.xml + + diff --git a/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_swordsman.xml b/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_swordsman.xml index 450595e127..b5c84892ce 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_swordsman.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_champion_infantry_swordsman.xml @@ -32,4 +32,9 @@ + + + attack/weapon/sword_attack.xml + + diff --git a/binaries/data/mods/public/simulation/templates/template_unit_dog.xml b/binaries/data/mods/public/simulation/templates/template_unit_dog.xml index 8ef5294158..0c8108518e 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_dog.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_dog.xml @@ -58,11 +58,9 @@ - - voice/global/civ_dog_move.xml voice/global/civ_dog_move.xml - voice/global/civ_dog_move.xml - voice/global/civ_dog_move.xml + voice/global/civ_dog_move.xml + actor/mounted/movement/walk.xml actor/mounted/movement/walk.xml attack/weapon/sword.xml diff --git a/binaries/data/mods/public/simulation/templates/template_unit_fauna_herd_domestic_cattle.xml b/binaries/data/mods/public/simulation/templates/template_unit_fauna_herd_domestic_cattle.xml index b47f13d247..45772808cc 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_fauna_herd_domestic_cattle.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_fauna_herd_domestic_cattle.xml @@ -3,9 +3,7 @@ - actor/fauna/animal/cattle_attack_order.xml actor/fauna/animal/cattle_order.xml - actor/fauna/animal/cattle_attack.xml actor/fauna/animal/cattle_death.xml actor/fauna/animal/cattle_trained.xml diff --git a/binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_defensive_bull.xml b/binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_defensive_bull.xml index 8e70bc85e9..e4ca059188 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_defensive_bull.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_defensive_bull.xml @@ -20,10 +20,9 @@ - actor/fauna/animal/cattle_attack_order.xml - actor/fauna/animal/cattle_order.xml actor/fauna/animal/cattle_attack.xml actor/fauna/animal/cattle_death.xml + actor/fauna/animal/cattle_order.xml actor/fauna/animal/cattle_trained.xml diff --git a/binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_defensive_elephant.xml b/binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_defensive_elephant.xml index 963a361053..47fc6a4cbe 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_defensive_elephant.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_defensive_elephant.xml @@ -42,7 +42,6 @@ - actor/fauna/animal/elephant_attack_order.xml actor/fauna/animal/elephant_order.xml actor/fauna/animal/elephant_attack.xml actor/fauna/animal/elephant_death.xml diff --git a/binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_skittish_elephant_infant.xml b/binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_skittish_elephant_infant.xml index 8eb4a6e68b..9cf95d8ca4 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_skittish_elephant_infant.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_fauna_hunt_skittish_elephant_infant.xml @@ -18,9 +18,7 @@ - actor/fauna/animal/elephant_attack_order.xml actor/fauna/animal/elephant_order.xml - actor/fauna/animal/elephant_attack.xml actor/fauna/animal/elephant_death.xml actor/fauna/animal/elephant_trained.xml diff --git a/binaries/data/mods/public/simulation/templates/template_unit_fauna_wild_aggressive_dog.xml b/binaries/data/mods/public/simulation/templates/template_unit_fauna_wild_aggressive_dog.xml index 0dfca1e6f3..7ae9dc603d 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_fauna_wild_aggressive_dog.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_fauna_wild_aggressive_dog.xml @@ -16,8 +16,6 @@ voice/global/civ_dog_move.xml voice/global/civ_dog_move.xml - voice/global/civ_dog_move.xml - voice/global/civ_dog_move.xml actor/mounted/movement/walk.xml actor/mounted/movement/walk.xml attack/weapon/sword.xml diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero.xml index d9baff57fa..9a558abf26 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero.xml @@ -57,17 +57,12 @@ + voice/{lang}/civ/civ_{phenotype}_attack.xml + voice/{lang}/civ/civ_{phenotype}_garrison.xml + voice/{lang}/civ/civ_{phenotype}_gather.xml + voice/{lang}/civ/civ_{phenotype}_walk.xml interface/alarm/alarm_create_infantry.xml - voice/{lang}/civ/civ_{phenotype}_heal.xml - voice/{lang}/civ/civ_{phenotype}_walk.xml - voice/{lang}/civ/civ_{phenotype}_attack.xml - voice/{lang}/civ/civ_{phenotype}_gather.xml - voice/{lang}/civ/civ_{phenotype}_repair.xml - voice/{lang}/civ/civ_{phenotype}_garrison.xml - attack/weapon/sword_attack.xml - attack/impact/arrow_impact.xml - attack/weapon/bow_attack.xml actor/human/movement/walk.xml actor/human/movement/walk.xml actor/human/death/{phenotype}_death.xml diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_archer.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_archer.xml index aec6bfa305..a78c43afa4 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_archer.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_archer.xml @@ -30,4 +30,10 @@ special/formations/skirmish + + + attack/impact/arrow_impact.xml + attack/weapon/bow_attack.xml + + diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_axeman.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_axeman.xml index 749b12b6f7..571d66cd83 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_axeman.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_axeman.xml @@ -25,4 +25,9 @@ + + + attack/weapon/sword_attack.xml + + diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_swordsman.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_swordsman.xml index 2cb4668ce1..86b62db2b3 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_swordsman.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero_cavalry_swordsman.xml @@ -32,4 +32,9 @@ + + + attack/weapon/sword_attack.xml + + diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero_healer.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero_healer.xml index 3716cf70b5..9fbecbf805 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero_healer.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero_healer.xml @@ -49,4 +49,9 @@ + + + voice/{lang}/civ/civ_{phenotype}_heal.xml + + diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_archer.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_archer.xml index b3022c5efe..b19feb731f 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_archer.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_archer.xml @@ -30,4 +30,10 @@ special/formations/skirmish + + + attack/impact/arrow_impact.xml + attack/weapon/bow_attack.xml + + diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_axeman.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_axeman.xml index f67bb3d63b..cd440715f0 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_axeman.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_axeman.xml @@ -26,4 +26,9 @@ + + + attack/weapon/sword_attack.xml + + diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_pikeman.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_pikeman.xml index 744c4a1b02..e7e6a46e9d 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_pikeman.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_pikeman.xml @@ -36,4 +36,10 @@ + + + attack/weapon/pike_attack.xml + + + diff --git a/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_swordsman.xml b/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_swordsman.xml index bb6b6fca33..a8cc9d7f9e 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_swordsman.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_hero_infantry_swordsman.xml @@ -32,4 +32,9 @@ + + + attack/weapon/sword_attack.xml + + diff --git a/binaries/data/mods/public/simulation/templates/template_unit_infantry.xml b/binaries/data/mods/public/simulation/templates/template_unit_infantry.xml index 35b3c8133f..64454e6d6f 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_infantry.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_infantry.xml @@ -100,18 +100,16 @@ - - voice/{lang}/civ/civ_{phenotype}_walk.xml + attack/weapon/sword_attack.xml voice/{lang}/civ/civ_{phenotype}_attack.xml - voice/{lang}/civ/civ_{phenotype}_gather.xml - voice/{lang}/civ/civ_{phenotype}_repair.xml voice/{lang}/civ/civ_{phenotype}_build.xml voice/{lang}/civ/civ_{phenotype}_garrison.xml + voice/{lang}/civ/civ_{phenotype}_gather.xml + voice/{lang}/civ/civ_{phenotype}_repair.xml + voice/{lang}/civ/civ_{phenotype}_walk.xml + actor/human/movement/walk.xml actor/human/movement/run.xml - attack/impact/arrow_impact.xml - attack/weapon/sword_attack.xml - attack/weapon/bow_attack.xml actor/human/death/{phenotype}_death.xml resource/construction/con_wood.xml resource/foraging/forage_leaves.xml diff --git a/binaries/data/mods/public/simulation/templates/template_unit_infantry_melee_axeman.xml b/binaries/data/mods/public/simulation/templates/template_unit_infantry_melee_axeman.xml index 59ffb8ea2b..92ae2376c3 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_infantry_melee_axeman.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_infantry_melee_axeman.xml @@ -32,4 +32,9 @@ + + + attack/weapon/sword_attack.xml + + diff --git a/binaries/data/mods/public/simulation/templates/template_unit_infantry_melee_swordsman.xml b/binaries/data/mods/public/simulation/templates/template_unit_infantry_melee_swordsman.xml index 8b6b2141c8..572c7dc937 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_infantry_melee_swordsman.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_infantry_melee_swordsman.xml @@ -33,4 +33,9 @@ + + + attack/weapon/sword_attack.xml + + diff --git a/binaries/data/mods/public/simulation/templates/template_unit_infantry_ranged_archer.xml b/binaries/data/mods/public/simulation/templates/template_unit_infantry_ranged_archer.xml index 144a2ad594..9167ccb614 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_infantry_ranged_archer.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_infantry_ranged_archer.xml @@ -42,6 +42,12 @@ + + + attack/impact/arrow_impact.xml + attack/weapon/bow_attack.xml + + 1.2 diff --git a/binaries/data/mods/public/simulation/templates/template_unit_support.xml b/binaries/data/mods/public/simulation/templates/template_unit_support.xml index 413f80fade..6f472e8fbe 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_support.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_support.xml @@ -29,7 +29,13 @@ - interface/alarm/alarm_create_worker.xml + voice/{lang}/civ/civ_{phenotype}_garrison.xml + voice/{lang}/civ/civ_{phenotype}_gather.xml + voice/{lang}/civ/civ_{phenotype}_walk.xml + + actor/human/movement/walk.xml + actor/human/movement/run.xml + actor/human/death/{phenotype}_death.xml diff --git a/binaries/data/mods/public/simulation/templates/template_unit_support_female_citizen.xml b/binaries/data/mods/public/simulation/templates/template_unit_support_female_citizen.xml index 781af2a2ec..e11f839c79 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_support_female_citizen.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_support_female_citizen.xml @@ -81,16 +81,8 @@ - interface/alarm/alarm_create_female.xml - - voice/{lang}/civ/civ_{phenotype}_walk.xml - voice/{lang}/civ/civ_{phenotype}_attack.xml - voice/{lang}/civ/civ_{phenotype}_build.xml - voice/{lang}/civ/civ_{phenotype}_gather.xml - voice/{lang}/civ/civ_{phenotype}_repair.xml - voice/{lang}/civ/civ_{phenotype}_garrison.xml attack/weapon/sword.xml - actor/human/death/{phenotype}_death.xml + attack/weapon/sword_attack.xml resource/construction/con_wood.xml resource/foraging/forage_leaves.xml resource/farming/farm.xml @@ -99,6 +91,10 @@ resource/mining/mining.xml resource/mining/mining.xml interface/alarm/alarm_invalid_building_placement.xml + voice/{lang}/civ/civ_{phenotype}_attack.xml + voice/{lang}/civ/civ_{phenotype}_build.xml + voice/{lang}/civ/civ_{phenotype}_repair.xml + interface/alarm/alarm_create_female.xml diff --git a/binaries/data/mods/public/simulation/templates/template_unit_support_healer.xml b/binaries/data/mods/public/simulation/templates/template_unit_support_healer.xml index 0f5a8d807d..4032cef4d5 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_support_healer.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_support_healer.xml @@ -43,17 +43,8 @@ - interface/alarm/alarm_create_infantry.xml - - voice/{lang}/civ/civ_{phenotype}_walk.xml - voice/{lang}/civ/civ_{phenotype}_attack.xml - voice/{lang}/civ/civ_{phenotype}_gather.xml - voice/{lang}/civ/civ_{phenotype}_repair.xml voice/{lang}/civ/civ_{phenotype}_heal.xml - voice/{lang}/civ/civ_{phenotype}_garrison.xml - actor/human/movement/walk.xml - actor/human/movement/run.xml - actor/human/death/{phenotype}_death.xml + interface/alarm/alarm_create_infantry.xml diff --git a/binaries/data/mods/public/simulation/templates/template_unit_support_slave.xml b/binaries/data/mods/public/simulation/templates/template_unit_support_slave.xml index 772c5fd934..ef03459352 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_support_slave.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_support_slave.xml @@ -66,21 +66,15 @@ - - voice/{lang}/civ/civ_{phenotype}_walk.xml - voice/{lang}/civ/civ_{phenotype}_gather.xml - voice/{lang}/civ/civ_{phenotype}_repair.xml - voice/{lang}/civ/civ_{phenotype}_build.xml - voice/{lang}/civ/civ_{phenotype}_garrison.xml - actor/human/movement/walk.xml - actor/human/movement/run.xml - actor/human/death/{phenotype}_death.xml resource/construction/con_wood.xml resource/foraging/forage_leaves.xml resource/farming/farm.xml resource/lumbering/lumbering.xml resource/mining/pickaxe.xml resource/mining/mining.xml + interface/alarm/alarm_invalid_building_placement.xml + voice/{lang}/civ/civ_{phenotype}_build.xml + voice/{lang}/civ/civ_{phenotype}_repair.xml actor/singlesteps/steps_gravel_trained.xml diff --git a/binaries/data/mods/public/simulation/templates/template_unit_support_trader.xml b/binaries/data/mods/public/simulation/templates/template_unit_support_trader.xml index 59965de567..df72e187c4 100644 --- a/binaries/data/mods/public/simulation/templates/template_unit_support_trader.xml +++ b/binaries/data/mods/public/simulation/templates/template_unit_support_trader.xml @@ -31,22 +31,8 @@ - voice/{lang}/civ/civ_{phenotype}_trade.xml - voice/{lang}/civ/civ_{phenotype}_walk.xml - voice/{lang}/civ/civ_{phenotype}_attack.xml - voice/{lang}/civ/civ_{phenotype}_gather.xml - voice/{lang}/civ/civ_{phenotype}_repair.xml - actor/human/movement/walk.xml - actor/human/movement/run.xml - attack/weapon/sword.xml - actor/human/death/{phenotype}_death.xml - resource/construction/con_wood.xml - resource/foraging/forage_leaves.xml - resource/farming/farm.xml - resource/lumbering/lumbering.xml - resource/mining/pickaxe.xml - resource/mining/mining.xml + interface/alarm/alarm_create_worker.xml diff --git a/binaries/data/mods/public/simulation/templates/units/maur/support_elephant.xml b/binaries/data/mods/public/simulation/templates/units/maur/support_elephant.xml index 8af6fb5e15..7b5861aaa5 100644 --- a/binaries/data/mods/public/simulation/templates/units/maur/support_elephant.xml +++ b/binaries/data/mods/public/simulation/templates/units/maur/support_elephant.xml @@ -59,9 +59,11 @@ - actor/fauna/animal/elephant_attack_order.xml + actor/fauna/animal/elephant_order.xml + actor/fauna/animal/elephant_order.xml actor/fauna/animal/elephant_order.xml - actor/fauna/animal/elephant_attack.xml + actor/mounted/movement/walk.xml + actor/mounted/movement/walk.xml actor/fauna/animal/elephant_death.xml actor/fauna/animal/elephant_trained.xml