Jump to content

I need a better hunt mod


Vrayer
 Share

Recommended Posts

I need the CAV to be able to switch to different animals. For example, if you set them to hunt deer and there are sheep nearby, they won't switch to the sheep afterward. That's really annoying, especially when you're trying to build up your economy with Corrals.

Link to comment
Share on other sites

Yes, but it doesn't solve what I have in mind. If my cavalry are farming goats near the corrals and I start producing pigs, I don't want to have to queue 15 goats and wait for the pigs to spawn before I can add them to the queue.

Link to comment
Share on other sites

13 hours ago, Gurken Khan said:

You can cue that switch with shift+right click.

But, if I'm not wrong, you would be tasking the hunt of individuals, and not whole (nearby) species. I see some use for things to be the way they are, that is, not to switch to an aggressive species, but I've also noticed the additional micro @Vrayer is referring to.

Something I thought could be useful would be an "Target in Area" button, where after pressing it one would adjust the area of a target circle, and all attackable (Gaia and enemy for example) units inside it would be queued to be attacked. This would be useful for hunts and fights, not having to precisely pinpoint some target. It would also avoid a weird issue I usually have, which is that after the target unit is killed, the attackers retreat to their previous position instead of keep killing enemies they have just beside them, although maybe this is related to their stance.

Edited by Thalatta
Link to comment
Share on other sites

To do this, you would just need to remove this line:

https://gitea.wildfiregames.com/0ad/0ad/src/commit/9598c6c2e1f4cc58f92d4fd6a54fda39ad195bf9/binaries/data/mods/public/simulation/components/UnitAI.js#L2755

 

But beware this line was obviously here for a reason. For example, if you are slaughtering a bunch of sheeps but an elephant comes by, then your units will attack this elephant.

Link to comment
Share on other sites

@Vrayer If you want to could add a poll to this thread (maybe also change the title) and if people think units should continue to hunt other animals it could be done for next release.

It could also be possible to do it depending on animal "stance" for example units would keep hunting any other non-aggressive animals or any animals basically in the same stance that your initial order was.

Edited by Atrik
  • Thanks 1
Link to comment
Share on other sites

2 hours ago, Thalatta said:

But, if I'm not wrong, you would be tasking the hunt of individuals, and not whole (nearby) species. I see some use for things to be the way they are, that is, not to switch to an aggressive species, but I've also noticed the additional micro @Vrayer is referring to.

Something I thought could be useful would be an "Target in Area" button, where after pressing it one would adjust the area of a target circle, and all attackable (Gaia and enemy for example) units inside it would be queued to be attacked. This would be useful for hunts and fights, not having to precisely pinpoint some target. It would also avoid a weird issue I usually have, which is that after the target unit is killed, the attackers retreat to their previous position instead of keep killing enemies they have just beside them, although maybe this is related to their stance.

I use ctrl or ctrl +A to attack in an area ;)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...