Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Bad advice! Ethnic Diversity Mod (( HELP ))  (Read 2093 times)

DizzyCrash

  • Bay Watcher
    • View Profile
Bad advice! Ethnic Diversity Mod (( HELP ))
« on: August 08, 2014, 02:24:41 pm »

Ok! so I am building a ethnic Diversity mod, something that iv already sunk hours and hours and hours and hours into just to find out that I have to start all over due to some of the worse advice iv ever gotten on these forums... I asked for help on how to create a separate cast for every combination of hair and skin tone, i was willing to put in the work i just needed a base model to ensure that I dont screw it up as I am inexperienced working with casts... and some dude posted this

   [CASTE:MALE_AMBER_BROWN]
      [MALE]
      [BODY_DETAIL_PLAN:FACIAL_HAIR_TISSUE_LAYERS]
[SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
       [PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHEEK_WHISKERS]
       [PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHIN_WHISKERS]
       [PLUS_TL_GROUP:BY_CATEGORY:HEAD:MOUSTACHE]
       [PLUS_TL_GROUP:BY_CATEGORY:HEAD:SIDEBURNS]
       [PLUS_TL_GROUP:BY_CATEGORY:HEAD:EYEBROW]
       [PLUS_TL_GROUP:BY_CATEGORY:HEAD:EYELASH]
   [TL_COLOR_MODIFIER:AMBER:1]
    [SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]
   [TL_COLOR_MODIFIER:BROWN:1]

At which time everyone told me "Yeah! that will work" and everyone was in agreeing that this was the way to do it, so I went through the pain staking annoying challenge of adding EVERY combination of colours together, it was hard as hell and took a day or so to get it all right, and then after booting up multiple worlds until it was just perfect and fully documented every Diety, Entity, Titan and Demon in a text pad I was ready to play! ... Than over time I realized that the model i was given up here was flawed, not a single person had a beard, hair cut, or eye colour... I dont know what to do! how do I include all the hair shappings and growth details and beards that the base game has! This was such a upsetting situation that I feel like pulling my hair out! I dont even know where to start or why the person who helped me didnt include that stuff in the cast model... Can anyone out there help me? and when I finnaly have a ethnic Diversity mod I will be uploading it so that people can finally have worlds with hundreds of different looking people and not just entire populations of one skin and one hair colour.
Logged

JediaKyrol

  • Bay Watcher
  • I have no idea what I am doing...
    • View Profile
Re: Bad advice! Ethnic Diversity Mod (( HELP ))
« Reply #1 on: August 08, 2014, 03:03:50 pm »

...that...should work... ... ...I mean...the base Dwarf has:
Code: [Select]
[CASTE:MALE]
[MALE]
[BODY_DETAIL_PLAN:FACIAL_HAIR_TISSUE_LAYERS]

[SELECT_CASTE:ALL]

[SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHEEK_WHISKERS]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHIN_WHISKERS]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:MOUSTACHE]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:SIDEBURNS]
[PLUS_TL_GROUP:BY_CATEGORY:HEAD:EYEBROW]
[PLUS_TL_GROUP:BY_CATEGORY:EYELID:EYELASH]
           [TL_COLOR_MODIFIER:AMBER:1:AUBURN:1:BLACK:1:BROWN:1:BUFF:1:BURNT_SIENNA:1:BURNT_UMBER:1:CHARCOAL:1:CHESTNUT:1:CHOCOLATE:1:CINNAMON:1:COPPER:1:DARK_BROWN:1:DARK_CHESTNUT:1:DARK_TAN:1:ECRU:1:FLAX:1:GOLD:1:GOLDEN_YELLOW:1:GOLDENROD:1:LIGHT_BROWN:1:MAHOGANY:1:OCHRE:1:PALE_BROWN:1:PALE_CHESTNUT:1:PUMPKIN:1:RAW_UMBER:1:RUSSET:1:SAFFRON:1:SEPIA:1:TAN:1:TAUPE_DARK:1:TAUPE_GRAY:1:TAUPE_MEDIUM:1:TAUPE_PALE:1:TAUPE_SANDY:1]
[TLCM_NOUN:hair:SINGULAR]
[TL_COLOR_MODIFIER:GRAY:1]

