Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rabbits for dinner #1033

Open
digger112344 opened this issue Sep 8, 2023 · 8 comments
Open

Rabbits for dinner #1033

digger112344 opened this issue Sep 8, 2023 · 8 comments

Comments

@digger112344
Copy link

It would be great if rabbits could be hunted as deers for meat to the granary, so it will make meat much more usable and valuable resourse

@gynt
Copy link
Collaborator

gynt commented Sep 8, 2023

@gynt
Copy link
Collaborator

gynt commented Sep 8, 2023

It would be helpful as if you could think along on how this feature should be implemented.

If a hunter unit is looking for a next target to shoot down, should it first look for deer or first look for bunnies? In other words, what if there is both a bunny and a deer on the map, which one should it shoot down? Deer flock around in groups across the map, I am not sure if bunnies do the same. How much meat should be returned for a bunny?

@Panbutt
Copy link

Panbutt commented Oct 2, 2023

I agree with the idea with hunting bunnies - rabbits reproduce so fast that sometimes they can straight up conquer areas of the map if you don't manually kill them with army units lol. I think hunters should prioritize deer but target rabbits if certain conditions are met -

  • Switch to hunting rabbits if deer population is too low (to prevent wiping out all deer on the map, less than 6?)
  • Switch to hunting rabbits if rabbit population is too high (to prevent rabbits ruining an ecosystem, more than 25?)
  • If both rabbit and deer populations are too low, maybe hunters stop hunting until the populations recover? (rabbit pop less than 10?)
  • The quota to return to the granary is hunting at least 5 rabbits. Each rabbit could be worth 1-2 food, returning 5-10 food at max per trip (not including fear factor). Behavior-wise, if rabbits are grouped up the hunter could kill 5 rabbits before gathering their remains. Maybe the hunting dog could get in the action too and both hunt rabbits until they meet the combined quota of 5?
  • The advantage of hunting rabbits is that the hunter can clean them on the field and go to the granary immediately instead having to return to the hut first like with a deer but disadvantage is rabbits provide less food. (iirc deer provide around 15 food? maybe buff it to 20?)

The balance thought is that rabbits provide small amounts of food quickly whereas deer provide large amounts of food slowly.

Is it also possible to let deer respawn/reproduce akin to rabbits? IIRC rabbits are the only ones that can 'respawn'. It'd make hunters way more valuable and an actual tangible source of food. Obviously deer shouldn't respawn as fast as rabbits but yeah.

@gynt
Copy link
Collaborator

gynt commented Oct 2, 2023

Nice contribution! Are your suggestions about single player or skirmish mode?

@GRhin
Copy link

GRhin commented Oct 4, 2023 via email

@Panbutt
Copy link

Panbutt commented Oct 5, 2023

Having a switch between deer and rabbit is a fantastic idea, idk how that thought didn't even cross my mind lol. Yeah, giving players more control over hunting priorities is better overall from both a gameplay and coding standpoint.

@Heroesflorian
Copy link

Some more things to keep in mind:

  • Killed rabbits despawn faster than deer, and even shot deer sometimes despawn before the hunter reaches them, so a hunter hunting rabbits would rather shoot and collect them one-by-one rather than shoot multiple and try to gather what already has despawned afterwards.
  • Rabbits multiply like rabbits, but better: Even one "source rabbit" can breed up to a full group of around 32 again, and rather quickly so.
  • Repopulation of deer in SHC, especially skirmish, usually doesn't work that well, or at all, potentially making other adjustments necessary to avoid rabbits from becoming strictly better deer due to their rapid-respawning nature. For SH1, deer can repopulaty albeit more slowly and with some growing-up stages and only if a group's leading deer is still alive; when extinct, new deer spawn at a predetermined, fixed place on the map; this clearly doesn't happen for SHC skirmish though.
  • How will the AI switch between rabbits and deer?

@Panbutt
Copy link

Panbutt commented Oct 15, 2023

Some more things to keep in mind:

  • Killed rabbits despawn faster than deer, and even shot deer sometimes despawn before the hunter reaches them, so a hunter hunting rabbits would rather shoot and collect them one-by-one rather than shoot multiple and try to gather what already has despawned afterwards.
  • Rabbits multiply like rabbits, but better: Even one "source rabbit" can breed up to a full group of around 32 again, and rather quickly so.
  • Repopulation of deer in SHC, especially skirmish, usually doesn't work that well, or at all, potentially making other adjustments necessary to avoid rabbits from becoming strictly better deer due to their rapid-respawning nature. For SH1, deer can repopulaty albeit more slowly and with some growing-up stages and only if a group's leading deer is still alive; when extinct, new deer spawn at a predetermined, fixed place on the map; this clearly doesn't happen for SHC skirmish though.
  • How will the AI switch between rabbits and deer?

For killed rabbits, I mentioned using the hunting dog. They move faster than the hunter so I wonder if it could go like this;
-Hunter kills rabbit
-Dog rushes to rabbit corpse to 'gather' it
-Dog runs back to Hunter, rinse and repeat until a number is met (around 5-6 rabbits?)

In all my time playing SHC I've never seen the deer repopulate. It might've been disabled for multiplayer/skirmish if it's there in singleplayer. Might be worth considering using the rabbit repopulation code but just slowing it down considerably.

For the AI, that's tough. I get the feeling in vanilla SHC hunting mechanics were a bit of an afterthought to the devs as there's nothing in the AI lord (afaik) that controls granary meat amount or amount of hunting posts. I'm unsure how to go about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants