Jump to content

===[COMMITTED]=== Animations


Alexandermb
 Share

Recommended Posts

@Alexandermb You broke the build, can you fix the first one in priority ? Else we won't know if something goes wrong with any commit ?

Can you remove </variant> public\art\actors\units\spartans\infantry_javelinist_a.xml at line 43 ?

Can you fix all those errors ?

Missing file 'art/actors/props/units/capes/brit_boudicca.xml' referenced by: 'public/art/actors/units/britons/hero_infantry_swordsman_boudicca.xml'
Missing file 'art/actors/props/units/capes/cloak_thracian.xml' referenced by: 'public/art/actors/units/seleucids/infantry_swordsman_a.xml', 'public/art/actors/units/seleucids/infantry_swordsman_a.xml', 'public/art/actors/units/seleucids/infantry_swordsman_e.xml', 'public/art/actors/units/seleucids/infantry_swordsman_e.xml'
Missing file 'art/actors/props/units/capes/iber_viriato.xml' referenced by: 'public/art/actors/units/iberians/hero_infantry_swordsman_viriato.xml'
Missing file 'art/actors/props/units/capes/javelinist_fast.xml' referenced by: 'public/art/actors/units/hellenes/infantry_javelinist_c_thureophoros.xml', 'public/art/actors/units/hellenes/infantry_javelinist_c_thureophoros.xml', 'public/art/actors/units/persians/infantry_javelinist_a.xml', 'public/art/actors/units/persians/infantry_javelinist_a.xml', 'public/art/actors/units/persians/infantry_javelinist_b.xml', 'public/art/actors/units/persians/infantry_javelinist_b.xml', 'public/art/actors/units/persians/infantry_javelinist_c.xml', 'public/art/actors/units/persians/infantry_javelinist_c.xml', 'public/art/actors/units/persians/infantry_javelinist_e.xml', 'public/art/actors/units/persians/infantry_javelinist_e.xml', 'public/art/actors/units/ptolemies/infantry_javelinist_a.xml', 'public/art/actors/units/ptolemies/infantry_javelinist_a.xml', 'public/art/actors/units/ptolemies/infantry_javelinist_b.xml', 'public/art/actors/units/ptolemies/infantry_javelinist_e.xml', 'public/art/actors/units/ptolemies/infantry_javelinist_e.xml'
Missing file 'art/actors/props/units/capes/javelinist_thracian.xml' referenced by: 'public/art/actors/units/athenians/infantry_javelinist_e.xml'
Missing file 'art/actors/props/units/capes/swordsman_shield_ready_centurion.xml' referenced by: 'public/art/actors/units/romans/infantry_swordsman_c3.xml'
Missing file 'art/actors/props/units/capes/swordsman_shield_relax_celt.xml' referenced by: 'public/art/actors/units/ptolemies/infantry_swordsman_a.xml', 'public/art/actors/units/ptolemies/infantry_swordsman_a.xml', 'public/art/actors/units/ptolemies/infantry_swordsman_b.xml', 'public/art/actors/units/ptolemies/infantry_swordsman_b.xml', 'public/art/actors/units/ptolemies/infantry_swordsman_e.xml', 'public/art/actors/units/ptolemies/infantry_swordsman_e.xml'
Missing file 'art/variants/biped/base_swordsman_shield_fast_relax.xml' referenced by: 'public/art/actors/units/iberians/hero_infantry_swordsman_caros.xml', 'public/art/actors/units/mauryas/infantry_swordsman_c.xml'
Missing file 'art/variants/biped/base_swordsman_shieldsmall_fast.xml' referenced by: 'public/art/actors/props/units/capes/cape_viriato.xml', 'public/art/actors/units/kushites/infantry_clubman_a.xml', 'public/art/actors/units/kushites/infantry_clubman_b.xml', 'public/art/actors/units/kushites/infantry_clubman_e.xml'

 

  • Thanks 1
Link to comment
Share on other sites

