Jump to content

Stop eating for NPCs


aethoobaec

Recommended Posts

Hi, is there a mod that stops eating completely for NPCs?

Alternatively where is the code located to control eating? I assume its build into the NPCs AI.

There must be some generic code fragment thats shared between all NPCs.

If it is a Papyrus script in one of the games BSAs it would be easy to extract and override but I don't know where to start searching.

Many thanks!

 

Link to comment
Share on other sites

What are you trying to do, @aethoobaec?  Are your followers eating too much of any food you pass to their inventory to carry?  Or are you trying to stop the eating animation when they sit in chairs, etc.

If it's food in their inventory, some of the follower-control mods like EFF will add an "inventory" for carried items that they won't touch -- separate from their "equipment" inventory of weapons, armor, and such items on their person which they will touch or use.  (I forget if NFF does this too or not; I haven't really tried it out yet.)

Link to comment
Share on other sites

8 hours ago, AaronOfMpls said:

What are you trying to do, @aethoobaec?  Are your followers eating too much of any food you pass to their inventory to carry?  Or are you trying to stop the eating animation when they sit in chairs, etc.

If it's food in their inventory, some of the follower-control mods like EFF will add an "inventory" for carried items that they won't touch -- separate from their "equipment" inventory of weapons, armor, and such items on their person which they will touch or use.  (I forget if NFF does this too or not; I haven't really tried it out yet.)

Sorry if I was unprecise. I want to stop showing the eating animaton when they sit.
But not only for followers but for all NPCs. Its mainly for RPing as it just looks stupid in many situations.
I mean eating a huge loaf of bread on a chair all the time looks always stupid lol.
 

  • Haha 1
Link to comment
Share on other sites

You need to mod the behavior graph.

I open CK, load up one of my 'experiment' plugins.

I then go to Gameplay menu - Animations.   It has Chicken Behavior open, I collapse it and open Actors\Character one instead.

There are a lot of "IDLE ANIM" nodes in there, I expand them until I find the 'NPCIdleRoot', under it, NonCombatIdles - EatingRoot - ChairEatingStart - ChairEating.
And in the 'Anim Event' box, instead of 'ChairEatingStart' I select 'ChairIdle'.  Save and close.
image.thumb.png.7d02cf5c0b75b3a565202d712a5c583c.png

Then I load up a save in The Bannered Mare, wait till evening when a lot of people filter in.    Lots of people sitting around, many are drinking from mugs (since I did not do anything with DrinkingRoot branch).    

But not a single bread muncher.    So I reckon it works.

 

 

Link to comment
Share on other sites

On 10/21/2024 at 3:37 PM, DirebearCoat said:

Followers will eat food you put in their inventory?!  😮

Well, they will consume potions to heal, sometimes.  I'm not really sure about food though.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...