Kenshi
Location of BF_CAGE, BF_SLEEPING functionalites?
I wanted to work on a mod that reduced or negated the hunger rate of prisoners in cages so I can keep them around for longer and set up an arena of sorts. From the other documentation i've found, other modders were totally unsuccessful because the values in FCS like "hunger rate" don't actually affect the occupant. Beds in FCS also have a listed hunger rate multiplier of 1, but ingame beds reduce hunger rate to 30%. That value must actually be in the BF_SLEEPING functionality. From there, editing BF_CAGE so occupants get the same benefits oughta be trivial.
Trouble is, I can't fiind what i'm looking for, i'm assuming it's hidden somewhere since they're supposed to be un-editable. Does anyone know what to do?
Originally posted by Cattrina:
Yeah it is not something we can edit. The functionalities are in the core code we cannot access. You can say the core game is the DVD and FCS is the player. You can ask the player to play certain bits of the movie, but you cannot alter the contents of the movie.

The BF_SLEEPING command plays the pre-programmed part that is the sleep. You can play it several times in a row, but you cannot change how fast the sleeper gets hungry during.
< >
Showing 1-8 of 8 comments
The author of this thread has indicated that this post answers the original topic.
Cattrina Jul 13, 2020 @ 9:27pm 
Yeah it is not something we can edit. The functionalities are in the core code we cannot access. You can say the core game is the DVD and FCS is the player. You can ask the player to play certain bits of the movie, but you cannot alter the contents of the movie.

The BF_SLEEPING command plays the pre-programmed part that is the sleep. You can play it several times in a row, but you cannot change how fast the sleeper gets hungry during.
Last edited by Cattrina; Jul 13, 2020 @ 9:31pm
Blue Magnolia Jul 13, 2020 @ 9:54pm 
Originally posted by Cattrina:
Yeah it is not something we can edit. The functionalities are in the core code we cannot access. You can say the core game is the DVD and FCS is the player. You can ask the player to play certain bits of the movie, but you cannot alter the contents of the movie.

The BF_SLEEPING command plays the pre-programmed part that is the sleep. You can play it several times in a row, but you cannot change how fast the sleeper gets hungry during.

I take that to mean nobody has figured out how to unpack the core code yet?
Cattrina Jul 13, 2020 @ 10:04pm 
No. It is a grey area in legal terms. Copyrights and all that.
Last edited by Cattrina; Jul 13, 2020 @ 10:05pm
Yea. If someone said they unpacked it with evidence of doing so, they can be sued for stealing intilectual/copywrited property.
This goes away once the game is classified as abandonware by the developer. Which won't happen for least 20 plus year's for popular titles.
prd Jul 14, 2020 @ 4:29am 
https://www.eff.org/issues/coders/reverse-engineering-faq

Copyrights, trade secrets, circumvention, contractual agreements (such as EULAs) and plenty of other legal mechanisms stand in favor of a developer's right to protect their product. Generally speaking, without complete explicit consent given, it's ill-advised to commit to reverse engineering proprietary software in any way. It can vary for how such things are applied, but the courts have resoundingly concluded once you agree to the terms of use, they become highly enforceable.
Aphelion Jul 14, 2020 @ 5:23am 
Bed hunger rate is 30%, however lowering the bed hnger rate in FCS will lower it further (The 1.0 is a multiplier for the 30%)

It's al,ready been said that you cant lower cage hunger rate, however note that you can feed prisoners by looting them and handing them food in the loot menu.
Last edited by Aphelion; Jul 14, 2020 @ 5:23am
Teirdalin Jul 14, 2020 @ 10:54am 
The people in this community are almost as bad as the holy nation when it comes to the legalities of data modification.

But yeah, it's buried somehwere in the gamedata.base archive file I believe, pretty sure we're not going to be seeing anyone changing that in a mod anytime soon.
Last edited by Teirdalin; Jul 14, 2020 @ 10:54am
Hatsune Neko Gaming Jul 14, 2020 @ 11:02am 
We have to be in some circumstances. Conducting what could amount to a, crime means we have to step in and most likely ban people. Better to be informed then us having to use our moderating abilities
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Jul 13, 2020 @ 9:07pm
Posts: 8