1
0
forked from 0ad/0ad

Make hoplites gather food from dead animals like other units do (instead of stabbing at them with spears).

This was SVN commit r8320.
This commit is contained in:
Michael D. Hafer 2010-10-10 06:06:14 +00:00
parent 48360edf21
commit 3b38240d4f
3 changed files with 28 additions and 4 deletions

View File

@ -11,7 +11,7 @@
<animation file="infantry/general/chop.psa" name="gather_tree" speed="200"/>
<animation file="biped/hoe.psa" name="gather_grain" speed="300"/>
<animation file="infantry/general/forage.psa" name="gather_fruit" speed="110"/>
<animation file="biped/inf_hoplite_atk_a.psa" name="gather_meat" speed="200"/>
<animation file="infantry/general/forage.psa" name="gather_meat" speed="125"/>
<animation file="infantry/general/mine.psa" name="gather_rock" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ore" speed="200"/>
<animation file="infantry/general/dude/dudebuild.psa" name="Build" speed="220"/>
@ -85,6 +85,14 @@
<prop actor="props/units/heads/head_hele_a.xml" attachpoint="head"/>
</props>
</variant>
<variant name="gather_meat">
<props>
<prop attachpoint="helmet"/>
<prop attachpoint="r_hand"/>
<prop attachpoint="shield"/>
<prop actor="props/units/tools/basket.xml" attachpoint="l_leg"/>
</props>
</variant>
<variant name="gather_rock">
<props>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>

View File

@ -6,12 +6,12 @@
<animations>
<animation file="biped/inf_hoplite_idle_a.psa" name="Idle" speed="200"/>
<animation file="biped/inf_hoplite_walk.psa" name="Walk" speed="130"/>
<animation file="biped/inf_hoplite_shield_run_a.psa" name="Run" speed="30"/>
<animation file="biped/inf_hoplite_shield_run_a.psa" name="Run" speed="30"/>
<animation event="0.5" file="biped/inf_hoplite_atk_a.psa" name="Melee" speed="200"/>
<animation file="infantry/general/chop.psa" name="gather_tree" speed="200"/>
<animation file="biped/hoe.psa" name="gather_grain" speed="300"/>
<animation file="infantry/general/forage.psa" name="gather_fruit" speed="110"/>
<animation file="biped/inf_hoplite_atk_a.psa" name="gather_meat" speed="200"/>
<animation file="infantry/general/forage.psa" name="gather_meat" speed="125"/>
<animation file="infantry/general/mine.psa" name="gather_rock" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ore" speed="200"/>
<animation file="infantry/general/dude/dudebuild.psa" name="Build" speed="220"/>
@ -71,6 +71,14 @@
<prop attachpoint="helmet"/>
</props>
</variant>
<variant name="gather_meat">
<props>
<prop attachpoint="helmet"/>
<prop attachpoint="r_hand"/>
<prop attachpoint="shield"/>
<prop actor="props/units/tools/basket.xml" attachpoint="l_leg"/>
</props>
</variant>
<variant name="gather_rock">
<props>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>

View File

@ -11,7 +11,7 @@
<animation file="infantry/general/chop.psa" name="gather_tree" speed="200"/>
<animation file="biped/hoe.psa" name="gather_grain" speed="300"/>
<animation file="infantry/general/forage.psa" name="gather_fruit" speed="110"/>
<animation file="biped/inf_hoplite_atk_a.psa" name="gather_meat" speed="200"/>
<animation file="infantry/general/forage.psa" name="gather_meat" speed="125"/>
<animation file="infantry/general/mine.psa" name="gather_rock" speed="200"/>
<animation file="infantry/general/mine.psa" name="gather_ore" speed="200"/>
<animation file="infantry/general/dude/dudebuild.psa" name="Build" speed="220"/>
@ -94,6 +94,14 @@
<prop actor="props/units/heads/head_hele_e.xml" attachpoint="head"/>
</props>
</variant>
<variant name="gather_meat">
<props>
<prop attachpoint="helmet"/>
<prop attachpoint="r_hand"/>
<prop attachpoint="shield"/>
<prop actor="props/units/tools/basket.xml" attachpoint="l_leg"/>
</props>
</variant>
<variant name="gather_rock">
<props>
<prop actor="props/units/tools/pick.xml" attachpoint="l_hand"/>