Page MenuHomeWildfire Games

UnitAI combat running for appropaching
AbandonedPublic

Authored by Alexandermb on Jun 17 2017, 7:00 PM.

Details

Reviewers
None
Summary

Patch for make the combat faster, and more accurate.

Test Plan

Modifying the "UnitMotion" file in simulation / components. I defined to the unit that at the moment in which an attack is ordered the unit changes the animation to run towards the unit. At the end of the command, by killing the unit and there is no one else to attack or to change the order to walk to another point other than attack, the unit returns to its walking animation. All this to simulate when approaching, also I plan to define to the unit of rank to stay away each time that they approach the end of a shot, of this way the unit of rank maintains the advantage of distance keeping away of the unit of melee or cavalry.Modifying the "UnitAI" file in simulation / components. I defined to the unit that at the moment in which an attack is ordered the unit changes the animation to run towards the unit.

At the end of the command, by killing the unit and there is no one else to attack or to change the order to walk to another point other than attack, the unit returns to its walking animation. All this to simulate when approaching, also I plan to define to the unit of rank to stay away each time that they approach the end of a shot, of this way the unit of rank maintains the advantage of distance keeping away of the unit of melee or cavalry.

this gives a most faster and realistic combat.

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

Alexandermb created this revision.Jun 17 2017, 7:00 PM
Alexandermb created this object with edit policy "Administrators".

I personally don't like this change, as this makes it easy to game movement by ordering an attack on an enemy unit and then ordering to move (cf AoE 2 wolf movement).

bb added a subscriber: bb.Nov 14 2017, 8:34 PM

If we implement some running behaviour, it should be implemented properly (as in for all commands, maybe some stamina etc.), so +1 for abolish

phabadmin changed the edit policy from "Administrators" to "All Users".
bb abandoned this revision.Dec 23 2017, 5:13 PM

Abandon as two team members didn't agree and further no response (feel free to reopen when proposing a new patch)