Cyrus_Junior Posted 42 minutes ago Share Posted 42 minutes ago so I always get frustrated when archers clump together and only attack a single unit which instantly dies but most of the arrows are wasted. thats why I came up with 2 volley systems that could be introduced through the already existing stance system (or through a new one to allow better customization) and would significantly reduce overkill. 1) Focused Fire: the current default. ranged units target the closest enemy. 2) targeted volley: ranged units find the 5/n closest units and select one randomly to target. distributed volley: ranged units randomly select a unit in their range and change their target every time they shoot an arrow. Let me know what you think! PS: I'm also somewhat new to programming so I wanted to do something to gain a bit of experience. it wouldn't matter if it doesn't get implemented into the base game (which I think is very unlikely). Link to comment Share on other sites More sharing options...
Cyrus_Junior Posted 8 minutes ago Author Share Posted 8 minutes ago I also found this note while trying to do it. I'll see what I can do about it. // TODO: maybe add targetAggressiveEnemies (don't worry about lone scouts, // do worry around armies slaughtering the guy standing next to you), etc. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now