RimWorld

RimWorld

1,020 ratings
Elite Bionics Framework
3
2
3
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5
File Size
Posted
Updated
356.586 KB
Feb 24, 2019 @ 1:40am
Mar 31 @ 4:06am
67 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
18 items
Elite Bionics Framework: Known Compatible Mods
15 items
Elite Bionics Framework: Community Unification
11 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 HugsLib (warning should be given if you don't have HugsLib); place this mod below HugsLib
  • Visible Error Logs is strongly recommended to help with detecting bugs ( https://steamcommunity.com/sharedfiles/filedetails/?id=3248417388 )
  • Place this mod above other mods that require this mod
  • Using auto-sort, place this mod above Humanoid Alien Races
  • Safe to add to existing saves
  • Depending on whether there are any dependencies loaded, safe to be removed
  • Should have no problems with most other mods, see below for more info
  • Multiplayer compatibility: YES
  • RimThreaded compatibility: YES
  • GitHub repo link is here: https://github.com/Vectorial1024/EliteBionicsFramework
  • A mod for modders: modders can read adjusted max HP values for their calculations
  • A mod for all: unifies HP-boosting effects from various community bionics mods for compatibility reasons
Background, Overview, and Motto
Elite Bionics Framework is the child of the abandoned, never-released mod Elite Bionics (ELTE). In Fall 2018, the ELTE mod was drafted to bring competition into the bionics mod duopoly at that time: EPOE and RBSE. The selling point was that, while the ELTE bionics offer less body part efficiency, they instead provide max HP bonuses to them, mitigating the loss of HP caused by the usage of bionics (see https://ludeon.com/forums/index.php?topic=15704.0 for more details).

Unfortunately, with the lack of both drawing skills and the confidence of finding cooperation, the ELTE mod was scrapped; but to not let the programming effort go to vain, I have decided to refactor ELTE and release this mod instead as a tribute to the ambitions that went unfulfilled: to shape the Big Three of the bionics mod "market", and to become one of them.

The motto of Elite Bionics: they might not be as effective as others, but at least they last much longer than others.

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 ( https://steamcommunity.com/sharedfiles/filedetails/?id=1744648077 ), 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 throw errors 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: if, after uninstallation, your colonists have body parts where the injury magnitude is larger than the max HP (e.g. injury at 26, EBF part gives max HP = 35, but vanilla only gives max HP = 20), those body parts will very likely become destroyed. This is vanilla behavior.
  • 24 Dec 2021: Compatibility with Humanoid Alien Races now fixed (only for RW >= 1.3); Special thanks to RocketDelivery!
  • 2 July 2022: Compatibility with a whole bunch of other mods (e.g. Qaulity Bionics, Pawnmorpher) now fixed via Community Unification; refer to the Community Unification collection for more details
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.
  • HugsLib is made by UnlimitedHugs.
  • 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 (19)
4
Jan 8 @ 7:15am
Body Size Not affecting Max HP for parts
Substantiate
8
Aug 25, 2023 @ 11:59am
Mod not wirking, getting error
manlorn
13
Nov 21, 2021 @ 7:20pm
Found A Bug
Krystenix
661 Comments
Vectorial1024  [author] May 10 @ 6:48am 
@AvA顶晚人

I checked and Level This can be used directly with EBF; Level This modifies the body part HP scale in a very compatible way.
Vectorial1024  [author] Apr 26 @ 6:04am 
@AvA顶晚人

Thanks for the report! Created a new todo for later:

https://github.com/Vectorial1024/EliteBionicsFramework/issues/99
Vectorial1024  [author] Apr 22 @ 12:41am 
@emilstumme

Good that you have found the 2 mods.

Then, There is nothing to do on EBF's side. No more info is needed.

You should tell both Vanilla Bionics Expansion and Medical System Expansion 2 about this "duplicated compClass" error. See if they have some good ideas on what to do.
emilstumme Apr 21 @ 9:57am 
thank you so much! ur right! this only happens when "[FSF] Vanilla Bionics Expansion" AND "Medical System Expansion 2" are both turned on TOGETHER with your framework.... ill get back with more info if I can find any :)) is there something specific youd like me to look for or do right now?
Vectorial1024  [author] Apr 21 @ 3:27am 
@emilstumme

Not directly related to this framework mod, but a simple explanation would be: there is a patching conflict between different EBF-bionics mods, where quite literally the compClass thing is wrongly repeated.

You should check your mod list, and look for mods that require EBF. Then, remove them one by one until you find out which two mods together are causing problems.
emilstumme Apr 20 @ 5:32am 
hi! this otherwise amazing thing has started throwing me 4 config errors on startup constantly :/
it claims "Config error in ArchotechArm: EBF.Hediffs.HediffCompProperties_MaxHPAdjust: two comps with same compClass: EBF.Hediffs.HediffComp_MaxHPAdjust" all 4 errors are the same except for the parts they affect: ArchotechArm, ArchotechLeg, BionicArm, BionicLeg.

ive uninstalled the mod and reinstalled it just in case and ive tried to figure it out on my own... but I can only come up with the possible solution of downloading this from gitshub instead! D:

im not very smart on this matter, and havent really dealt with anything like this before, so im really sorry if this isnt the right way to request help :( (id love to be educated if im messing up)
thanks in advance!! :aphidmeat:
Cringe Shaymin Apr 6 @ 9:08am 
Ah that makes a lot more sense, thank you very much!
Vectorial1024  [author] Apr 6 @ 9:02am 
@Cringe Shaymin

Added to the list (Known Dependent Mods); thanks for your work!

(PS: Known Compatible Mods is more about other "technical" C# code mods working smoothly alongside EBF)
Cringe Shaymin Apr 6 @ 5:24am 
Hello, I've been working on a collection of patches to add EBF compatibility with various other mods, found here: https://steamcommunity.com/sharedfiles/filedetails/?id=3354489757
Is there any chance it could be added to the "Known Compatible Mods" collection?