gemaped462 Posted February 11, 2022 Posted February 11, 2022 Hi I'd like to create a mod that ties some gene (existing or new) to the diffuse used. The following bit controls the diffuse.dds in the .asset file: meshsettings = { name = "female_bodyShape" index = 0 texture_diffuse = "female_body_diffuse.dds" texture_normal = "female_body_normal.dds" texture_specular = "female_body_properties.dds" texture = { file = "female_body_ssao_color.dds" index = 3 } shader = "portrait_skin" shader_file = "gfx/FX/jomini/portrait.shader" } Does anyone have good ideas on how to make this conditional? Perhaps someone has thought about it before but was too lazy to implement anything
gemaped462 Posted February 11, 2022 Author Posted February 11, 2022 1 minute ago, Uroniam said: there isn't any public hair in vanilla only relevant comments please
bobsaget66 Posted February 12, 2022 Posted February 12, 2022 You can take a look at how the https://steamcommunity.com/sharedfiles/filedetails/?id=2354046329 did it in the past. By adding features to the shader, and then controlling the actual decal used trough genes. However then paradox updated their shaders and the dev never was able to update it for the new changes. May be possible trough only genes, and events and no shader editing, by simply picking the one that matches most closely to the hair color. But that would probably be the less fancy second alternative since it cant handle custom hair colors.
gemaped462 Posted February 12, 2022 Author Posted February 12, 2022 12 hours ago, bobsaget66 said: You can take a look at how the https://steamcommunity.com/sharedfiles/filedetails/?id=2354046329 did it in the past. By adding features to the shader, and then controlling the actual decal used trough genes. However then paradox updated their shaders and the dev never was able to update it for the new changes. May be possible trough only genes, and events and no shader editing, by simply picking the one that matches most closely to the hair color. But that would probably be the less fancy second alternative since it cant handle custom hair colors. Thank you this is really good
Stagetail Posted February 12, 2022 Posted February 12, 2022 Please please make a pubic hair mod. There's only the one that alters the Simple Slits one, and while it's great and awesome, I know it's inevitable that Paradox will do something to update the bodies.
gemaped462 Posted February 12, 2022 Author Posted February 12, 2022 Okay people I have progress, it's relatively trivial to set body hair decals for female bodies (like male bodies have) so that's what I will be using. FEAST YOUR EYES: There's 6 native ones so I will simply create 6 types for the mod. HOWEVER, when I do this, the widget in the ruler designer (from all genes unlocked) disappears for some reason, any idea why? It's making it hard to test. also if I click 'SHOW UNGROUPED' in ruler designer the whole damn thing crashes
zeddy2 Posted February 13, 2022 Posted February 13, 2022 Maybe it will be useful to you Female pubic hair.7z
bobsaget66 Posted February 13, 2022 Posted February 13, 2022 Hey, so i managed to find how to make the shader actually color the body hair for 1.5. However the diffuse needs to be in a specific color (red) or at least i think so. Anyone with any kind of artskills (not me) who could make a version that looks ok in single color? Including the shader so it can be tested out, it needs to go in any mod folder gfx\FX\jomini portrait_decals.fxh
gemaped462 Posted February 13, 2022 Author Posted February 13, 2022 3 hours ago, zeddy2 said: Maybe it will be useful to you Female pubic hair.7z 228.2 kB · 8 downloads Hi thanks! This is good I'll use a part of this 1 hour ago, bobsaget66 said: Hey, so i managed to find how to make the shader actually color the body hair for 1.5. However the diffuse needs to be in a specific color (red) or at least i think so. Anyone with any kind of artskills (not me) who could make a version that looks ok in single color? Including the shader so it can be tested out, it needs to go in any mod folder gfx\FX\jomini portrait_decals.fxh 7.69 kB · 0 downloads thanks!! I'll look into this later, for now i got a fairly good working prototype version just want to make some adjustments and make a version 1.0 with non-dynamic colour. matching hair colour will be v2
zeddy2 Posted February 13, 2022 Posted February 13, 2022 You can also shave body hair using a barbershop Naked_shaved.7zNaked_shaved.7z
gemaped462 Posted February 14, 2022 Author Posted February 14, 2022 Alright so basically I have it working, except tying it to gene_body_hair is a bit lame as some of the ethnicities don't really have much diversity in them. For example, the asian ethnicity only ever gets body_hair_sparse_low_stubble which is extremely lame. It is only the indian ethnicities that have a good diversity of gene_body_hair Instead of messing with every single ethnicity's body hair values, I decided to create a simple custom gene. It is a very simple addition of the following into common\ethnicities\00_ethnicities_templates.txt (numbers subject to change): ######### pussy hair ######## gene_pussy_hair = { 10 = { name = pussy_hair_sparse range = { 0.35 0.75 } } 30 = { name = pussy_hair_avg range = { 0.35 0.75 } } 20 = { name = pussy_hair_dense range = { 0.35 0.75 } } 10 = { name = pussy_hair_sparse_low_stubble range = { 0.35 0.75 } } 10 = { name = pussy_hair_avg_low_stubble range = { 0.35 0.75 } } 20 = { name = pussy_hair_dense_low_stubble range = { 0.35 0.75 } } } ######### pussy hair ######## It works! However, it seems to make almost everyone into some kind of an asian/albino Does anyone have experience with this ? why would creating a custom gene completely brick most of the ethnicities?
megamorph014 Posted February 14, 2022 Posted February 14, 2022 take a look at Mange's mods. he had to re-create several files with gene records in them just to add a few of his own to the mix. you basically need to change how the whole game creates its characters. youre on the right track, just have to edit a few more files
gemaped462 Posted February 14, 2022 Author Posted February 14, 2022 25 minutes ago, megamorph014 said: take a look at Mange's mods. he had to re-create several files with gene records in them just to add a few of his own to the mix. you basically need to change how the whole game creates its characters. youre on the right track, just have to edit a few more files I was looking at Character Body overhaul where he added some custom genes for penis sizes and the like but he only had 00_ethnicities_templates.txt recreated as far as those genes were concerned, + the morph_genes = {} part under \genes which i have also .. i'll look into more mods tomorrow (preferably updated ones for 1.5.0 but was hoping someone might save me the trouble another consideration for me is I don't want to create too much compatibility issues with other mods so the less things i change the better
megamorph014 Posted February 14, 2022 Posted February 14, 2022 unfortunately any mod that add genes are probably going to conflict with other mods that do the same. The other side of this same coin is, what youre adding is very unique and different than most other mods that add genes. Its easy to take the lines youre creating and copy them into other peoples mods (like Mange's)
bobsaget66 Posted February 14, 2022 Posted February 14, 2022 3 hours ago, gemaped462 said: Alright so basically I have it working, except tying it to gene_body_hair is a bit lame as some of the ethnicities don't really have much diversity in them. For example, the asian ethnicity only ever gets body_hair_sparse_low_stubble which is extremely lame. It is only the indian ethnicities that have a good diversity of gene_body_hair Instead of messing with every single ethnicity's body hair values, I decided to create a simple custom gene. It is a very simple addition of the following into common\ethnicities\00_ethnicities_templates.txt (numbers subject to change): ######### pussy hair ######## gene_pussy_hair = { 10 = { name = pussy_hair_sparse range = { 0.35 0.75 } } 30 = { name = pussy_hair_avg range = { 0.35 0.75 } } 20 = { name = pussy_hair_dense range = { 0.35 0.75 } } 10 = { name = pussy_hair_sparse_low_stubble range = { 0.35 0.75 } } 10 = { name = pussy_hair_avg_low_stubble range = { 0.35 0.75 } } 20 = { name = pussy_hair_dense_low_stubble range = { 0.35 0.75 } } } ######### pussy hair ######## It works! However, it seems to make almost everyone into some kind of an asian/albino Does anyone have experience with this ? why would creating a custom gene completely brick most of the ethnicities? You may have made a misspelling somewhere, have had similar issues when editing the 01_genes_morph.txt, everything after the misspelling gets broken. May even be that files you have made errors in, not the templates one.
joemann Posted February 14, 2022 Posted February 14, 2022 I have an issue with body_hair in the barbershop. I have four sliders appearing for body_hair which don't do anything. This happens with no mods activated. I get the following error in the error log: Quote " in file: "gfx/portraits/portrait_modifiers/00_body_hair.txt" near line: 18 [16:26:01][pdx_persistent_reader.cpp:228]: Error: "Unexpected token: modifier, near line: 19 " in file: "gfx/portraits/portrait_modifiers/00_body_hair.txt" near line: 21 [16:26:01][pdx_persistent_reader.cpp:228]: Error: "Unexpected token: outfit_tags, near line: 25 " in file: "gfx/portraits/portrait_modifiers/00_body_hair.txt" near line: 25 [16:26:01][pdx_persistent_reader.cpp:228]: Error: "Unexpected token: morph, near line: 27 " in file: "gfx/portraits/portrait_modifiers/00_body_hair.txt" near line: 32 [16:26:01][pdx_persistent_reader.cpp:228]: Error: "Unexpected token: base, near line: 35 " in file: "gfx/portraits/portrait_modifiers/00_body_hair.txt" near line: 35 Anybody know what could cause this?
gemaped462 Posted February 14, 2022 Author Posted February 14, 2022 9 hours ago, bobsaget66 said: You may have made a misspelling somewhere, have had similar issues when editing the 01_genes_morph.txt, everything after the misspelling gets broken. May even be that files you have made errors in, not the templates one. 11 hours ago, megamorph014 said: unfortunately any mod that add genes are probably going to conflict with other mods that do the same. The other side of this same coin is, what youre adding is very unique and different than most other mods that add genes. Its easy to take the lines youre creating and copy them into other peoples mods (like Mange's) Thank you folks, I tried it out today and the issue is gone. I wish I could say what caused it but I really have no clue. I will release this with the custom gene, however if you have better ideas let me know. perhaps there is another arbitrary gene that exists in the game with good diversity that we could hook this into. The other real alternative would be not to use genes at all and make this aking to a hairstyle, but that invites more issues with other mod compatibility, e.g. i don't think the guy that develops full screen barbershop would include a widget for us
Recommended Posts
Archived
This topic is now archived and is closed to further replies.