maybe you "lucked out" and got a fortress of baldies?
« Last Edit: August 08, 2014, 03:06:06 pm by JediaKyrol »
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Bad advice! Ethnic Diversity Mod (( HELP ))
« Reply #2 on: August 08, 2014, 03:52:01 pm »

Please post the entire creature raws, because that snipped you posted looks correct.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

palu

  • Bay Watcher
    • View Profile
Re: Bad advice! Ethnic Diversity Mod (( HELP ))
« Reply #3 on: August 08, 2014, 07:50:18 pm »

To make adding the castes a bit easier, and cut down on repetitive work, use this creature variation:
Code: [Select]
[CREATURE_VARIATION:ETHNIC_CASTE] hair:skin
   [CV_NEW_TAG:CASTE:MALE_!ARG1_!ARG2]
      [CV_NEW_TAG:MALE]
      [CV_NEW_TAG:BODY_DETAIL_PLAN:FACIAL_HAIR_TISSUE_LAYERS]
      [CV_NEW_TAG:SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHEEK_WHISKERS]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHIN_WHISKERS]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:MOUSTACHE]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:SIDEBURNS]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:EYEBROW]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:EYELASH]
      [CV_NEW_TAG:TL_COLOR_MODIFIER:!ARG1:1]
       [CV_NEW_TAG:SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]
      [CV_NEW_TAG:TL_COLOR_MODIFIER:!ARG2:1]
   [CV_NEW_TAG:CASTE:FEMALE_!ARG1_!ARG2]
      [CV_NEW_TAG:FEMALE]
      [CV_NEW_TAG:BODY_DETAIL_PLAN:FACIAL_HAIR_TISSUE_LAYERS]
      [CV_NEW_TAG:SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHEEK_WHISKERS]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHIN_WHISKERS]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:MOUSTACHE]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:SIDEBURNS]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:EYEBROW]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:EYELASH]
      [CV_NEW_TAG:TL_COLOR_MODIFIER:!ARG1:1]
       [CV_NEW_TAG:SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]
      [CV_NEW_TAG:TL_COLOR_MODIFIER:!ARG2:1]
And put this in the creature:
Code: [Select]
[APPLY_CREATURE_VARIATION:ETHNIC_CASTE:AMBER:BROWN]The new creature variations are really quite powerful. I only wish you could have parameters for material templates, or something similar for items, reactions, or entities.
Logged
Hmph, palu showing off that reading-the-instructions superpower.
The internet encourages thoughtful, intelligent discussion and if you disagree I hate you.

Coidzure Dreams

  • Bay Watcher
    • View Profile
Re: Bad advice! Ethnic Diversity Mod (( HELP ))
« Reply #4 on: August 09, 2014, 09:48:25 am »

To make adding the castes a bit easier, and cut down on repetitive work, use this creature variation:
Code: [Select]
[CREATURE_VARIATION:ETHNIC_CASTE] hair:skin
   [CV_NEW_TAG:CASTE:MALE_!ARG1_!ARG2]
      [CV_NEW_TAG:MALE]
      [CV_NEW_TAG:BODY_DETAIL_PLAN:FACIAL_HAIR_TISSUE_LAYERS]
      [CV_NEW_TAG:SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHEEK_WHISKERS]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHIN_WHISKERS]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:MOUSTACHE]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:SIDEBURNS]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:EYEBROW]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:EYELASH]
      [CV_NEW_TAG:TL_COLOR_MODIFIER:!ARG1:1]
       [CV_NEW_TAG:SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]
      [CV_NEW_TAG:TL_COLOR_MODIFIER:!ARG2:1]
   [CV_NEW_TAG:CASTE:FEMALE_!ARG1_!ARG2]
      [CV_NEW_TAG:FEMALE]
      [CV_NEW_TAG:BODY_DETAIL_PLAN:FACIAL_HAIR_TISSUE_LAYERS]
      [CV_NEW_TAG:SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHEEK_WHISKERS]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHIN_WHISKERS]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:MOUSTACHE]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:SIDEBURNS]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:EYEBROW]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:EYELASH]
      [CV_NEW_TAG:TL_COLOR_MODIFIER:!ARG1:1]
       [CV_NEW_TAG:SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]
      [CV_NEW_TAG:TL_COLOR_MODIFIER:!ARG2:1]
And put this in the creature:
Code: [Select]
[APPLY_CREATURE_VARIATION:ETHNIC_CASTE:AMBER:BROWN]The new creature variations are really quite powerful. I only wish you could have parameters for material templates, or something similar for items, reactions, or entities.

