Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Castes/Subcastes Question  (Read 1007 times)

starkman9000

  • Bay Watcher
    • View Profile
Castes/Subcastes Question
« on: August 12, 2014, 01:15:17 am »

I've just gotten back into DF since 34.11 was first released and have decided to continue making a mod that I started back then.
One of the added races (Criranean) is basically a super-species of centaur (half-men, half-quadruped) and I want to separate them into castes for each sub-species (half-lion, half-horse, half-rhino) but also need the castes for male and female.

So my question is, how do I separate the sub-species castes and divide them into male/female castes without creating an, example, HALF_LION_MALE and HALF_GOAT_MALE caste?

I have forgotten almost everything there is about modding DF, so treat me like I've never done this before.

Thank you :D

EDIT: I reallize that the HALF_LION_MALE/FEMALE probably wasn't the best example for what I was asking.
« Last Edit: August 12, 2014, 12:41:23 pm by starkman9000 »
Logged

celem

  • Bay Watcher
    • View Profile
Re: Castes/Subcastes Question
« Reply #1 on: August 12, 2014, 08:11:50 am »

As far as I know, you dont avoid that.  Certainly thats how it was done in 34.11 and thats how a lot of Masterwork caste genders work.

If theres something new we can do with the latest version hopefully someone will say
Logged
Marksdwarf Pillboxes
I wish I had something cool to say about this.  Because it's really cool.

Roses

  • Bay Watcher
    • View Profile
Re: Castes/Subcastes Question
« Reply #2 on: August 12, 2014, 11:49:02 am »

The typical way it is done is to have, for example
Code: [Select]
[CASTE:HALF_LION_MALE]
 [MALE]
 *ANY MALE ONLY TAGS* (e.g. a mane)
[CASTE:HALF_LION_FEMALE]
 [FEMALE]
 *ANY FEMALE ONLY TAGS* (e.g. MULTIPLE_LITTER_RARE, etc...)
[SELECT_CASTE:HALF_LION_MALE]
 [SELECT_ADDITIONAL_CASTE:HALF_LION_FEMALE]
 *ANY HALF LION TAGS* (e.g. the body, description, attacks, etc...)
There is currently no way to just make one caste and then have the game automatically make two castes from that.
Logged

starkman9000

  • Bay Watcher
    • View Profile
Re: Castes/Subcastes Question
« Reply #3 on: August 12, 2014, 12:37:30 pm »

I more ment is there a way to have simply a MALE caste and a FEMALE caste instead of having a HALF_LION_MALE and also a HALF_HORSE_MALE. Such as selecting the MALE and FEMALE castes and creating a HALF_LION caste out of them so that the HALF_LION caste is also both MALE and FEMALE. Is this possible?
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Castes/Subcastes Question
« Reply #4 on: August 12, 2014, 12:42:59 pm »

Not really.

You can make SELECT_CASTE:MALE_HALF_LION and SELECIT_ADDITIONAL_CASTE_MALE_HALF_HORSE (and line up all male castes after it in the same fashion) and then add a single MALE tag to it. But thats not really so different from adding a MALE tag to each caste individually.
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 :::

starkman9000

  • Bay Watcher
    • View Profile
Re: Castes/Subcastes Question
« Reply #5 on: August 12, 2014, 12:44:29 pm »

Alright, thank you. Just trying to see if I could save time.
Logged

Minnakht

  • Bay Watcher
  • Green Eyed Monster
    • View Profile
Re: Castes/Subcastes Question
« Reply #6 on: August 12, 2014, 01:27:17 pm »

Also, as someone was going to mention anyway, all combinations of a male and female caste of a single creature can give birth to any caste of the creature, so even if you maybe manage to use orientation tags to keep relationships in check (I don't even know if they can do that, actually), the offspring will still be random, so, yeah, hope you don't mind that.
Logged
Giant badgers are cruel saddistic balls of fur and hate. Did anyone know they could paint a wall with a single dwarven baby?.... You know what, I made the Giant badgers sound like sane DF players.
A Kea has stolen a coke!

starkman9000

  • Bay Watcher
    • View Profile
Re: Castes/Subcastes Question
« Reply #7 on: August 12, 2014, 01:33:24 pm »

No, I knew that would happen.
Logged

YAHG

  • Bay Watcher
    • View Profile
Re: Castes/Subcastes Question
« Reply #8 on: August 13, 2014, 07:04:45 pm »

You could also always do it like I do with no understanding of these nifty shortcuts and just end up with a MASSIVE hard to edit creature RAW... :-[
Spoiler (click to show/hide)

starkman9000

  • Bay Watcher
    • View Profile
Re: Castes/Subcastes Question
« Reply #9 on: August 13, 2014, 08:06:48 pm »

You could also always do it like I do with no understanding of these nifty shortcuts and just end up with a MASSIVE hard to edit creature RAW... :-[
Spoiler (click to show/hide)
Hmm, I might try that.
Logged

palu

  • Bay Watcher
    • View Profile
Re: Castes/Subcastes Question
« Reply #10 on: August 14, 2014, 10:48:48 am »

Creature variation:
Code: [Select]
[CREATURE_VARIATION:MALE_FEMALE_CASTE]
[CV_NEW_TAG:CASTE:!ARG1_MALE]
[CV_NEW_TAG:MALE]
[CV_NEW_TAG:CASTE:!ARG1_FEMALE]
[CV_NEW_TAG:FEMALE]
[CV_NEW_TAG:SELECT_CASTE:!ARG1_MALE]
[CV_NEW_TAG:SELECT_ADDITIONAL_CASTE:!ARG1_FEMALE]
Put in creature:
Code: [Select]
[APPLY_CREATURE_VARIATION:MALE_FEMALE_CASTE:Whatever id you want]
Tags
These things are awesome. They cut down on so much boilerplate.
Logged
Hmph, palu showing off that reading-the-instructions superpower.
The internet encourages thoughtful, intelligent discussion and if you disagree I hate you.

starkman9000

  • Bay Watcher
    • View Profile
Re: Castes/Subcastes Question
« Reply #11 on: August 14, 2014, 10:50:38 am »

Creature variation:
Code: [Select]
[CREATURE_VARIATION:MALE_FEMALE_CASTE]
[CV_NEW_TAG:CASTE:!ARG1_MALE]
[CV_NEW_TAG:MALE]
[CV_NEW_TAG:CASTE:!ARG1_FEMALE]
[CV_NEW_TAG:FEMALE]
[CV_NEW_TAG:SELECT_CASTE:!ARG1_MALE]
[CV_NEW_TAG:SELECT_ADDITIONAL_CASTE:!ARG1_FEMALE]
Put in creature:
Code: [Select]
[APPLY_CREATURE_VARIATION:MALE_FEMALE_CASTE:Whatever id you want]
Tags
These things are awesome. They cut down on so much boilerplate.
This is blasphamy, this is madness. But amazingly useful.
Logged