RimWorld
1,343 次評價
Gradient Hair
8
2
2
3
   
獎勵
加入最愛
已加入最愛
移除最愛
Mod, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6
檔案大小
發佈於
更新時間
5.889 MB
2019 年 3 月 18 日 下午 2:05
6 月 16 日 上午 4:19
20 項更新註記 (檢視)

訂閱以下載
Gradient Hair

描述
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)
熱門討論 檢視全部(2)
12
8 月 12 日 下午 1:06
Getting spammed with this errors
Rassmond
0
8 月 1 日 上午 2:25
An Error Occurred
Okran365
287 則留言
SanguinarcAQL 8 月 18 日 上午 10:11 
Hey @torsina ! If you are gathering ideas for a fork, I beg you to add a search bar for hair, bear, and tattoo; it's a pain in the ass to search for a specific one when you have a few mods that add stuff ...
BonTenshi 8 月 17 日 下午 4:59 
@torsina Yeah a gene for whether or not a pawn has gradient hair, But even better make it so gradient hair can only be the colors indicated in the pawns genes instead of the rainbow
torsina 8 月 17 日 下午 12:41 
@BonTenshi What do you mean by "add a gene for it" ? I'm in the process of forking this mod and adding features that I and other people wanted, as well as reimplementing fixes like @Cosmosteller 's back into the mod.

Do you mean that gradient hair should only be active if a pan has the gene for it ? Or do you mean genes for the colors or ?
Cosmosteller 8 月 14 日 上午 9:00 
I’ve created a patch mod that adds a scroll function to the color palette in the Styling Station’s gradient section.
It also includes a safeguard against the error spam reported in the comments and discussions (this part hasn’t been tested yet).
Many thanks to the original modder, and I hope this small patch will be helpful to many players.

https://steamcommunity.com/sharedfiles/filedetails/?id=3548815203
BonTenshi 8 月 8 日 下午 7:56 
If someone fixes/creates a new mod please add a gene for it and link here!
Tigerblut 8 月 3 日 上午 9:57 
So this dev is absolutely not gonna fix this mod it seems? What a shame I loved it
UltraEmailMan 7 月 27 日 下午 7:07 
Can confirm. Color selection for the gradient color is cut off. Tested with only this mod and all DLC enabled.
Runzu 7 月 26 日 上午 5:26 
I'm having the same issue as @gh0stashes when it comes to choosing available gradient colors. They are cut-off, even at 1080p full screen resolution. Unless the colonist rolls with one that's off screen, you can't select it yourself.
Hawk Tuah 7 月 19 日 上午 2:41 
This is conflicting with EdB Prepare Carefully:
Gradient Hair tries to patch a method in EdB Prepare Carefully.
It expects a parameter named customPawn, but the actual method uses customizedPawn.
Harmony (the patching library) throws an exception due to this mismatch.