RimWorld

RimWorld

1,148 ratings
Big and Small - Framework
6
5
3
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5, 1.6
File Size
Posted
Updated
12.372 MB
Jan 29, 2023 @ 7:10am
Aug 24 @ 6:32am
389 Change Notes ( view )

Subscribe to download
Big and Small - Framework

In 3 collections by RedMattis
Red's Workshop Mods
45 items
Big and Small - Integrated Mods
26 items
Red's Vanilla++
57 items
Description
[www.patreon.com]
This is a framework for adding custom races and greatly extending the ability to do things with Genes and Hediffs.

The mod is frequently performance-tested and aims to bring bliss even to the Performance Junkies over at Dubs Discord. If you think you've encountered any performance issues during regular play related to this mod please feel free to inform me.

The mod used to be dependent on the Biotech DLC, but this is no longer the case.

It can to a be used as a more limited but less performance intensive alternative to Humanoid Alien Races (HAR). It is also fully compatible with HAR itself.


Custom Races (with or without Biotech)



The framework supports making and switching between custom races either via genes or by defining a custom race similar to HAR.

The framework handles most of what you'd expect. Custom inhuman bodies/body parts, disabling thoughts, forcing bodies, filtering/forcing traits, food diets, apparel, genes, custom graphics, and so on.

Here is a guide on how to make your own custom races with or without Biotech:


https://steamcommunity.com/sharedfiles/filedetails/?id=3360668794
The guide goes through the process of how to create the very sane race shown above.

You're encouraged to download the sample mod and go through the files and read the comments as you go through the guide. Feel free to ask questions on the guide or my discord if anything is unclear or you want help with some step. I (probably) don't bite.


Old Description


(What follows is the old mod description. It will be updated once the current planned improvements are done.)

Framework for gene/race features such as genes of different sizes, and well as a variety of gene and graphics behavior, such as transformations, genes varying by body-type, and so on.

Most of the images in the reel above are very out of date.


Body-swapping


You can swap the bodies of pawns using genes, this lets you e.g. create a terrifying pawn with 8 arms each with an eyeball in the palm.

The catch is that you need to swap to a specific body, you can't mix half of one and half of another.

The Lamia/Naga mod has an example of performing a swap like this.


Facial Animation Gene Compatibility

Adds the ability to disable/enable Features from NL's Facial animation mod via genes. Currently limited to disabling the facial animations on particular pawns due to NL's rework breaking my old method.
https://imgur.com/IF8OUX6
https://imgur.com/Ij6Bb5h


Transformation back and forth



The Framework supports turning into different forms with different bodytypes, furskin, etc., and then back again to the previous state.


Pawn Size and Orientation


This part of the framework adds methods for changing the size of creatures via StatDefs that can be applied from genes, hediffs, races (such as custom races). Changing the non-cosmetic changes applies a large number of effects to large/small creatures such as altered rendering size, health, damage, metabolism, self-production, etc.

The size changes are balanced to be in line with Vanilla Rimworld. The cosmetic size-scaling of sprites are non-linear, f.ex. a human baseliner scaled to body size 10.0 would not render 10x larger.

Here are a few of the commonly used sized-related StatDefs:

Body Size Offset & Cosmetic Body Size Offset
Offsets the pawns body size in an additive way. The latter version is cosmetic only and won't affect game-mechanics.

E.g. a body size 0.5 HAR race with a 0.6 offset would end up body size 1.1and render roughly twice as large.

Body Size Multiplier
Just as above, but a multiplier instead.

E.g a x0.75 multiplier applied to a standard body size 4.0 Elephant would reduce its body size to 3.0

Head Size Multiplier
Increases or decreases the size of the character's head.

This can be preferable to just drawing the head texture larger for some gene-based heads since it will scale the headgear.

Other
There are stats for offsetting the pawn's world position, head position, and so on. For more info take a look in the StatDef .xml file in the mod.

Other Big and Small/Better Prerequisites Features
For instructions on how to f.ex. make infectious gene-based werewolves that change shape under the moon check out the Discord linked at the bottom of this page.


Better Prerequisites


Ages ago this was merged B&S Framework.

Better Prerequisite lets you create genes and hediffs that disable genes. Hediffs can even disable genes that disable genes. You cannot have genes that disable genes that disable genes because of how it was written to avoid recursion..




For any Gene mod authors can specify any number of condition sets that must all be fulfilled for the gene to activate.

This being a framework it does nothing on its own.

Unlike the vanilla prerequisite system genes with prerequisites from this mod can still spawn in genepacks or via random gene-generation.

Valid XML tags are: AnyOf, AllOf, NoneOf. More could easily be added if someone wants XOR and stuff such as that.





Other Random Stuff




Gameplay Improvements and Etc.


