1
0
forked from mirrors/0ad

Add running animations for carrying units so that they do not glide.

Add XML headers.

This was SVN commit r21219.
This commit is contained in:
Stan
2018-02-15 22:39:48 +00:00
parent ffe07d5cd9
commit d408262d3d
5 changed files with 70 additions and 60 deletions
@@ -1,14 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<variant name="carry_food">
<animations>
<animation file="biped/new/male_carry_grain.dae" name="Walk" speed="20"/>
<animation file="biped/new/male_carry_grain_idle.dae" name="Idle" speed="20"/>
</animations>
<props>
<prop actor="props/units/shuttle_basket.xml" attachpoint="weapon_R"/>
<prop attachpoint="weapon_L"/>
<prop attachpoint="helmet"/>
<prop attachpoint="shield"/>
<prop attachpoint="shield_arm"/>
<prop attachpoint="ammo"/>
</props>
<animations>
<animation file="biped/new/male_carry_grain.dae" name="Walk" speed="20"/>
<animation file="biped/new/male_carry_grain_idle.dae" name="Idle" speed="20"/>
<animation file="biped/new/male_carry_grain.dae" name="Run" speed="40"/>
</animations>
<props>
<prop actor="props/units/shuttle_basket.xml" attachpoint="weapon_R"/>
<prop attachpoint="weapon_L"/>
<prop attachpoint="helmet"/>
<prop attachpoint="shield"/>
<prop attachpoint="shield_arm"/>
<prop attachpoint="ammo"/>
</props>
</variant>
@@ -1,14 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<variant name="carry_meat">
<animations>
<animation file="biped/new/male_carry_meat.dae" name="Walk" speed="20"/>
<animation file="biped/new/male_carry_meat_idle.dae" name="Idle" speed="20"/>
</animations>
<props>
<prop actor="props/units/shuttle_meat_male_R.xml" attachpoint="weapon_R"/>
<prop actor="props/units/shuttle_meat_male_L.xml" attachpoint="weapon_L"/>
<prop attachpoint="helmet"/>
<prop attachpoint="shield"/>
<prop attachpoint="shield_arm"/>
<prop attachpoint="ammo"/>
</props>
<animations>
<animation file="biped/new/male_carry_meat.dae" name="Walk" speed="20"/>
<animation file="biped/new/male_carry_meat_idle.dae" name="Idle" speed="20"/>
<animation file="biped/new/male_carry_meat.dae" name="Run" speed="40"/>
</animations>
<props>
<prop actor="props/units/shuttle_meat_male_R.xml" attachpoint="weapon_R"/>
<prop actor="props/units/shuttle_meat_male_L.xml" attachpoint="weapon_L"/>
<prop attachpoint="helmet"/>
<prop attachpoint="shield"/>
<prop attachpoint="shield_arm"/>
<prop attachpoint="ammo"/>
</props>
</variant>
@@ -1,14 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<variant name="carry_metal">
<animations>
<animation file="biped/new/male_carry_ore.dae" name="Walk" speed="20"/>
<animation file="biped/new/male_carry_ore_idle.dae" name="Idle" speed="20"/>
</animations>
<props>
<prop actor="props/units/shuttle_metal.xml" attachpoint="weapon_R"/>
<prop attachpoint="weapon_L"/>
<prop attachpoint="helmet"/>
<prop attachpoint="shield"/>
<prop attachpoint="shield_arm"/>
<prop attachpoint="ammo"/>
</props>
<animations>
<animation file="biped/new/male_carry_ore.dae" name="Walk" speed="20"/>
<animation file="biped/new/male_carry_ore_idle.dae" name="Idle" speed="20"/>
<animation file="biped/new/male_carry_ore.dae" name="Run" speed="40"/>
</animations>
<props>
<prop actor="props/units/shuttle_metal.xml" attachpoint="weapon_R"/>
<prop attachpoint="weapon_L"/>
<prop attachpoint="helmet"/>
<prop attachpoint="shield"/>
<prop attachpoint="shield_arm"/>
<prop attachpoint="ammo"/>
</props>
</variant>
@@ -1,14 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<variant name="carry_stone">
<animations>
<animation file="biped/new/male_carry_ore.dae" name="Walk" speed="20"/>
<animation file="biped/new/male_carry_ore_idle.dae" name="Idle" speed="20"/>
</animations>
<props>
<prop actor="props/units/shuttle_stone.xml" attachpoint="weapon_R"/>
<prop attachpoint="weapon_L"/>
<prop attachpoint="helmet"/>
<prop attachpoint="shield"/>
<prop attachpoint="shield_arm"/>
<prop attachpoint="ammo"/>
</props>
<animations>
<animation file="biped/new/male_carry_ore.dae" name="Walk" speed="20"/>
<animation file="biped/new/male_carry_ore_idle.dae" name="Idle" speed="20"/>
<animation file="biped/new/male_carry_ore.dae" name="Run" speed="40"/>
</animations>
<props>
<prop actor="props/units/shuttle_stone.xml" attachpoint="weapon_R"/>
<prop attachpoint="weapon_L"/>
<prop attachpoint="helmet"/>
<prop attachpoint="shield"/>
<prop attachpoint="shield_arm"/>
<prop attachpoint="ammo"/>
</props>
</variant>
@@ -1,14 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<variant name="carry_wood">
<animations>
<animation file="biped/new/male_carry_wood.dae" name="Walk" speed="20"/>
<animation file="biped/new/male_carry_wood_idle.dae" name="Idle" speed="20"/>
</animations>
<props>
<prop actor="props/units/shuttle_wood.xml" attachpoint="weapon_R"/>
<prop attachpoint="weapon_L"/>
<prop attachpoint="helmet"/>
<prop attachpoint="shield"/>
<prop attachpoint="shield_arm"/>
<prop attachpoint="ammo"/>
</props>
<animations>
<animation file="biped/new/male_carry_wood.dae" name="Walk" speed="20"/>
<animation file="biped/new/male_carry_wood_idle.dae" name="Idle" speed="20"/>
<animation file="biped/new/male_carry_ore.dae" name="Run" speed="40"/>
</animations>
<props>
<prop actor="props/units/shuttle_wood.xml" attachpoint="weapon_R"/>
<prop attachpoint="weapon_L"/>
<prop attachpoint="helmet"/>
<prop attachpoint="shield"/>
<prop attachpoint="shield_arm"/>
<prop attachpoint="ammo"/>
</props>
</variant>