Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [noob] Adding a subclass of people to an existing race  (Read 1031 times)

Die Nacht

  • Bay Watcher
  • [IMMUNE_TO_SOCIAL_LIFE]
    • View Profile
[noob] Adding a subclass of people to an existing race
« on: February 22, 2012, 07:42:10 pm »

Pretty much I want to add a subclass of people to all the races (I think it would be another CASTE but I'm not sure).

What I want to do is have a couple of people in the Human, Dwarf and Elven civs have special abilities (aka, Dragon Fire. Yes, I want to have Dragonborns roaming around the world). But I don't know what to add to the current civs to do this. I also want to make it so that they are rare (maybe like 2%?).

Can anyone guide me in the right direction? Thanks!
Logged
'rtg593' Bemongibruk, forumite cancels megaproject: interrupted by 0.34.01.

thatkid

  • Bay Watcher
  • <Servibot> thatkid, swag percentiles: 94
    • View Profile
Re: [noob] Adding a subclass of people to an existing race
« Reply #1 on: February 22, 2012, 07:47:40 pm »

Check out the Caste tags.
Logged
Fame is a vapor. The only earthly certainty is oblivion.

Die Nacht

  • Bay Watcher
  • [IMMUNE_TO_SOCIAL_LIFE]
    • View Profile
Re: [noob] Adding a subclass of people to an existing race
« Reply #2 on: February 22, 2012, 08:15:09 pm »

Awesome, thanks!
Logged
'rtg593' Bemongibruk, forumite cancels megaproject: interrupted by 0.34.01.

Die Nacht

  • Bay Watcher
  • [IMMUNE_TO_SOCIAL_LIFE]
    • View Profile
Re: [noob] Adding a subclass of people to an existing race
« Reply #3 on: February 22, 2012, 08:21:12 pm »

nvm, I'm doing something wrong. All of my females are normal and all of my males are Dragonborns. And they are all called Dragonborns.

Here's my Caste-part of the code. Can someone else me what's wrong?

Code: [Select]
[CASTE:FEMALE]
[FEMALE]
[MULTIPLE_LITTER_RARE]
[CASTE:MALE]
[MALE]
[BODY_DETAIL_PLAN:FACIAL_HAIR_TISSUE_LAYERS]
[CASTER:DRAGONBORN]
[DESCRIPTION: A Dragonborn! One who is gifted with the power of Dragons.]
[NAME:dragonborn:dragonborns]
[CASTE_NAME:dragonborn:dragonborns]
[BODY_DETAIL_PLAN:FACIAL_HAIR_TISSUE_LAYERS]
[PREFSTRING:power:legends]
[POP_RATIO:50]
[CAN_DO_INTERACTION:MATERIAL_EMISSION]
[CDI:ADV_NAME:Breath fire]
[CDI:USAGE_HINT:ATTACK]
[CDI:BP_REQUIRED:BY_CATEGORY:MOUTH]
[CDI:FLOW:DRAGONFIRE]
[CDI:TARGET:C:LINE_OF_SIGHT]
[CDI:TARGET_RANGE:C:15]
[CDI:MAX_TARGET_NUMBER:C:1]
[CDI:WAIT_PERIOD:50]
Logged
'rtg593' Bemongibruk, forumite cancels megaproject: interrupted by 0.34.01.

Courtesy Arloban

  • Bay Watcher
  • This isn't a fortress... ...It's also not a map.
    • View Profile
Re: [noob] Adding a subclass of people to an existing race
« Reply #4 on: February 22, 2012, 08:23:29 pm »

CASTER:DRAGONBORN -- Should be CASTE:DRAGONBORN the way it is it overwrites the default male with tags for the dragonborn
Logged
Maybe that the dwarves never died and everyone is just shunning them.
"Wait, what are you doing?  I don't want to go in there!  No, I'm still alive, you can't do this to me!  Is Anybody listening?  Hello... Can someone let me out?  Help me!  Is anyone there?  I'm running out of air!"

Die Nacht

  • Bay Watcher
  • [IMMUNE_TO_SOCIAL_LIFE]
    • View Profile
Re: [noob] Adding a subclass of people to an existing race
« Reply #5 on: February 22, 2012, 08:44:51 pm »

Crap, how did I miss that.

Unn, this might not be a good idea since the AI doesn't know NOT to walk into its own fire. So if one of them were to go on a siege.......oh Armok...

Well thanks for the help.

Logged
'rtg593' Bemongibruk, forumite cancels megaproject: interrupted by 0.34.01.

Master Catfish

  • Bay Watcher
    • View Profile
Re: [noob] Adding a subclass of people to an existing race
« Reply #6 on: February 22, 2012, 09:40:25 pm »

Well, if you make them pop_ratio:0 you can still play them in adventurer mode.  You could also make them immune to fire.  Are they walking in their own fire and being burned, or are you just concerned about their allies who get roasted?
Logged

Die Nacht

  • Bay Watcher
  • [IMMUNE_TO_SOCIAL_LIFE]
    • View Profile
Re: [noob] Adding a subclass of people to an existing race
« Reply #7 on: February 23, 2012, 08:13:22 am »

More concerned about they walking into their own fire (in testing, they did that EVERY time).

I didn't want to make them fire immune since I want them to be pretty much human besides that one part.
Logged
'rtg593' Bemongibruk, forumite cancels megaproject: interrupted by 0.34.01.

tfaal

  • Bay Watcher
  • 'Ello, 'ello!
    • View Profile
Re: [noob] Adding a subclass of people to an existing race
« Reply #8 on: February 23, 2012, 08:35:09 am »

You'll pretty much need to give them FIREIMMUNE or FIREIMMUNESUPER. The only real alternative to avoid friendly fire is to give them fireballs, like an imp.
Logged
I still think that the whole fortress should be flooded with magma the moment you try dividing by zero.
This could be a handy way of teaching preschool children mathematics.