边缘世界 RimWorld

边缘世界 RimWorld

Vanilla Skin Tone Genes
69 条留言
LINX 11 月 17 日 上午 8:56 
Need support for Vanilla Races Expanded - Android. Each time Android is updated, it automatically adds three Skin Tone 1 genes. And it doesn't even take effect, android's skin turn into that dreary white.
Zahawk84  [作者] 9 月 10 日 下午 8:50 
@Buffalonian Thanks for the bug fix, I've updated the .xml with the new exclusion tag and removed selection weight. But the .dll is necessary to keep the skin shaders, you can test for yourself with skin tone 9 with/without the .dll, and the difference in colour will be noticeable.
Buffalonian 9 月 10 日 下午 6:37 
Okay, I've got good news and bad news.
Good news: looks like you can just add:
<exclusionTags>
<li>SkinColorOverride</li>
</exclusionTags>
To your VSTG abstract GeneDef and it fixes the problem for me, randomized multiple skin genes are back.
Bad news... I deleted the .dll and the <selectionWeight> tag in the same abstract and it seems to be working fine without them?
(I'm just trying to match the GeneDefs in Rimworld/Data/Biotech/Defs/GeneDefs/GeneDefs_Cosmetic.xml > "GeneSkinColorOverride").
Buffalonian 9 月 10 日 下午 6:12 
Sorry to report, there's still something buggy here (no errors in log): all DLCs + Harmony + Log Publisher + Vanilla Skin Tone Genes:
When I include 1 or more VSTG genes in a xenotype, germline or not, the visible skin tone is set to the darkest (highest-numbered) VSTG gene present, and *none* of the skin genes in the colonist gene list are grayed out.
As a quick test to reproduce:
Create xenotype with red hair, blue hair, red skin, blue skin. Apply and randomize on character creation for a while, you'll see it switch through the expected combos, you'll see one hair and one skin gene active. This works fine.
Add a VSTG gene to that xenotype, apply and randomize, every pawn will show as that VSTG skin tone visually *and* all three skin genes will look "active" (not grayed out). Same behavior with multiple VSTG genes.
(You'll note that the hair selection works fine the whole time and selects a single gene like you'd want.)
(Thanks for making a great mod!)
Tom 9 月 2 日 下午 3:44 
yay thank you. Time to use this mod!
Zahawk84  [作者] 8 月 29 日 下午 7:16 
Right final update. After bashing my head against the .xml files I found it impossible, so I finally bit the bullet and learned how to create a .dll which solved the ingame error. Mod should be 100% complete with this.
beans 8 月 29 日 上午 9:00 
The skin color genes in this mod say they're overridden by the vanilla skin color gene, so the genes are almost always ignored for me
Tom 8 月 28 日 下午 12:16 
I hear ya. Thanks for this though. It's much appreciate!
Zahawk84  [作者] 8 月 27 日 下午 11:50 
@Kot-sornyak @Tom So the skintone should now be consistent, but I've created another error where each save seems to create a new skin color germline, not sure how to fix that though... skin shader cutouts are frustrating...
Tom 8 月 24 日 下午 2:36 
It doesn't produce a log. Anyways ill stop spamming my problem in this comment section. But I do have proof that another skin color overrides another. Without another skin color being chosen.
Tom 8 月 24 日 下午 2:32 
ill do some testing.
Tom 8 月 24 日 下午 2:29 
I'm having the same issue. I wanted to use a darker skin color that matches with my custom xenotype . But this switches to other skin colors. Hopefully this is a easy fix!
Kot-sornyak 8 月 24 日 上午 7:43 
I do use multiple, but for whatever reason, it sets their skintone to ones that are NOT selected
Zahawk84  [作者] 8 月 24 日 上午 12:34 
@Kot-sornyak You'd have to give more info than that. Do you have multiple Xenogenes? Then one is picked at random. I havn't tested using them as Germline genes yet, so it could be picking the default skin over the Germline skin.
Kot-sornyak 8 月 23 日 下午 9:17 
Hey, for whatever reason this isn't working right, some of my pawns are still coming out as white when i set their skintone with these genes to be black, which is mighty strange.
-=GoW=-Dennis 8 月 23 日 下午 8:15 
Awesome! Will check it out soon :)
Zahawk84  [作者] 8 月 23 日 下午 8:13 
@-=GoW=-Dennis Haven't fully tested for redshader on vs off and how that affects the two. But this seems right for my test game with shader off. https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3554881228
-=GoW=-Dennis 8 月 22 日 下午 10:40 
@Zahawk84 You noted to want to receive a ping when Inclusive Skin Tones updates, it's here: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3551840130
sneaky 8 月 12 日 下午 2:00 
thanks for this
Zahawk84  [作者] 7 月 18 日 上午 6:47 
@MercuryRiver Give me a ping when inclusive skin tones mod updates to 1.6 and I'll see what I can do.
Zahawk84  [作者] 7 月 18 日 上午 6:42 
@NECO-ROMANCER @Chunky . Fixed and Updated. The mod worked even with that error, apparently the inheritance became redundant at some point. Tested with Core/Biotech/VSTG only.
Chunky 7 月 15 日 下午 4:31 
What Neco said
NECO-ROMANCER 7 月 15 日 上午 5:01 
Hi, An error occurred when I introduced it.
It seems like the mod tries to define skin color genes by inheriting from `GeneSkinColorBase`, but this parent node does not exist either in your mod .
Could you please check if the parent definition is missing or if another mod is required as a dependency?
MercuryRiver 7 月 15 日 上午 3:54 
Seconding the question of can this work with inclusive skin tones mod
pacman0701 7 月 14 日 下午 11:38 
Thank you very much
Zahawk84  [作者] 7 月 14 日 下午 7:34 
If anyone wants a version without the shader cutout I'll see if I can add a toggle mod setting. Otherwise I'll leave it at this, enjoy.
Zahawk84  [作者] 7 月 14 日 下午 7:21 
@pacman0701 thanks for the reminder, I'd forgotten about this mod.
@The_Silver_Nuke @Zombyed @Mododel , Mod has been updated to 1.6 and fixed to use the shader cutout, skins will now look 1:1 vanilla, sorry for the wait.
pacman0701 7 月 13 日 下午 11:34 
Will this mod be updated for 1.6?
Mododel 6 月 16 日 上午 9:47 
Skin color #2 is a different color than vanilla.
When creating colonists, I often use this vanilla skin color.
For the new colony I decided to create a special xenotype with this skin color.
For this purpose I installed this mod.
And encountered that the skin color from the mod is more yellow and a little gray. Colonists look sickly with this skin color, if compare with the original color #2.
Zombyed 6 月 1 日 下午 12:10 
thix mod fix the skin tone bug ?
Fred_Flo 3 月 16 日 下午 1:59 
Hello, could you add compatibility with inclusive skin tones? That mod change the default skin tones to be more natural looking.
EpicWhiteWolf 2024 年 8 月 24 日 下午 1:07 
@The_Silver_Nuke the tweaks galore mod has a setting for removing some kind of skin shader
The_Silver_Nuke 2024 年 5 月 20 日 下午 7:03 
Thanks for trying
Zahawk84  [作者] 2024 年 5 月 16 日 上午 9:54 
@The_Silver_Nuke After finding the Core Def file, I can confirm the RGB values are correct. However there seems to be a shader cutout applied to all the skinColorBase, this shader isn't applied to skinColorOverride which is what cosmetic skins use.
I've looked through 3 other mods that get around this somehow, yet the code is well above my understanding. Sorry you'll have to settle for this or ask a more proficient modder.
The_Silver_Nuke 2024 年 5 月 15 日 下午 9:30 
That'd be appreciated. I'd like to make my race of High-Elves. I've been settling for Indigo-ish Dark Elves for the time being but it sucks not being able to select a base skin tone without it looking weird.
Zahawk84  [作者] 2024 年 5 月 14 日 下午 10:24 
@The_Silver_Nuke Wow, looks like you just found a bug in the Character Editor mod. Honestly I hadn't checked if they were exact copies, but now after testing I found that if you clone a pawn with the Character Editor mod then the pawn actually has their skin tone changed, why? I don't know.
Even something as simple as opening the Body/Skin:ColorA in the Character Editor mod will change the pawn's skin tone... (which is how I gathered the RGB values as stated in my mod's description)
Guess I'll add a bug report over on their mod page, I'll also have to track down the base game RGB values from somewhere else.
The_Silver_Nuke 2024 年 5 月 11 日 上午 2:53 
The colors seem kind of strange with this mod. It's like, off-color to an extent. I attempted to compare the default ones to the ones in the mod and they don't match.
Zahawk84  [作者] 2024 年 4 月 20 日 下午 5:07 
Updated to 1.5, No changes were needed.
Bosh 2024 年 4 月 13 日 下午 1:55 
1.5?
Zahawk84  [作者] 2024 年 3 月 22 日 下午 10:42 
@Samuel_Bucher It is compatible but why would you want duplicate genes? Also if you want custom names then you can just edit the mod yourself. Just change both <label>Skin Tone 1</label and <labelShortAdj>Skin Tone 1</labelShortAdj> to what you want, edit the GeneDefs_Cosmetic.xml file in notepad, xml file is found here.
...\steamapps\workshop\content\294100\3165888554\Defs\GeneDefs
Samuel_Bucher 2024 年 3 月 22 日 下午 2:44 
Is it compatible with this mod? Also, would you be willing to give the skin colors distinct names?
Zahawk84  [作者] 2024 年 3 月 22 日 下午 1:56 
@Samuel_Bucher No use "Melanin can be extracted" Mod for that
Samuel_Bucher 2024 年 3 月 22 日 上午 10:00 
I see. Will the already existing pawns get the appropriate genes assigned to them?
Zahawk84  [作者] 2024 年 3 月 22 日 上午 9:55 
@Samuel_Bucher Yes, it's just removing it when colonists have these genes that'd be a problem.
Samuel_Bucher 2024 年 3 月 22 日 上午 12:29 
Can this be safely added into a savefile?
Y75 the Scamber 2024 年 3 月 5 日 上午 4:47 
THANK YOU FOR THIS MOD!
Random 2024 年 3 月 3 日 上午 3:24 
@wydscum It was implemented, and then removed. Because they probably realised you could purposely turn people white, black ect. and thought it was a bit much (Which to be fair is what I did to make a race I called "straight white man" when it first game out). And then removed it
Zahawk84  [作者] 2024 年 2 月 27 日 下午 6:39 
@Lyn_the_Cookie What a coincidence. This is my second mod yet with limited coding knowledge so your mod really helped, thanks again and enjoy!
Lyn the Cookie 2024 年 2 月 27 日 上午 4:01 
Oh hey, I just subscribed to this mod cuz I loved the idea and found myself thanked as well! Thank you too!
Oregano 2024 年 2 月 26 日 上午 7:14 
Thank you.