Nifty.  I was wondering if there was a way to make use of creature variations to get a broader variety of different material'd rock creatures/dwarf beards than just brute forcing in each individual material at the tissue level and then creating two castes for the males and females of that rock/metal type. 

The material template restriction seems like it might be a bit difficult or impossible to work around at that level, though.

So you'd just have several lines of:
Code: [Select]
[APPLY_CREATURE_VARIATION:ETHNIC_CASTE:AMBER:BROWN]in a row, with the only difference being the variation in !ARG1 & !ARG2?

vjmdhzgr

  • Bay Watcher
  • Hehehe
    • View Profile
Re: Bad advice! Ethnic Diversity Mod (( HELP ))
« Reply #5 on: August 09, 2014, 03:50:02 pm »

Well, not everybody told you it would work. I remember I was pretty sure it would crash. I would give some advice, but it seems there's already some good advice posted.
Logged
Its a feature. Impregnating booze is a planned tech tree for dwarves and this is a sneak peek at it.
Unless you're past reproductive age. Then you're pretty much an extension of your kids' genitalia

palu

  • Bay Watcher
    • View Profile
Re: Bad advice! Ethnic Diversity Mod (( HELP ))
« Reply #6 on: August 10, 2014, 10:24:27 pm »

To make adding the castes a bit easier, and cut down on repetitive work, use this creature variation:
Code: [Select]
[CREATURE_VARIATION:ETHNIC_CASTE] hair:skin
   [CV_NEW_TAG:CASTE:MALE_!ARG1_!ARG2]
      [CV_NEW_TAG:MALE]
      [CV_NEW_TAG:BODY_DETAIL_PLAN:FACIAL_HAIR_TISSUE_LAYERS]
      [CV_NEW_TAG:SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHEEK_WHISKERS]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHIN_WHISKERS]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:MOUSTACHE]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:SIDEBURNS]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:EYEBROW]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:EYELASH]
      [CV_NEW_TAG:TL_COLOR_MODIFIER:!ARG1:1]
       [CV_NEW_TAG:SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]
      [CV_NEW_TAG:TL_COLOR_MODIFIER:!ARG2:1]
   [CV_NEW_TAG:CASTE:FEMALE_!ARG1_!ARG2]
      [CV_NEW_TAG:FEMALE]
      [CV_NEW_TAG:BODY_DETAIL_PLAN:FACIAL_HAIR_TISSUE_LAYERS]
      [CV_NEW_TAG:SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHEEK_WHISKERS]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:CHIN_WHISKERS]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:MOUSTACHE]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:SIDEBURNS]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:EYEBROW]
       [CV_NEW_TAG:PLUS_TL_GROUP:BY_CATEGORY:HEAD:EYELASH]
      [CV_NEW_TAG:TL_COLOR_MODIFIER:!ARG1:1]
       [CV_NEW_TAG:SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]
      [CV_NEW_TAG:TL_COLOR_MODIFIER:!ARG2:1]
And put this in the creature:
Code: [Select]
[APPLY_CREATURE_VARIATION:ETHNIC_CASTE:AMBER:BROWN]The new creature variations are really quite powerful. I only wish you could have parameters for material templates, or something similar for items, reactions, or entities.

Nifty.  I was wondering if there was a way to make use of creature variations to get a broader variety of different material'd rock creatures/dwarf beards than just brute forcing in each individual material at the tissue level and then creating two castes for the males and females of that rock/metal type. 

The material template restriction seems like it might be a bit difficult or impossible to work around at that level, though.

So you'd just have several lines of:
Code: [Select]
[APPLY_CREATURE_VARIATION:ETHNIC_CASTE:AMBER:BROWN]in a row, with the only difference being the variation in !ARG1 & !ARG2?
Exactly. They're basically parameterized mixins now, rubble/blast style. No idea about the rest of your problem though. Have you tested them in the arena? You might need to add caste names for that though.
Logged
Hmph, palu showing off that reading-the-instructions superpower.
The internet encourages thoughtful, intelligent discussion and if you disagree I hate you.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Bad advice! Ethnic Diversity Mod (( HELP ))
« Reply #7 on: August 11, 2014, 05:04:26 am »

Did you put any actual styles in the entity file?
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository