Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Herdo

Pages: [1]
1
DF Modding / Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« on: October 30, 2023, 11:06:44 am »
Code: [Select]

[OBJECT:CREATURE]
    [SELECT_CREATURE:DWARF]
    [SELECT_CASTE:ALL]

[SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
[PLUS_TL_GROUP:BY_CATEGORY:CHEEK: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:0:AUBURN:0:BLACK:0:BROWN:0:BUFF:0:BURNT_SIENNA:0:BURNT_UMBER:0:CHARCOAL:0:CHESTNUT:0:CHOCOLATE:0:CINNAMON:0:COPPER:1:DARK_BROWN:0:DARK_CHESTNUT:0:DARK_TAN:0:ECRU:0:FLAX:0:GOLD:0:GOLDEN_YELLOW:0:GOLDENROD:0:LIGHT_BROWN:0:MAHOGANY:0:OCHRE:0:PALE_BROWN:0:PALE_CHESTNUT:0:PUMPKIN:0:RAW_UMBER:0:RUSSET:0:SAFFRON:0:SEPIA:0:TAN:0:TAUPE_DARK:0:TAUPE_GRAY:0:TAUPE_MEDIUM:0:TAUPE_PALE:0:TAUPE_SANDY:0]


Or this perhaps. resetting all the colors to 0, except for copper.

No luck.  I thought for sure this second one would work.  It makes sense that it would anyways, but it's not applying.  Thank you for your suggestions!

2
DF Modding / Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« on: October 29, 2023, 02:00:44 pm »
Trying to get all dwarves to have red hair.  I thought using the new [SELECT] system would make this easier, but no matter what I try, I can't get these changes to work.  The problem is, I don't know which tokens require the [SELECT] modifier. 

Here's what I have:

Code: [Select]

   creature_ginger
   
    [OBJECT:CREATURE]
   
    [SELECT_CREATURE:DWARF]
   
    [SELECT_BODY:HUMANOID_NECK:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:TONGUE:FACIAL_FEATURES:TEETH:RIBCAGE]
   
    [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:COPPER:1]

    I've tried various different iterations of this, including removing the [BODY] and [CASTE] tokens with no luck.  What am I missing here?  Any help appreciated!


EDIT: I'm realizing now that SELECT is used more to append to a file rather than remove tags.  For now I've just used CUT to cut the dwarf creature and then immediately recreated it in the same file with the desired changes. I'm sure there's a better way to do this, but it's better than just editing the raw and it works for now.

Pages: [1]