RimWorld

RimWorld

1,108 vurderinger
Big and Small - Framework
6
5
3
   
Pris
Føj til foretrukne
Gjort til foretrukken
Fjern som foretrukken
Mod, 1.4, 1.5, 1.6
Filstørrelse:
Offentliggjort:
Opdateret:
10.582 MB
29. jan. 2023 kl. 7:10
3. aug. kl. 10:23
366 ændringsbemærkninger ( vis )

Abonner for at downloade
Big and Small - Framework

I 2 samlinger af RedMattis
Red's Workshop Mods
44 genstande
Big and Small - Integrated Mods
26 genstande
Beskrivelse
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]
Populære diskussioner Vis alle (17)
6
13. juli kl. 21:33
Right click error with Achtung
The Moustache
5
11. juli kl. 23:33
1.6 devmode issue
moo
6
29. juli kl. 12:18
(1.6 unstable) Man in Black error spam
Wolves
850 kommentarer
Khar For 6 timer siden 
Something seems to be going wrong with B&S Framework's size scaling and "GiveInjuriesToForceDowned". While running with only B&S Framework and B&S Genes, it starts killing pawns on accident when only attempting to down them, but only if they have a size scaling gene or trait. To replicate: enable B&S Framework+Genes, open Dev Quicktest, add "Test force downed x100" action to your dev palette, and click it a few times until it crashes with "died during GiveInjuriesToForceDowned". (It will also spam "Pawn died while force downing" on "Drone_xxx", but this seems to be from vanilla without any mods). When running completely vanilla or taking away B&S Genes this error will stop happening (due to no size stuff). This error is at least frequently killing size-adjusted ancients at the start of a game for me (induced by Xenotype Spawn Control). I'm guessing it can probably accidentally kill size-adjusted pawns in several other scripted situations as well.
Log: https://pastebin.com/U9U2h1kH
Hello There 31. juli kl. 13:02 
Interesting, why does this add health states, giving old colonists even more problems to deal with, they have enough to worry about, they don't need their organs to start failing all of a sudden. :spycon:
kahvipensas 30. juli kl. 22:59 
Thanks for the bug fix! My Jotun was indeed wearing a shield belt!
Steel Raptor 30. juli kl. 19:00 
Ran some tests, seems to be fixed. Thank you for the swift corrective action and for looking into the issue so quickly.
nong 30. juli kl. 14:14 
Hello! I'm leaving a comment because I've encountered a bug.

When I enable only this mod, certain traits related to psychic sensitivity appear in English, even though those traits exist in the core game and have Korean translations. The same issue happens with other languages too.

I tested with only Harmony and this mod enabled, no other mods, and the traits still showed up in English.

I don’t remember the exact date, but I think it started after the update around the 13th–18th. At first there were no messages in the debug log, but since the 1.6.4535 update, a new log message started appearing.

I really love this mod and use it all the time. Thank you for creating it!

I also tried adding HugsLib, but the issue happens even without it.
Attaching the error log, a screenshot, and the TranslationReport:

https://gist.github.com/HugsLibRecordKeeper/3a3afda4cf3e2cb775f413ac6443d615
https://imgur.com/a/rVv0CyQ
https://pastebin.com/y2EmVbyf
Star Caster 30. juli kl. 13:59 
hi my lycanthrope no longer changes just gets bigger and can no longer change other into lycanthropes
RedMattis  [ophavsmand] 30. juli kl. 13:37 
@Steel Raptor
Managed to track it down.

Turns out waists can be permanently injured despite being "Conceptual".

If the (experimental) Sapient Mechanoid option was turned on and they got a waist added (for shield belts) the generator would try to give them scars there.

Fixed.

@Orain
The Android Fuel is added because sapient mechanoids and simply robots both need it along with potentially other mods.

The Metamorph genes are certainly misplaced there. Probably moved from the xenobug mod into the framework instead of genes by accident.

Fixed now. :)
Steel Raptor 29. juli kl. 17:10 
@RedMattis

Not sure if this is the correct log but this is the log file for you. This time it had a couple extra mods (loading bars and hugslib) but the error and issue is still the same. I'll paste the log link below for you.

https://gist.github.com/HugsLibRecordKeeper/d58bd55ff1b3adacaf64b8de1954d20a
Orain 29. juli kl. 14:20 
This framework seems to add "Android Fuel" cooking recipes and error-generating metamorph genes with no symbol texture to my game even with no mods enabled that would utilize these features. (My only B&S mod is animal sapience)

These features should probably be disabled unless a mod that uses them is present.
fug 29. juli kl. 13:41 
Adding onto the issue with mechs, I disabled mechanoid sapience and the problems stopped so likely something to do with that. Unfortunately my save is permanently broken because the bug also breaks mechhive generation and that happens as soon as you get the quest :steamsad: