I have searched in the forum but without any result.
Is it possible to reduce the food consumption rate in the game of each champion?
My party is very tough and needs no food for a long time.
I would be appreciate for any help.
Reduce food consumption
-
- Posts: 119
- Joined: Sun Jan 05, 2014 7:48 pm
Re: Reduce food consumption
Indeed this would be nice to know. A recreation of Stonekeep in Grimrock could definitely use this as well, since the original version did not require food. That was one thing I found in this game, that, although realistic, was more of a useless pain to have to deal with. If I were to finish my dungeon I would like to be able to turn off food requirements entirely if possible. Were you ever able to find a solution maneus?
Working on a dungeon that displays a massive collection of assets while sorting them into convenient reusable plugin format (concept from some of leki's mods). Will contribute some of my own models as well eventually and follow that with custom dungeon.
- DesperateGames
- Posts: 90
- Joined: Sun Oct 06, 2013 1:54 pm
Re: Reduce food consumption
I must admit I have never used these functions so far:
But I could imagine that you could set up a timer to repeatedly execute a function that will add tiny amounts of food to the champions, e.g. "Add 1 food to each champion every 10 seconds" If the player does not look too closely at the food bar, he should not notice that you are adding something in the background now and then, and in result it should feel like it takes a lot longer until your characters get hungry again.
Or, for chaoscommencer's cause, it should be possible to fill the food bars entirely every 30 seconds or so to completely get rid of food.
(from scripting reference)Champion:consumeFood(amount)
Consumes an amount of food taking racial food consumption rate and other factors into account.
Champion:modifyFood(amount)
Adds amount to current food stat directly without applying any modifiers. Amount can be a signed value.
Champion:getFood()
Returns champion’s current food value.
But I could imagine that you could set up a timer to repeatedly execute a function that will add tiny amounts of food to the champions, e.g. "Add 1 food to each champion every 10 seconds" If the player does not look too closely at the food bar, he should not notice that you are adding something in the background now and then, and in result it should feel like it takes a lot longer until your characters get hungry again.
Or, for chaoscommencer's cause, it should be possible to fill the food bars entirely every 30 seconds or so to completely get rid of food.
-
- Posts: 119
- Joined: Sun Jan 05, 2014 7:48 pm
Re: Reduce food consumption
Thanks for the reply, I've actually considered a workaround just like this, but I feel there must be a disable food requirement/status option somewhere that would eliminate the need for an extra timer and extra scripting overhead.
Working on a dungeon that displays a massive collection of assets while sorting them into convenient reusable plugin format (concept from some of leki's mods). Will contribute some of my own models as well eventually and follow that with custom dungeon.