边缘世界 RimWorld

边缘世界 RimWorld

1,353 个评价
Gradient Hair
2
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
1
1
9 月 17 日 下午 12:01
An Error Occurred
Okran365
293 条留言
FlyIN_11 9 月 29 日 上午 12:33 
Sadness, Milira's hair is not the original hair, so this mod cannot be used on them.:sheep_cry:
Demonseed Elite 9 月 15 日 上午 8:41 
I don't know if this was intentional or not. I'm doing an Anomaly playthrough. One of my pawn, a little impid with long gradient orange to red hair is studying the corrupt obelisk and got cloned. Of course, the clones lack all the gear, clothing and bionics of the original... but ALSO, they had single colored orange hair. I was like OMG, of course, the red would be hair dye... and she wouldn't have that!

If it is intentional, you are amazing. If it's not, then never "fix" it, because it's awesome. Thank you for an amazing mod!
Tigerblut 9 月 12 日 下午 7:52 
You WON'T because he will NOT update that mod.Got it?
Chick-Fil-A© Chicken Sandwich 9 月 10 日 下午 8:44 
how to use with choose carefully?
Alma_S 8 月 23 日 下午 9:36 
i found a bug. it seems like babies could sometime be born with gradient hair, even though they should be born bald
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://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3548815203