RimWorld

RimWorld

1,277 ratings
Elite Bionics Framework
3
3
3
2
16
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6
File Size
Posted
Updated
441.407 KB
Feb 24, 2019 @ 1:40am
Jun 14 @ 4:24am
79 Change Notes ( view )

Subscribe to download
Elite Bionics Framework

In 4 collections by Vectorial1024
Vectorial1024's RimWorld Mods
10 items
Elite Bionics Framework: Known Dependent Mods
21 items
Elite Bionics Framework: Known Compatible Mods
17 items
Elite Bionics Framework: Community Unification
6 items
Description
A common framework to change body part max HP, along with a bit of something else. Please check the changelog tab for the latest version.

Package ID: V1024.EBFramework

Quick Info and Compatibility
  • Requires Harmony only!
  • Visible Error Logs is strongly recommended to help with detecting bugs
  • HugsLib or Log Publisher from HugsLib is strongly recommended to send bug reports
  • Safe to add to existing saves; might be unsafe to remove from saves (e.g. bionics will lose EBF effects)
  • Should have no problems with most other mods, see below for more info
  • Multiplayer compatibility: YES
  • GitHub repo link is here: https://github.com/Vectorial1024/EliteBionicsFramework
  • XML/C# modders may want to read the README to see how to add compatibility with this mod
Background and Overview
Elite Bionics Framework is the child of the abandoned, never-released mod Elite Bionics (ELTE). Originally drafted in Fall 2018, the idea was that, because installing bionics will make pawns weaker by reducing the HP pool (Ludeon Forums[ludeon.com]), ELTE bionics would trade some of the bonus body part efficiency buff for max HP buff.

This would make ELTE an interesting competitor to the bionics duopoly at the time (EPOE and RBSE), but due to the lack of art skills and general creativity, ELTE was scrapped.

To not let the programming effort go to waste, the underlying tech that buffs max HP was reorganized to become the Elite Bionics Framework.

Cheers to the ambition of becoming the third greatest bionics mod after EPOE and RBSE!

Framework Description
Other modders may manipulate body parts through this framework. Currently, these manipulations are supported:
  • Changing max HP of body part (v1.0.0)
  • Changing melee attack damage of bionics (v2.1.0)
Note that, normally, when body part max HP is increased, the pain and bleeding rate will both also increase. This mod scales down the bleeding rate in order to avoid nonsensical instant-death situations due to instant-bleed-out.

However, pain levels are not touched to maintain balance. End users should aim for drugs, implants, or armor to reduce the pain of your soldiers/workers before and during battle.

Modders (and perhaps end users too) may refer and subscribe to Elite Archotech, another mod under my name, for inspiration and immediate usage.

There are some documentation on GitHub for modders too.

Known Issues and Latest News
  • This framework will emit warnings if it detects any mod that tries to get the max HP of body parts without using this framework.
  • Uninstalling this mod may have problems: the game may destroy body parts that has sustained too much injury (total severity >= max HP) during game load. This is vanilla behavior.
  • Pawns are still too fragile? Consider using No More Lethal Damage Threshold
  • 17 Aug 2025: A new way for C# mods to provide compatibility with Elite Bionics Framework is now available
The GitHub Repo
Many things, including changelogs, non-Steam downloads, and issues, are on the GitHub repo of this mod. Link: https://github.com/Vectorial1024/EliteBionicsFramework

Credits and Legal Stuff
  • RimWorld belongs to Ludeon Studio. Some textures used as illustration above are from RimWorld assets.
  • Harmony is provided by pardeike.
  • Mods in the Community Unification list are all made by someone else (except EBF, of course, EBF is made by me).
  • Thanks to Neceros and Bar0th for finding a patching bug and suggesting a more resilient solution to how this mod patches vanilla code
  • Thanks to RocketDelivery for solving the seemingly magical incompatibility with Humanoid Alien Races

Support and Donation
You are welcome to buy me some coffee at Ko-Fi to support my work!
https://ko-fi.com/vectorial1024

Conclusion
Please report bugs and error messages below!
Popular Discussions View All (23)
2
Jul 18 @ 12:36am
error with health display
Vragerr
5
Apr 28 @ 7:37am
PINNED: Hugslib Dependancy?
RedPepperPhoenix
8
Aug 25, 2023 @ 11:59am
Mod not wirking, getting error
manlorn
842 Comments
Vectorial1024  [author]
Aug 7 @ 11:13pm 
Not EBF's problem, though the description of "bionic downgrading" is kinda funny.
Aug 6 @ 9:03pm 
Whenever I load a save any advanced bionic arms or legs downgrade to being a regular bionic instead
Vectorial1024  [author]
Jul 18 @ 12:43am 
Well, at least that is a good start. Will later check what's going on with EliteRaidPlus.

Making new issue for now https://github.com/Vectorial1024/EliteBionicsFramework/issues/117
Jul 17 @ 7:09pm 
I am getting the same error as the commentor below. When I put the error through google, it says it's being caused by an interaction a mod called EliteRaidPlus is having with it. EliteRaidPlus is trying to change the health of the raiders but the bionics mod is effecting that so the health just goes back to default.
"This error log indicates a compatibility issue between Elite Bionics Framework (EBF) and EliteRaidPlus (specifically the InfoCardBodyPartMaxHealthFactorEntryPatch class). The log also shows that mods like BetterInfoCard, MendAndRecycle (Meow), and certain Vanilla Expanded mods are intercepting this call, but EliteRaidPlus is the primary culprit causing the EBF protocol violation."
I don't know jack about coding so I ask google about errors and this is what it came up with. I am using a massive mod list so of course errors are expected but I wanted to post this here in case it helps.
Vectorial1024  [author]
Jun 20 @ 9:51am 
Or it could be just a very unexpected (new) mod interaction that I was not aware of / I didn't plan for.
Vectorial1024  [author]
Jun 20 @ 9:49am 
We can start by determining whether this is just a random freak incident by reloading the game and verifying game files, to see if the error goes away. If that doesn't work, then I'm honestly clueless, and would like your mod list for some ideas.
Vectorial1024  [author]
Jun 20 @ 9:43am 
@Bizarro

That's unexpected and potentially embarrassing. Either I made a big brain mistake, or some other mods are using EBF in an unexpected way.
Jun 19 @ 7:26am 
EBF seems to be flagging itself as a problem mod all of a sudden:
[V1024-EBF] Elite Bionics Framework has detected some mods using the unmodified GetMaxHealth() method, which violates the EBF protocol. The author(s) of the involved mod(s) should adopt the EBF to clarify their intentions.
For now, the unmodified max HP is returned.
The detected mod comes from: EBF
Jun 15 @ 10:06am 
no lie it was another mod that got cooked instead of ur mod, your mod's all good twin mb
Vectorial1024  [author]
Jun 15 @ 7:53am 
There was a minor update on Immortals mod detection, do you have an error log or at least the error message? Hopefully the minor update did not botch anything.