RimWorld

RimWorld

29 ratings
Hauts' Framework
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5
File Size
Posted
Updated
3.300 MB
Feb 7 @ 8:15am
Jun 5 @ 9:32pm
32 Change Notes ( view )

Subscribe to download
Hauts' Framework

Description
For 1.5 only. Safe to add mid-playthrough; do not remove mid-playthrough.
You don't need the following mods, but if you have them, they must go...
* Above Hauts’ Framework: Cybernetic Organism and Neural Network, Infused, Vanilla Psycasts Expanded.
* Below Hauts’ Framework: Integrated Implants, as well as any Hauts' mods.

What this framework does
Makes other Hauts' mods work. Does not directly add content for the player to experience, but adds many many modding tools, such as:
- Ability comps that define AI usage of the ability, alter cooldowns dynamically, establish minimum stat prerequisites, or perform effects (alter Need levels, create a thought if the ability has/hasn't been used recently, create a 'linked hediff' between the caster and target, etc.)
- Aura hediffs that are more performant and customizable than the 'command auras' introduced in Ideology
- Hediffs that cause attacks and/or psycasts to have additional effects, such as extra damage, hediff infliction, thought infliction, mental state infliction, etc.
- Damage-response hediffs which occur in a customizable series; these can negate and/or retaliate to damage of various types
- A system for "delayed resurrection", as well as a fix that enables resurrected corpses that are on a caravan or in a grave to actually resurrect into that caravan/grave rather than just disappearing
- And more!
Also comes with a lot of mod compatibilities.

See the full description here
https://docs.google.com/document/d/1JPPbfiRIpaFdsvDoyR8lXw8NIOJMn06b4gHt5069D2k/edit?usp=sharing

Known issues
(see Google Doc for more detail)
Issues with other mods:
- Character Editor does not play nice with traits that use the TraitGrantedStuff system. It can be used to safely add/remove these traits during a new-game setup, but if you use it to do so during the course of play, you need to follow it up by turning on dev mode, toggling on God Mode, clicking on the affected pawn, and pressing the pink “DEV: Fix TraitGrantedStuff” button.
- A pawn with a mechanitor command range-altering gene from Alpha Genes and another source of modified mechanitor command range will display two command radius circles. The white circle is the accurate one.
-While the 'spew range factor' stat can theoretically extend the targeting range of Alpha Genes' Greater Acidic Vomit and Greater Fire Spew beyond 40 cells, the actual vomit only travels up to 40 cells.
- The max hemogen stat of EBSG Framework overrides any GeneticResourceModifiers that modify a pawn's max hemogen.
Don't do these:
- Don’t make InflictHediffsOnHit inflict a directly damaging hediff (e.g. an injury like Crush or Burn). This will lock the victim in place indefinitely, cause the UI to disappear, and potentially pause the game indefinitely. Use ExtraDamageOnHit instead.
- Don't give a parent-hediff HediffComp_GiveAbility, as it won't work. Instead, assign it to the actual hediff(s) it's being used by.

FAQ
I’d like to report an error.
Please read the Google Doc before reporting - it may be an intended feature! If it isn’t, send me a description of what happened, your error log, and your mod list. If you don’t send these things, I will not be able to fix your problem.
Can I make a patch of your mod?
Go right ahead! If you need something in the C# to be opened up without resorting to reflection, ask and I’ll consider it.
Why does this require the Vanilla Expanded Framework?
Given that…
1) VEF has a lot of good tools; and
2) you probably already have VEF (>half of all mod-using RimWorld players have it); and
3) if I didn’t use VEF, I would have to recreate the functionality of its many tools that I do use in my mods …
… not using it would be a waste of my time, your computer’s memory, and your game’s performance.
Why did you make <thing>?
I need it for multiple mods, or I need it for one mod and may wish to reuse its functions for future mods.
Why did you tweak <thing from the Fixes/tweaks list>?
It saddens me that those things aren’t fully functional, and I do not long suffer sadness.
Why did you make your own aura code instead of just using Ideology aura code?
Mine is 15x as performant while surprisingly retaining the same level of effect in 99.99% of cases - Ideology command auras iterate every tick, whereas mine only do so every 15 ticks by default.
Mine is way more moddable in XML, and way more extensible in C#.
Basically every 'aura' effect in RimWorld is handled via bespoke code, when unifying them all under a single methodology is much more elegant. I make a lot of auras for my mods, so...
Why do you name all your mods after yourself?
Lots of modders do it. When I download a mod from Vanilla Expanded, Dubwise, Sarg Bjornson, LimeTreeSnake, Biomes!, FrozenSnowFox, or the like, I kind of know what I’m getting into because each of these creators has a distinct vibe and philosophy. It is liable to be the same with my mods.
Plus I have a really large ego. That keeps me happy.
Combat Extended compatible?
Never played with it, no idea how it works, not interested in spending the time to make it so.

Patch notes
This includes pre-release patch notes as well, and should therefore largely be regarded as a curiosity.
https://docs.google.com/document/d/1JwwP-Wg7vhIIwm1r2SuI265j90Z1qy5pLsSEL5K80BI/edit?usp=drive_link

GitHub
https://github.com/LaserToothLiger/Hauts-Framework
7 Comments
fayestar May 22 @ 8:51am 
@Hauts its fixed! thanks so much :D
Hauts  [author] May 22 @ 7:24am 
@fayestar just put up an update to address that. Tell me if the issue still pops up.
fayestar May 22 @ 6:55am 
opened up an issue on github with missing "extract hemogen pack" operation bill!
PearificPear Mar 13 @ 9:41pm 
Opened an issue regarding disappearing info cards through GitHub.
♥ Aevery Windchild ♥ Feb 19 @ 5:14pm 
@Hauts It works! Thank you ^^
Hauts  [author] Feb 19 @ 3:34pm 
@ ♥ Aevery Windchild ♥ it should be fixed now, let me know if that's not the case. (Also, thanks for being the first person to actually submit an error log and modlist)
♥ Aevery Windchild ♥ Feb 17 @ 8:53pm 
Seems to have an issue with VPE - Puppeteer, the Puppet ability can't finish casting and returns an error.
Opened an issue with the details on the GitHub page.