4 hours ago, Stan` said:

@Alexandermb You broke the build, can you fix the first one in priority ? Else we won't know if something goes wrong with any commit ?

Can you remove </variant> public\art\actors\units\spartans\infantry_javelinist_a.xml at line 43 ?

Can you fix all those errors ?


Missing file 'art/actors/props/units/capes/brit_boudicca.xml' referenced by: 'public/art/actors/units/britons/hero_infantry_swordsman_boudicca.xml'
Missing file 'art/actors/props/units/capes/cloak_thracian.xml' referenced by: 'public/art/actors/units/seleucids/infantry_swordsman_a.xml', 'public/art/actors/units/seleucids/infantry_swordsman_a.xml', 'public/art/actors/units/seleucids/infantry_swordsman_e.xml', 'public/art/actors/units/seleucids/infantry_swordsman_e.xml'
Missing file 'art/actors/props/units/capes/iber_viriato.xml' referenced by: 'public/art/actors/units/iberians/hero_infantry_swordsman_viriato.xml'
Missing file 'art/actors/props/units/capes/javelinist_fast.xml' referenced by: 'public/art/actors/units/hellenes/infantry_javelinist_c_thureophoros.xml', 'public/art/actors/units/hellenes/infantry_javelinist_c_thureophoros.xml', 'public/art/actors/units/persians/infantry_javelinist_a.xml', 'public/art/actors/units/persians/infantry_javelinist_a.xml', 'public/art/actors/units/persians/infantry_javelinist_b.xml', 'public/art/actors/units/persians/infantry_javelinist_b.xml', 'public/art/actors/units/persians/infantry_javelinist_c.xml', 'public/art/actors/units/persians/infantry_javelinist_c.xml', 'public/art/actors/units/persians/infantry_javelinist_e.xml', 'public/art/actors/units/persians/infantry_javelinist_e.xml', 'public/art/actors/units/ptolemies/infantry_javelinist_a.xml', 'public/art/actors/units/ptolemies/infantry_javelinist_a.xml', 'public/art/actors/units/ptolemies/infantry_javelinist_b.xml', 'public/art/actors/units/ptolemies/infantry_javelinist_e.xml', 'public/art/actors/units/ptolemies/infantry_javelinist_e.xml'
Missing file 'art/actors/props/units/capes/javelinist_thracian.xml' referenced by: 'public/art/actors/units/athenians/infantry_javelinist_e.xml'
Missing file 'art/actors/props/units/capes/swordsman_shield_ready_centurion.xml' referenced by: 'public/art/actors/units/romans/infantry_swordsman_c3.xml'
Missing file 'art/actors/props/units/capes/swordsman_shield_relax_celt.xml' referenced by: 'public/art/actors/units/ptolemies/infantry_swordsman_a.xml', 'public/art/actors/units/ptolemies/infantry_swordsman_a.xml', 'public/art/actors/units/ptolemies/infantry_swordsman_b.xml', 'public/art/actors/units/ptolemies/infantry_swordsman_b.xml', 'public/art/actors/units/ptolemies/infantry_swordsman_e.xml', 'public/art/actors/units/ptolemies/infantry_swordsman_e.xml'
Missing file 'art/variants/biped/base_swordsman_shield_fast_relax.xml' referenced by: 'public/art/actors/units/iberians/hero_infantry_swordsman_caros.xml', 'public/art/actors/units/mauryas/infantry_swordsman_c.xml'
Missing file 'art/variants/biped/base_swordsman_shieldsmall_fast.xml' referenced by: 'public/art/actors/props/units/capes/cape_viriato.xml', 'public/art/actors/units/kushites/infantry_clubman_a.xml', 'public/art/actors/units/kushites/infantry_clubman_b.xml', 'public/art/actors/units/kushites/infantry_clubman_e.xml'

 

Just committed the fix for those, anything else missing? thanks for the checkref! :victory:

Link to comment
Share on other sites

IMHO, the animation ought to be enemy proximity-related. However, that might be costly performance-wise, so we could make it UnitAI-state dependent. I do not think the stances should influence the variant: If you're gonna attack an enemy you will look the same, regardless whether your orders were to charge on sight or wait for the enemy to close in (provided unlimited stamina ;) ).

Link to comment
Share on other sites

2 minutes ago, Freagarach said:

IMHO, the animation ought to be enemy proximity-related. However, that might be costly performance-wise, so we could make it UnitAI-state dependent. I do not think the stances should influence the variant: If you're gonna attack an enemy you will look the same, regardless whether your orders were to charge on sight or wait for the enemy to close in (provided unlimited stamina ;) ).

"COMBAT.APPROACHING" remains the same, so they always gonna walk attacking the enemy in "ready" variant, however stance based variant would help if stances make a difference in future gameplay. Like this:

  • Violent: increment movement speed  10% while reducing defenses 10%
  • Aggresive: incrementing movement speed 5% while  reducing defenses 5%
  • Defensive: Movement speed and defenses as usual.
  • Hold Ground: Attack Reduced by 5% defenses increased by 10% while standing ground.
  • Passive: Defenses Reduced as the infantry isn't aware of any threat (perfectly for ambushes) Walk speed to a human realistic walking speed, attack lowered and gathering rate increased.

    just an example stats arent 100% accurate.

If that were the case, aiming for realism and making 0.A.D. one of the few making stances more than just a behavior but also an strategy.

Link to comment
Share on other sites

5 hours ago, Stan` said:

I always wanted to have M2TW like combat in this game so I am all for it but I can't commit code...

Can you mention what features? i would like to have a vision of it. 


New idle relax for archer done, as well as the new jog animation:

Spoiler

image.png



Plan:

New Idle Ready for archer:

While the idle relax keeps the bow whitout being stretched in order to retain the silouete of the archer, the ready version stretch the bow as if its "ready" to fire:

Spoiler

image.pngimage.png

All of this with having in mind to retain as much as possible from the main animation, considerating that we only have archers using ready variant pose:


Now i just need to do some relaxed idles and ready jog animation and we are done with the archer and probably covered all the infantry natural idles.

  • Like 2
Link to comment
Share on other sites

13 hours ago, Alexandermb said:

a way of implement death variant's based on attack?

One could pass the type of attack from the Attacking-helper to Health.js TakeDamage, then via Reduce and HandleDeath to CreateCorpse and one could select a attack-specific animation there (at "// Make it fall over"). Note that this will not be able to specify which kind of projectile (arrow, boulder, stone) would be the COD.

  • Like 1
Link to comment
Share on other sites

  • Alexandermb changed the title to ===[COMMITTED]=== Animations

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...