Cyrus_Junior Posted 2 hours ago Share Posted 2 hours 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). 1 Link to comment Share on other sites More sharing options...
Cyrus_Junior Posted 1 hour ago Author Share Posted 1 hour 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. 1 Link to comment Share on other sites More sharing options...
Grautvornix Posted 5 minutes ago Share Posted 5 minutes ago @Cyrus_Junior Cool intiative! You might want to have a look at these threads (in case you did not already): https://wildfiregames.com/forum/topic/129757-selectionbox-targeting/ https://wildfiregames.com/forum/topic/143463-approximating-probability-of-range-attack-hitting-a-target-due-to-spread/#comment-635739 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