RimWorld

RimWorld

647 ratings
Better Gene Graphics Framework
4
3
2
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5
File Size
Posted
Updated
916.088 KB
28 Oct, 2022 @ 4:41am
11 Apr @ 8:11pm
12 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Better Gene Graphics Framework

In 1 collection by telardo
Telardo's small mods.
11 items
Description
A framework designed for AFU Cosmetic Gene Expanded . This mod is a tool for modders to provide better graphics effects (than vanilla) for their genes.

For Players:
Use it only when you have a mod using this framework as a dependency.
You can place it everywhere in your mod list. Add or remove it to or from your current save. However, while generally used with other gene mods, genes are unsafe to remove from saves.

For Modders:
(1.5 Update) The new rendering system is super extensible and frees us from the chores of transpiling. Most tasks can be done with vanilla or simply writing your own PawnRenderNode and PawnRenderNodeWorker. I update it for our artist. Feel free to reference AFU Cosmetic Gene Expanded for how the new system works.

(1.4 Legacy)
Although I designed it for a specific mod, I made it a framework. Other modders may face the same problem (in vanilla) as us, and hopefully, they can tackle them with this mod.

Framework features:
1. Conditional gene graphics resolving.
You can change gene graphics for pawns with ages, like children and adults.
You can also change graphics with or without some hediffs and body parts.
2. You can add shader support for your graphics.
3. Better body attachment control. Allows you to disable vanilla body type scaling for "tails" for your genes and adjust their rendering offsets and layers as body type.

Check wiki for detailed documentation:
https://github.com/chzhrr/RW-BetterGeneGraphicsFramework/wiki

If you have any questions or feature requests, feel free to contact me here or in discord.
64 Comments
Tommy Wright III 19 Jun @ 10:23pm 
Is it possible to make Better Gene Graphics genes (such as the ones from AFU's Cosmetic Gene) override the visual aspect of other mods? For example, Alpha Genes adds its own fox tail with a boost to minimum comfortable temperature, but if I add both AG's and AFU's fox tail genes only one will show up. Or is this something that has to be patched together?
telardo  [author] 3 May @ 9:50pm 
@danime91 Hard to explain here. We can move to discord.
danime91 3 May @ 9:21pm 
Found the offsets in the hediff xmls, but those seem like universally applied offsets. If I only wanted to change the offset for specific body types, this would end up affecting them all, wouldn't it?
telardo  [author] 3 May @ 9:07pm 
@danime91 You may need to change renderNodeProperties in their hediff xml
danime91 3 May @ 7:46pm 
1.5 with all DLC. I removed most of my modlist to try to figure out what the issue is.

brrainz.harmony
ludeon.rimworld
ludeon.rimworld.royalty
ludeon.rimworld.ideology
ludeon.rimworld.biotech
ludeon.rimworld.anomaly
unlimitedhugs.hugslib
krkr.rocketman
dubwise.dubsperformanceanalyzer.steam
taranchuk.performanceoptimizer
telefonmast.graphicssettings
oskarpotocki.vanillafactionsexpanded.core
void.charactereditor
brrainz.cameraplus
m00nl1ght.mappreview
telardo.bettergenegraphicsframework
uuugggg.replacestuff
pathavoid.kv.rw
nals.facialanimation
nals.facialanimationexperimentals
erdelf.humanoidalienraces
fs.reviaracebiotech
vinzero.revia.facialanimation
telardo  [author] 3 May @ 7:29pm 
@danime91 1.4 or 1.5?
danime91 3 May @ 7:02pm 
I wanted to make some adjustments to the Revia Race (Biotech version) tail positioning, and adjusting the bodyTypeOffset values doesn't seem to change anything about how they're rendered in-game. I'm pretty sure I'm changing the right values, in <li Class="BetterGeneGraphics.BetterTailRendering">. Is there something I'm missing?
Average Rimworld Enjoyer 26 Apr @ 4:35pm 
ive got no clue why, but the 2nd time i reinstalled the mod seemed to fix it. thanks for the help
telardo  [author] 26 Apr @ 1:49pm 
@The Ultimate Autist Thanks for the log. However, it confuses me much more with referring to a class removed in 1.5. And I can't reproduce it at all. Can you try resubscribing? The file may be corrupted somehow.
Average Rimworld Enjoyer 26 Apr @ 12:33pm 
Have the same issues as speedy and uncle. Ive got nothing but prepatcher, harmony, and hugslib. Everything else is vanilla rimworld with dlcs, and this mod. since the others arent gonna, heres a link
https://gist.github.com/HugsLibRecordKeeper/5992b1b6e28d10d0c26b8b7b2d89ecdc