Archers should now be able to fire, though I don't know what exactly the problem was (it seems that you need the "event" parameter to be 0.5 and the "load" parameter to be 0 in the animation for it to work, and the animation is not completely right; not sure if this is intended).

This was SVN commit r3243.
This commit is contained in:
Matei 2005-12-14 04:53:53 +00:00
parent 213463fdfd
commit 15be1474bc
6 changed files with 7 additions and 6 deletions

View File

@ -12,7 +12,7 @@
<animation file="biped/dudechop.psa" name="Chop" speed="150"/>
<animation file="biped/dudedeath_sword.psa" name="Death" speed="200"/>
<animation file="biped/dudedecay_sword.psa" name="Decay" speed="100"/>
<animation event="0.86" file="biped/inf_arch_atk_a.psa" load="0.16" name="Attack" speed="100"/>
<animation event="0.5" file="biped/inf_arch_atk_a.psa" load="0" name="Attack" speed="100"/>
</animations>
<mesh>skeletal/m_tunic_a.pmd</mesh>
<props>

View File

@ -12,7 +12,7 @@
<animation file="biped/dudechop.psa" name="Chop" speed="150"/>
<animation file="biped/dudedeath_sword.psa" name="Death" speed="200"/>
<animation file="biped/dudedecay_sword.psa" name="Decay" speed="100"/>
<animation event="0.86" file="biped/inf_arch_atk_a.psa" load="0.16" name="Attack" speed="100"/>
<animation event="0.5" file="biped/inf_arch_atk_a.psa" load="0" name="Attack" speed="100"/>
</animations>
<mesh>skeletal/m_tunic_a.pmd</mesh>
<props>

View File

@ -12,7 +12,7 @@
<animation file="biped/dudechop.psa" name="Chop" speed="150"/>
<animation file="biped/dudedeath_sword.psa" name="Death" speed="200"/>
<animation file="biped/dudedecay_sword.psa" name="Decay" speed="100"/>
<animation event="0.86" file="biped/inf_arch_atk_a.psa" load="0.16" name="Attack" speed="100"/>
<animation event="0.5" file="biped/inf_arch_atk_a.psa" load="0" name="Attack" speed="100"/>
</animations>
<mesh>skeletal/m_tunic_b.pmd</mesh>
<props>

View File

@ -25,6 +25,7 @@
<prop actor="props/units/weapons/jav.xml" attachpoint="l_hand"/>
<prop actor="props/units/weapons/jav.xml" attachpoint="r_hand"/>
<prop actor="props/units/weapons/jav.xml" attachpoint="loaded-r_hand"/>
<prop actor="props/units/weapons/jav.xml" attachpoint="projectile"/>
</props>
<texture>skeletal/hele_ijv_e.dds</texture>
</variant>

View File

@ -561,7 +561,7 @@ function DamageModifyAura( source, ally, bonus )
{
if( this.affects( e ) )
{
console.write( "Courage aura: giving " + this.bonus + " damage to " + e );
console.write( "Damage mod aura: giving " + this.bonus + " damage to " + e );
e.actions.attack.damage += this.bonus;
}
};
@ -570,7 +570,7 @@ function DamageModifyAura( source, ally, bonus )
{
if( this.affects( e ) )
{
console.write( "Courage aura: taking away " + this.bonus + " damage from " + e );
console.write( "Damage mod aura: taking away " + this.bonus + " damage from " + e );
e.actions.attack.damage -= this.bonus;
}
};

View File

@ -11,5 +11,5 @@
rollover="These were the skirmishers. These lightly armoured units would advance quickly, throw a hail of javelins and then retreat back to their ranks. Grab another spear and repeat. They would do well against any unit that wasn't wearing proper armour, but more poorly if they fought hand to hand vs a well armoured unit. They didn't always have to thow their spears either. They used these light small spears in hand to hand similar to a quarterstaff. Also note that the development of the pilum was a key transition. This pilum was a weapon with a long steel shaft that would sink into a shield, nearly impossible to remove. This rendered the shield useless. They also weighted and balanced them to make them accurately hit with a punch."
/>
</Traits>
</Traits>
</Entity>