Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
if (gene.Active && (gene.def.defName == "Skin_Melanin7" || gene.def.defName == "Skin_Melanin8" || gene.def.defName == "Skin_Melanin9"))
You would need to find a way to identify what you want to usa the same shader, thus making your own version, i don't mind if you copy the whole mod just chaging the if, if you want, feel free to use it however you want
Can't work out how to add it for one of my mods.
Is there any possibility of a 1.4 version?
@creatura.exe Glad you liked it!
In any case, though, DefModExtensions aren't difficult! For future reference, here's a nice tutorial from the wiki. [rimworldwiki.com]
So any other skin color gene doesn't have this particular problem, I changed so Melanin 7, 8 and 9 uses Cutout as well.
If a modder makes a gene based on melanin gene instead of a normal skin color gene then I think they might have a problem.
Also, I have no idea how I would do that, lol
But yeah, it would be better to have this effect extended but given the small scope of the problem it might not be necessary.
I'd suggest changing the defName checks to a check for a custom DefModExtension, however. That way, developers can easily extend the implementation to any gene (such as Biotech's inky black skin).