[A12d] [AI] Enviro SK v.0.7b Hunger (02/11/15)

Started by skyarkhangel, September 20, 2015, 09:51:52 PM

Previous topic - Next topic

skyarkhangel


Enviro SK
Rimworld AI enhancement

It's a small modification that expands intelligence for animals. Now the animals are divided into carnivores and herbivores for real!



Key features in v.0.2

  • Carnivores felt hungry can go to hunt other animals.
  • Animal chooses target by multiple criteria, starting with the distance.
  • Hunter select target based on the size and strength his victim.
  • Hunter butchering corpse for some meat..
  • Some animals, can't attack other animals, because of their physical capabilities and eats after hunter.
  • The animal will not hunt if it is not needed... but...
  • There are some types of animals  that like to kill.
  • Tame animals don't attack their owners.
  • Animals won't attack own race.
  • When the tame animal gorged on, is returned back.
  • If there is no food, and the animal is very hungry, it may decide to take a bigger goal...
  • Or leave a map... like in vanilla.

Additional features in v.0.3: Wild hunt

  • hungry wild animal will now consider the colonists as food.
  • tamed animal can attack wild animal with own race.
  • wild animals can support his pack!

Additional features in v.0.4: Back to back

  • Wild pack animals can defend own animals.
  • Animals trying be together and find his relatives.
  • Agressive herbivores can defend together.
  • After butchering will appear gutted corpse (not meat). Only animals can eat it...
  • Animal full rebalanced, based the food chain.

Additional features in v.0.5: The Shawshank Redemption
  • Intelligent animals could funtime. (thanks to Fluffy).
  • If the animal is locked and very hungry it tries to break out (thanks to Fluffy).

Additional features in v.0.6: Wild nature.
  • Added new animal AI:  Herbivore harmless.
  • Apparel drop from pawn, after eating animals, but heavily damaged. (thanks for isistoy).

Additional features in v.0.7: Hunger

  • Tamed animals will not be consider friendly or neutral guests as potential food. But as soon as the visitor became aggressive - hungry tamed animal will break him to pieces.
  • When any wild hungry animal select player's unit as target, will come a message about it.
  • Fixed red errors.
  • Few rebalance distance for search targets and herds.

Updated to 0.7b
1. Disabled bash function for animals, that caused big freezes.
2. isGuest check fix. Tamed animals tried to check own faction for goodwill.

Screenshots:








  Inspired by Pidgett
  Contributions from the entire K9 team.
  Special credits to mrofa, abrexus, ramsis, isistoy, igabod and fluffy :)
  Realised by Skyarkhangel.


Download v.0.7b Vanilla version.





ratboys

do you need to make a new save for this to work?


skyarkhangel


skyarkhangel

#4
v.0.2
Fixed bug, when animal self tamed after butchering.
Animals won't attack own race.

Kolljak

lol was just about to post that bug... lol beat me to it.

Kolljak

Download doesn't work... for me at least it says the yan.disk page is not found or no download there.

Kolljak

And.... now its in Russian and still says no download available.

Kolljak

OK got it back it says this
Nothing found

The owner may have deleted the file or closed access to it.
Or you might have received a link containing an error.


You can't lose your Yandex.Disk or spill coffee on it. Your files will be saved on Disk
no matter what happens to your devices.

skyarkhangel

#9
Sorry, fixed link :)

Soon be added project "Seedplease 2.0"  :)
With wild plants... Cultivation and domestication plants...

Kolljak

Thanks love your mod. cant wait for 1.0 amazing mods will start to appear once code is finished.

skyarkhangel

Quote from: Kolljak on September 22, 2015, 06:45:09 PM
Thanks love your mod. cant wait for 1.0 amazing mods will start to appear once code is finished.

oh yess.. there are great potential with K9. I suppose would be realized "wild hunting". Animal could hunting in groups.

Keychan

Is there any precautions to prevent pets from attacking visitors.  Just had a pet husky attack my first group of visitors making them hostile.

skyarkhangel

#13
Updated to v.0.3: Wild hunt

Additional features in v.0.3: Wild hunt

  • hungry wild animal will now consider the colonists as food.
  • tamed animal can attack wild animal with own race.
  • wild animals can support his pack!


Additional features in closed test v.0.4: Back to back

  • Wild pack animals can defend own animals.
  • Animals trying be together and find his relatives.
  • Agressive herbivores can defend together.
  • After butchering will appear gutted corpse (not meat). Only animals can eat it...
  • Animal full rebalanced, based the food chain.

Possible in v.0.5: The Shawshank Redemption
  • Intelligent tamed animals could funtime. (thanks to Fluffy).
  • If the animal is locked and very hungry it tries to break out (thanks to Fluffy).

skyarkhangel

#14
Quote from: Keychan on September 23, 2015, 04:03:28 PM
Is there any precautions to prevent pets from attacking visitors.  Just had a pet husky attack my first group of visitors making them hostile.

I thought about it, do ban soon.
Some people think that this is good :)