RimWorld

RimWorld

1,278 ratings
Gradient Hair
7
2
2
3
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5
File Size
Posted
Updated
4.933 MB
Mar 18, 2019 @ 2:05pm
Mar 29, 2024 @ 9:45pm
19 Change Notes ( view )

Subscribe to download
Gradient Hair

Description
ABOUT
Adds gradient hair to the game. Mod hairs are supported. On pictures are hairs from SS Lovely Hair Style mod.

All new pawns (as well as existing when you enable mod for the first time) have a chance to get gradient hair, which is by default 25% for women and 2% for men. Those numbers can be edited in mod settings.

This mod is safe to add and remove from save games.

MOD SUPPORT
The following mods add an option to change gradient hair color:


KNOWN INCOMPATIBILITIES
  • Facial stuff - you won't get any gradients, but hair color will change.

MOD API
If you wish to set pawn's gradient hair color from another mod, you can use its public API.
For reference, see how Hair Dye implements it:
https://github.com/AUTOMATIC1111/HairDye/blob/master/Source/GradientHairApi.cs
I recommend that you use the API the way it's used in Hair Dye, via reflection. Copying GradientHairApi.cs into your project is an easy way to do that.
The alternative is to link to GradientHair.dll at runtime, and this makes the game misbehave when I update my mod - you'd have to recompile yours every time I update mine.

(note that after setting hair color you'd still have to remake pawn's graphics yourself, see those two lines: 1[github.com]2[github.com])

SOURCE CODE
https://github.com/AUTOMATIC1111/GradientHair

UPDATES
13-Aug-2021
- Fixed gradient hair not working with HAR

12-Aug-2021
- Added support for styling station from Ideology
- Added more hair masks

16-Jul-2021
- 1.3

29-Feb-20:
- fixed dev mode error related to edb integration

24-Feb-20:
- 1.1 support

21-Mar-19:
- added support for alien races; this mod now works with the likes of Androids and Crystalloid (Rewrite)
Popular Discussions View All (1)
3
Feb 13 @ 11:24pm
Getting spammed with this errors
Rassmond
272 Comments
Italnerd Dec 2, 2024 @ 11:57pm 
Just curious, what do you mean "recently got a great update"? It looks like the last update was 7 months ago which was just to support vanilla skills expanded which it apparently still has issues with. And it's one of the most popular because at one point, yes, nearly everyone used it, but now it's more of a legacy mod that you are free to use if you prefer it, but it's hardly logical to expect the same level of compatibility as newer alternatives.
Kaschey Nov 25, 2024 @ 2:38pm 
I'm LOVING this mod. It brings so much variety to people's looks!

Just one little issue with it: not sure if it's a common problem but in my game, the menu of available colors for gradients is partially covered by the lower border of the stylizing window and because of that I don't have access to all of the colors. Is there a way to fix it?
LA PASIÓN Nov 23, 2024 @ 1:47am 
Sorry fellas, but prepare carefully is a great mod, I've suffered no problems with and it is one of the most popular mods on the workshop that recently got a great update. AUTOMATIC should just add compatibility to that mod.
NuanKi Sep 17, 2024 @ 8:30pm 
@Duncan instead of using edb use Character Editor, it does the same without breaking the game
אַבְרָהָם Sep 16, 2024 @ 3:50am 
@Duncan it's written in slavjank code that hasn't been changed outside of mod compat patches ever since its conception. many modlists and playthroughs eventually suffer from performance and game-breaking issues from it. i speak from experience when even my bare bones modlists with only QoL stuff become slogs to play through whenever Prepare Carefully is present.
Duncan Sep 8, 2024 @ 10:45am 
I've been using edb prepare carefully for years with no issues... how does it "break the game in a lot of ways"?
Marcus Aug 10, 2024 @ 8:36pm 
Possibility to remove gradient using styling bench?
NuanKi Jul 23, 2024 @ 8:14pm 
@DevolutionEX NEVER use edb prepare carefully, it breaks the game in a lot of ways, you could use character editor, prepare moderately or randomplus
🔰 Jul 2, 2024 @ 6:11pm 
nevermind, there is just no scrollbar on the gradient window so the bottom colors etc are cut off and thats why i couldnt see the message at the bottom that i needed dye to do it. after buying dye from a trader it works now.
🔰 Jul 1, 2024 @ 6:17pm 
i am unsure why but when i build a styling station and want to change the hair gradient it just doesnt work. i can change the hairstyle but neither color nor gradient do anything despite showing up in the menu. i added the dresser / mirror mod and i can change the gradients haircolor there but there is no way to add or remove a gradient (removing is not much of an issue as you can select twice the same color though)