1
0
forked from mirrors/0ad

Rome Testudo & Anti-Cavalry formations animations:

Reviewed by Stan

This was SVN commit r22081.
This commit is contained in:
Alexandermb
2019-02-06 14:57:43 +00:00
parent 6ba5307655
commit 06e01ef944
47 changed files with 404 additions and 14 deletions
@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<actor version="1">
<castshadow/>
<group>
<variant frequency="1" name="Base">
<mesh>props/new/capes/cape_hd_hoplite.dae</mesh>
<textures>
<texture file="props/cape_hd.dds" name="baseTex"/>
</textures>
</variant>
</group>
<group>
<variant file="biped/base_swordsman_shield_ready.xml"/>
<variant file="biped/carry_food.xml"/>
<variant file="biped/carry_meat.xml"/>
<variant file="biped/carry_wood.xml"/>
<variant file="biped/carry_stone.xml"/>
<variant file="biped/carry_metal.xml"/>
</group>
<group>
<variant frequency="1" name="Idle"/>
<variant file="biped/attack_capture.xml"/>
<variant file="biped/attack_slaughter.xml"/>
<variant file="biped/gather_tree.xml"/>
<variant file="biped/gather_grain.xml"/>
<variant file="biped/gather_fruit.xml"/>
<variant file="biped/gather_meat.xml"/>
<variant file="biped/gather_rock.xml"/>
<variant file="biped/gather_ore.xml"/>
<variant file="biped/gather_ruins.xml"/>
<variant file="biped/gather_praise.xml"/>
<variant file="biped/build.xml"/>
<variant file="biped/build_farm.xml"/>
<variant file="biped/death_infantry.xml"/>
</group>
<group>
<variant file="biped/formations/testudo_idle_top.xml"/>
<variant file="biped/formations/testudo_idle_front.xml"/>
<variant file="biped/formations/testudo_walk_top.xml"/>
<variant file="biped/formations/testudo_walk_front.xml"/>
<variant file="biped/formations/testudo_idle_front_left.xml"/>
<variant file="biped/formations/testudo_idle_front_right.xml"/>
<variant file="biped/formations/testudo_idle_left.xml"/>
<variant file="biped/formations/testudo_idle_right.xml"/>
<variant file="biped/formations/testudo_walk_left.xml"/>
<variant file="biped/formations/testudo_walk_right.xml"/>
<variant file="biped/formations/testudo_walk_front_left.xml"/>
<variant file="biped/formations/testudo_walk_front_right.xml"/>
</group>
<material>player_trans.xml</material>
</actor>
@@ -48,5 +48,23 @@
<variant file="biped/build_farm.xml"/>
<variant file="biped/death_infantry.xml"/>
</group>
<group>
<variant file="biped/formations/anti_cavalry_idle_front.xml"/>
<variant file="biped/formations/anti_cavalry_idle_back.xml"/>
<variant file="biped/formations/anti_cavalry_attack_back.xml"/>
<variant file="biped/formations/anti_cavalry_attack_front.xml"/>
<variant file="biped/formations/testudo_idle_top.xml"/>
<variant file="biped/formations/testudo_idle_front.xml"/>
<variant file="biped/formations/testudo_walk_top.xml"/>
<variant file="biped/formations/testudo_walk_front.xml"/>
<variant file="biped/formations/testudo_idle_front_left.xml"/>
<variant file="biped/formations/testudo_idle_front_right.xml"/>
<variant file="biped/formations/testudo_idle_left.xml"/>
<variant file="biped/formations/testudo_idle_right.xml"/>
<variant file="biped/formations/testudo_walk_left.xml"/>
<variant file="biped/formations/testudo_walk_right.xml"/>
<variant file="biped/formations/testudo_walk_front_left.xml"/>
<variant file="biped/formations/testudo_walk_front_right.xml"/>
</group>
<material>player_trans.xml</material>
</actor>
@@ -39,5 +39,23 @@
<variant file="biped/build_farm.xml"/>
<variant file="biped/death_infantry.xml"/>
</group>
<group>
<variant file="biped/formations/anti_cavalry_idle_front.xml"/>
<variant file="biped/formations/anti_cavalry_idle_back.xml"/>
<variant file="biped/formations/anti_cavalry_attack_back.xml"/>
<variant file="biped/formations/anti_cavalry_attack_front.xml"/>
<variant file="biped/formations/testudo_idle_top.xml"/>
<variant file="biped/formations/testudo_idle_front.xml"/>
<variant file="biped/formations/testudo_walk_top.xml"/>
<variant file="biped/formations/testudo_walk_front.xml"/>
<variant file="biped/formations/testudo_idle_front_left.xml"/>
<variant file="biped/formations/testudo_idle_front_right.xml"/>
<variant file="biped/formations/testudo_idle_left.xml"/>
<variant file="biped/formations/testudo_idle_right.xml"/>
<variant file="biped/formations/testudo_walk_left.xml"/>
<variant file="biped/formations/testudo_walk_right.xml"/>
<variant file="biped/formations/testudo_walk_front_left.xml"/>
<variant file="biped/formations/testudo_walk_front_right.xml"/>
</group>
<material>player_trans.xml</material>
</actor>
@@ -48,5 +48,23 @@
<variant file="biped/build_farm.xml"/>
<variant file="biped/death_infantry.xml"/>
</group>
<group>
<variant file="biped/formations/anti_cavalry_idle_front.xml"/>
<variant file="biped/formations/anti_cavalry_idle_back.xml"/>
<variant file="biped/formations/anti_cavalry_attack_back.xml"/>
<variant file="biped/formations/anti_cavalry_attack_front.xml"/>
<variant file="biped/formations/testudo_idle_top.xml"/>
<variant file="biped/formations/testudo_idle_front.xml"/>
<variant file="biped/formations/testudo_walk_top.xml"/>
<variant file="biped/formations/testudo_walk_front.xml"/>
<variant file="biped/formations/testudo_idle_front_left.xml"/>
<variant file="biped/formations/testudo_idle_front_right.xml"/>
<variant file="biped/formations/testudo_idle_left.xml"/>
<variant file="biped/formations/testudo_idle_right.xml"/>
<variant file="biped/formations/testudo_walk_left.xml"/>
<variant file="biped/formations/testudo_walk_right.xml"/>
<variant file="biped/formations/testudo_walk_front_left.xml"/>
<variant file="biped/formations/testudo_walk_front_right.xml"/>
</group>
<material>player_trans.xml</material>
</actor>
@@ -53,5 +53,19 @@
<variant file="biped/build_farm.xml"/>
<variant file="biped/death_infantry.xml"/>
</group>
<group>
<variant file="biped/formations/testudo_idle_top.xml"/>
<variant file="biped/formations/testudo_idle_front.xml"/>
<variant file="biped/formations/testudo_walk_top.xml"/>
<variant file="biped/formations/testudo_walk_front.xml"/>
<variant file="biped/formations/testudo_idle_front_left.xml"/>
<variant file="biped/formations/testudo_idle_front_right.xml"/>
<variant file="biped/formations/testudo_idle_left.xml"/>
<variant file="biped/formations/testudo_idle_right.xml"/>
<variant file="biped/formations/testudo_walk_left.xml"/>
<variant file="biped/formations/testudo_walk_right.xml"/>
<variant file="biped/formations/testudo_walk_front_left.xml"/>
<variant file="biped/formations/testudo_walk_front_right.xml"/>
</group>
<material>player_trans.xml</material>
</actor>
@@ -52,6 +52,18 @@
<variant file="biped/build.xml"/>
<variant file="biped/build_farm.xml"/>
<variant file="biped/death_infantry.xml"/>
<variant file="biped/formations/testudo_idle_top.xml"/>
<variant file="biped/formations/testudo_idle_front.xml"/>
<variant file="biped/formations/testudo_walk_top.xml"/>
<variant file="biped/formations/testudo_walk_front.xml"/>
<variant file="biped/formations/testudo_idle_front_left.xml"/>
<variant file="biped/formations/testudo_idle_front_right.xml"/>
<variant file="biped/formations/testudo_idle_left.xml"/>
<variant file="biped/formations/testudo_idle_right.xml"/>
<variant file="biped/formations/testudo_walk_left.xml"/>
<variant file="biped/formations/testudo_walk_right.xml"/>
<variant file="biped/formations/testudo_walk_front_left.xml"/>
<variant file="biped/formations/testudo_walk_front_right.xml"/>
</group>
<material>player_trans.xml</material>
</actor>
@@ -54,5 +54,19 @@
<variant file="biped/attack_capture.xml"/>
<variant file="biped/death_infantry.xml"/>
</group>
<group>
<variant file="biped/formations/testudo_idle_top.xml"/>
<variant file="biped/formations/testudo_idle_front.xml"/>
<variant file="biped/formations/testudo_walk_top.xml"/>
<variant file="biped/formations/testudo_walk_front.xml"/>
<variant file="biped/formations/testudo_idle_front_left.xml"/>
<variant file="biped/formations/testudo_idle_front_right.xml"/>
<variant file="biped/formations/testudo_idle_left.xml"/>
<variant file="biped/formations/testudo_idle_right.xml"/>
<variant file="biped/formations/testudo_walk_left.xml"/>
<variant file="biped/formations/testudo_walk_right.xml"/>
<variant file="biped/formations/testudo_walk_front_left.xml"/>
<variant file="biped/formations/testudo_walk_front_right.xml"/>
</group>
<material>player_trans.xml</material>
</actor>
@@ -21,5 +21,19 @@
<variant file="biped/attack_capture.xml"/>
<variant file="biped/death_infantry.xml"/>
</group>
<group>
<variant file="biped/formations/testudo_idle_top.xml"/>
<variant file="biped/formations/testudo_idle_front.xml"/>
<variant file="biped/formations/testudo_walk_top.xml"/>
<variant file="biped/formations/testudo_walk_front.xml"/>
<variant file="biped/formations/testudo_idle_front_left.xml"/>
<variant file="biped/formations/testudo_idle_front_right.xml"/>
<variant file="biped/formations/testudo_idle_left.xml"/>
<variant file="biped/formations/testudo_idle_right.xml"/>
<variant file="biped/formations/testudo_walk_left.xml"/>
<variant file="biped/formations/testudo_walk_right.xml"/>
<variant file="biped/formations/testudo_walk_front_left.xml"/>
<variant file="biped/formations/testudo_walk_front_right.xml"/>
</group>
<material>player_trans_spec.xml</material>
</actor>
@@ -19,6 +19,18 @@
<variant frequency="1" name="Idle"/>
<variant file="biped/attack_capture.xml"/>
<variant file="biped/death_infantry.xml"/>
<variant file="biped/formations/testudo_idle_top.xml"/>
<variant file="biped/formations/testudo_idle_front.xml"/>
<variant file="biped/formations/testudo_walk_top.xml"/>
<variant file="biped/formations/testudo_walk_front.xml"/>
<variant file="biped/formations/testudo_idle_front_left.xml"/>
<variant file="biped/formations/testudo_idle_front_right.xml"/>
<variant file="biped/formations/testudo_idle_left.xml"/>
<variant file="biped/formations/testudo_idle_right.xml"/>
<variant file="biped/formations/testudo_walk_left.xml"/>
<variant file="biped/formations/testudo_walk_right.xml"/>
<variant file="biped/formations/testudo_walk_front_left.xml"/>
<variant file="biped/formations/testudo_walk_front_right.xml"/>
</group>
<material>player_trans.xml</material>
</actor>
@@ -9,7 +9,7 @@
<prop actor="props/units/heads/rome_imp_gallic_g_cent.xml" attachpoint="helmet"/>
<prop actor="props/units/weapons/gladus.xml" attachpoint="weapon_R"/>
<prop actor="props/units/shields/rome_scutum_marian.xml" attachpoint="shield"/>
<prop actor="props/units/capes/swordsman_shield_ready.xml" attachpoint="root"/>
<prop actor="props/units/capes/swordsman_shield_ready_centurion.xml" attachpoint="root"/>
</props>
<textures>
<texture file="skeletal/imp/infantry_swordsman_c_a.dds" name="baseTex"/>
@@ -22,9 +22,23 @@
<variant file="biped/attack_capture.xml"/>
<variant file="biped/death_infantry.xml">
<props>
<prop actor="props/units/capes/swordsman_shield_ready.xml" attachpoint="root"/>
<prop actor="props/units/capes/swordsman_shield_ready_centurion.xml" attachpoint="root"/>
</props>
</variant>
</group>
<group>
<variant file="biped/formations/testudo_idle_top.xml"/>
<variant file="biped/formations/testudo_idle_front.xml"/>
<variant file="biped/formations/testudo_walk_top.xml"/>
<variant file="biped/formations/testudo_walk_front.xml"/>
<variant file="biped/formations/testudo_idle_front_left.xml"/>
<variant file="biped/formations/testudo_idle_front_right.xml"/>
<variant file="biped/formations/testudo_idle_left.xml"/>
<variant file="biped/formations/testudo_idle_right.xml"/>
<variant file="biped/formations/testudo_walk_left.xml"/>
<variant file="biped/formations/testudo_walk_right.xml"/>
<variant file="biped/formations/testudo_walk_front_left.xml"/>
<variant file="biped/formations/testudo_walk_front_right.xml"/>
</group>
<material>player_trans_spec.xml</material>
</actor>
@@ -48,5 +48,19 @@
<variant file="biped/build_farm.xml"/>
<variant file="biped/death_infantry.xml"/>
</group>
<group>
<variant file="biped/formations/testudo_idle_top.xml"/>
<variant file="biped/formations/testudo_idle_front.xml"/>
<variant file="biped/formations/testudo_walk_top.xml"/>
<variant file="biped/formations/testudo_walk_front.xml"/>
<variant file="biped/formations/testudo_idle_front_left.xml"/>
<variant file="biped/formations/testudo_idle_front_right.xml"/>
<variant file="biped/formations/testudo_idle_left.xml"/>
<variant file="biped/formations/testudo_idle_right.xml"/>
<variant file="biped/formations/testudo_walk_left.xml"/>
<variant file="biped/formations/testudo_walk_right.xml"/>
<variant file="biped/formations/testudo_walk_front_left.xml"/>
<variant file="biped/formations/testudo_walk_front_right.xml"/>
</group>
<material>player_trans.xml</material>
</actor>
@@ -0,0 +1,5 @@
<variant name="attack_anti_cavalry_back" frequency="1">
<animations>
<animation file="biped/new/anti_cavalry_back_attack.dae" name="attack_anti_cavalry_back" speed="30"/>
</animations>
</variant>
@@ -0,0 +1,5 @@
<variant name="attack_anti_cavalry_front" frequency="1">
<animations>
<animation file="biped/new/anti_cavalry_front_attack.dae" name="attack_anti_cavalry_front" speed="30"/>
</animations>
</variant>
@@ -0,0 +1,5 @@
<variant name="idle_anti_cavalry_back" frequency="1">
<animations>
<animation file="biped/new/anti_cavalry_back_idle.dae" name="idle_anti_cavalry_back" speed="100"/>
</animations>
</variant>
@@ -0,0 +1,5 @@
<variant name="idle_anti_cavalry_front" frequency="1">
<animations>
<animation file="biped/new/anti_cavalry_front_idle.dae" name="idle_anti_cavalry_front" speed="100"/>
</animations>
</variant>
@@ -0,0 +1,5 @@
<variant name="idle_testudo_front" frequency="1">
<animations>
<animation file="biped/new/testudo_front_shield_idle.dae" name="idle_testudo_front" speed="100"/>
</animations>
</variant>
@@ -0,0 +1,5 @@
<variant name="idle_testudo_front_left" frequency="1">
<animations>
<animation file="biped/new/testudo_front_left_shield_idle.dae" name="idle_testudo_front_left" speed="100"/>
</animations>
</variant>
@@ -0,0 +1,5 @@
<variant name="idle_testudo_front_right" frequency="1">
<animations>
<animation file="biped/new/testudo_front_right_shield_idle.dae" name="idle_testudo_front_right" speed="100"/>
</animations>
</variant>
@@ -0,0 +1,5 @@
<variant name="idle_testudo_left" frequency="1">
<animations>
<animation file="biped/new/testudo_left_shield_idle.dae" name="idle_testudo_left" speed="100"/>
</animations>
</variant>
@@ -0,0 +1,5 @@
<variant name="idle_testudo_right" frequency="1">
<animations>
<animation file="biped/new/testudo_right_shield_idle.dae" name="idle_testudo_right" speed="100"/>
</animations>
</variant>
@@ -0,0 +1,5 @@
<variant name="idle_testudo_top" frequency="1">
<animations>
<animation file="biped/new/testudo_top_shield_idle.dae" name="idle_testudo_top" speed="100"/>
</animations>
</variant>
@@ -0,0 +1,7 @@
<variant name="walk_testudo_front" frequency="1">
<animations>
<animation file="biped/new/testudo_front_shield_walk.dae" name="walk_testudo_front" id="testwalk1" speed="15"/>
<animation file="biped/new/testudo_front_shield_walk.dae" name="walk_testudo_front" id="testwalk2" speed="16"/>
<animation file="biped/new/testudo_front_shield_walk.dae" name="walk_testudo_front" id="testwalk3" speed="17"/>
</animations>
</variant>
@@ -0,0 +1,7 @@
<variant name="walk_testudo_front_left" frequency="1">
<animations>
<animation file="biped/new/testudo_front_left_shield_walk.dae" name="walk_testudo_front_left" id="testwalk1" speed="15"/>
<animation file="biped/new/testudo_front_left_shield_walk.dae" name="walk_testudo_front_left" id="testwalk2" speed="16"/>
<animation file="biped/new/testudo_front_left_shield_walk.dae" name="walk_testudo_front_left" id="testwalk3" speed="17"/>
</animations>
</variant>
@@ -0,0 +1,7 @@
<variant name="walk_testudo_front_right" frequency="1">
<animations>
<animation file="biped/new/testudo_front_right_shield_walk.dae" name="walk_testudo_front_right" id="testwalk1" speed="15"/>
<animation file="biped/new/testudo_front_right_shield_walk.dae" name="walk_testudo_front_right" id="testwalk2" speed="16"/>
<animation file="biped/new/testudo_front_right_shield_walk.dae" name="walk_testudo_front_right" id="testwalk3" speed="17"/>
</animations>
</variant>
@@ -0,0 +1,7 @@
<variant name="walk_testudo_left" frequency="1">
<animations>
<animation file="biped/new/testudo_left_shield_walk.dae" name="walk_testudo_left" id="testwalk1" speed="15"/>
<animation file="biped/new/testudo_left_shield_walk.dae" name="walk_testudo_left" id="testwalk2" speed="16"/>
<animation file="biped/new/testudo_left_shield_walk.dae" name="walk_testudo_left" id="testwalk3" speed="17"/>
</animations>
</variant>
@@ -0,0 +1,7 @@
<variant name="walk_testudo_right" frequency="1">
<animations>
<animation file="biped/new/testudo_right_shield_walk.dae" name="walk_testudo_right" id="testwalk1" speed="15"/>
<animation file="biped/new/testudo_right_shield_walk.dae" name="walk_testudo_right" id="testwalk2" speed="16"/>
<animation file="biped/new/testudo_right_shield_walk.dae" name="walk_testudo_right" id="testwalk3" speed="17"/>
</animations>
</variant>
@@ -0,0 +1,10 @@
<variant name="walk_testudo_top" frequency="1">
<animations>
<animation file="biped/new/testudo_top_shield_walk.dae" name="walk_testudo_top" id="testwalk1" speed="15"/>
<animation file="biped/new/testudo_top_shield_walk.dae" name="walk_testudo_top" id="testwalk2" speed="16"/>
<animation file="biped/new/testudo_top_shield_walk.dae" name="walk_testudo_top" id="testwalk3" speed="17"/>
</animations>
<props>
<prop actor="" attachpoint="weapon_R"/>
</props>
</variant>
@@ -7,8 +7,7 @@
"Music":[
{"File":"Juno_Protect_You.ogg", "Type":"peace"},
{"File":"Mediterranean_Waves.ogg", "Type":"peace"},
{"File":"Elysian_Fields.ogg", "Type":"peace"},
{"File":"The_Governor.ogg", "Type":"peace"}
{"File":"Elysian_Fields.ogg", "Type":"peace"}
],
"Factions":
[
@@ -129,7 +128,8 @@
"special/formations/skirmish",
"special/formations/wedge",
"special/formations/battle_line",
"special/formations/testudo"
"special/formations/testudo",
"special/formations/anti_cavalry"
],
"AINames":
[
@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<Entity parent="template_formation">
<Formation>
<Icon>formations/testudo.png</Icon>
<RequiredMemberCount>16</RequiredMemberCount>
<DisabledTooltip>16 melee infantry units required</DisabledTooltip>
<FormationName>Anti Cavalry</FormationName>
<FormationShape>square</FormationShape>
<UnitSeparationWidthMultiplier>0.50</UnitSeparationWidthMultiplier>
<UnitSeparationDepthMultiplier>0.37</UnitSeparationDepthMultiplier>
<SortingOrder>fillFromTheSides</SortingOrder>
<ShiftRows>true</ShiftRows>
<MinColumns>8</MinColumns>
<MaxColumns>8</MaxColumns>
<MaxRows>2</MaxRows>
<WidthDepthRatio>0.8</WidthDepthRatio>
<Animations>
<idle>
1..1,1..-1: idle_anti_cavalry_front;
2..2,1..-1: idle_anti_cavalry_back
</idle>
<attack>
1..1,1..-1: attack_anti_cavalry_front;
2..2,1..-1: attack_anti_cavalry_back
</attack>
</Animations>
<SpeedMultiplier>1</SpeedMultiplier>
</Formation>
<FormationAttack>
<CanAttackAsFormation>true</CanAttackAsFormation>
</FormationAttack>
</Entity>
@@ -2,22 +2,35 @@
<Entity parent="template_formation">
<Formation>
<Icon>formations/testudo.png</Icon>
<RequiredMemberCount>9</RequiredMemberCount>
<DisabledTooltip>9 melee infantry units required</DisabledTooltip>
<RequiredMemberCount>16</RequiredMemberCount>
<DisabledTooltip>16 melee infantry units required</DisabledTooltip>
<SortingClasses>Hero Champion Elite Advanced Basic</SortingClasses>
<FormationName>Testudo</FormationName>
<UnitSeparationWidthMultiplier>0.5</UnitSeparationWidthMultiplier>
<UnitSeparationDepthMultiplier>0.7</UnitSeparationDepthMultiplier>
<WidthDepthRatio>1.5</WidthDepthRatio>
<FormationShape>square</FormationShape>
<UnitSeparationWidthMultiplier>0.50</UnitSeparationWidthMultiplier>
<UnitSeparationDepthMultiplier>0.50</UnitSeparationDepthMultiplier>
<WidthDepthRatio>0.8</WidthDepthRatio>
<MinColumns>8</MinColumns>
<MaxColumns>8</MaxColumns>
<Animations>
<idle>
1..1,1..-1: idle_testudo_front;
2..-1,1..-1: idle_testudo_top
1..1,2..7: idle_testudo_front;
1..1,1..1: idle_testudo_front_left;
1..1,8..8: idle_testudo_front_right;
2..-1,8..8: idle_testudo_right;
2..-1,2..-1: idle_testudo_top;
2..-1,1..1: idle_testudo_left
</idle>
<walk>
1..1,1..-1: walk_testudo_front;
2..-1,1..-1: walk_testudo_top
1..1,2..7: walk_testudo_front;
1..1,1..1: walk_testudo_front_left;
1..1,8..8: walk_testudo_front_right;
2..-1,8..8: walk_testudo_right;
2..-1,2..-1: walk_testudo_top;
2..-1,1..1: walk_testudo_left
</walk>
</Animations>
<SpeedMultiplier>0.25</SpeedMultiplier>
</Formation>
<FormationAttack>
<CanAttackAsFormation>false</CanAttackAsFormation>
@@ -16,6 +16,9 @@
<SpecificName>Triarius</SpecificName>
<Icon>units/rome_infantry_spearman.png</Icon>
<RequiredTechnology>phase_town</RequiredTechnology>
<Formations datatype="tokens">
special/formations/anti_cavalry
</Formations>
</Identity>
<Promotion>
<Entity>units/rome_infantry_spearman_a</Entity>