AI
  • AI normally won't use combat-self-buff abilities. With this mod they will.
  • AI normally won't use hostile abilities in melee range. With this mod they will.

Damage
  • Lets you apply damage that won't randomly penetrate into people's internal organs. (DamageWorker_Outer...)
  • Lets you have damage multipliers to more specific damage types (e.g. bullets, concussive, ...)

Misc
  • Lets you make genes affect the size of raids as an alternative/addition to metabolism costs.
  • A whole bunch of other stuff. Feel free to use XML stuff from my other mods as inspiration. :)


Facial Animation Disabled for Nal's Faces via a special gene.

There are also options that just disable specific facial features, but most of those are for other modders require you to supply a gene-graphic as a head.

Compatibility



Compatible with most mods. Safe to add to existing saves.

Feel free to make requests for features if there is something you'd like to see added to the framework.



Big and Small Genes

The above is the Big and Small Genes which used to be bundled with this framework.



Mod Discord
[discord.gg][ko-fi.com]
[github.com]
Popular Discussions View All (20)
2
9 hours ago
NullReferenceException Spam
Darkstar
2
13 hours ago
Woman in blue error
Alleyballey
7
Aug 22 @ 6:07am
I don't have settlements.
sanek33 ︻芫
895 Comments
JustAPerson 20 hours ago 
Hi! could you make a standalone version just including the facial animation disablers, and if not, what are some mods you'd suggest that do the same to singular pawns
Traderathand Aug 23 @ 6:46pm 
Hi Sorry!

I was progressing through my run when I encountered an issue/error, which caused all pawns (Both Colonists and Hostiles), guns and bullets to disappear.

This happened during a raid.

Originally, i had thought the issue was "True Visual Misses", However, after removing that mod, the issue persisted

I took another look at the log and saw that the error started when "Root level exception in Update(): System.NullReferenceException: Object reference not set to an instance of an object
[Ref 74C47A59]
at BigAndSmall.BodyGraphics.ShowStandardBody (Verse.Pawn pawn, Verse.Graphic __result) [0x000d6] in C:\Games\Steam\steamapps\common\RimWorld\Mods\1 BigSmall_Framework\1.6\Base\Source\BigSmallFramework\Rendering & Graphics\Patches\PawnRenderNode_Body_Patches.cs:59

Apologies, had to truncate the error log.


Here is my log as well: https://gist.github.com/HugsLibRecordKeeper/c623ea96270a137c71b5e6940afac657
Zinnel Aug 22 @ 1:37pm 
Hello, fun set of mods btw but I have a slight issue. I don't know if this question belongs in this or the Genes & More page. But I recruited a pawn with the Gigantism trait and when I changed their name they resized back down as if the trait nolonger applies. Is their a way I can reapply the trait? I tried using dev mode to remove and reapply it but it didn't change their size. Any suggestions?
RedMattis  [author] Aug 22 @ 2:20am 
@Corvid
They are in the Big & Small Optional mod. They were moved there because of complaints that this mod added non-gene stuff.

@JustAPerson
That is intentional (if highly ironic) behaviour for non-sourced bodytypes.

I needed to add it because otherwise there was a long list of mods that would just constantly override body-types set by genes, etc. Nal's being specially notable for messing with the heads/head-genders constantly.

This mod does handle settings from other frameworks such as HAR, as well any body set via background (which is how most mods do it), among other edge cases.

If there is a particular mod this doesn't handle then let me know and I'll look into it.
Corvid Aug 21 @ 2:57am 
are the large meals gone or is there a problem on my end? They were really useful as someone who enjoys the heir xenotypes
JustAPerson Aug 20 @ 1:46pm 
I've replicated the issue. I used only the framework. (This mod) and the dlcs excluding anomaly. I start a new game with dev quick test. I use the dev tool "Set body type" and set a males body to the female type. When I change their clothes, or if they take damage, it reverts to the specified (Their gender) body type. I tried with character editor first, then used the in game dev tool. Same issue. Thank you for your response, I didn't mean to sound impatient! Apologies for the bother
RedMattis  [author] Aug 20 @ 10:16am 
It is generally faster to bring it to the discord if you're in a hurry. I only check steam sporadically since I have quite a few mods to look through at this point. :)

@JustAPerson
I can't reproduce the issue. Stuff like the female-body gene seems to work for me.

Can you reproduce this with just my mods? If so, what are the steps to do so?

If not, which other mod does this occur with?
'atrick Aug 20 @ 12:17am 
I'm getting the same bug, my pawns body types getting reverted.
JustAPerson Aug 19 @ 3:21pm 
@RedMattis
PixieCatSupreme Aug 19 @ 4:35am 
I seem to have the same issue with the Lucario race mod. Every time my pawn changes clothes, he reverts to a male body that doesn't exist