Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Need Help making Trolls playable  (Read 2070 times)

Troll_Kaiser177

  • Bay Watcher
  • [BENIGN]
    • View Profile
Need Help making Trolls playable
« on: June 04, 2013, 08:40:23 am »

Hey guys I am trying to mod Trolls to be playable, but they only come up as animals. Help me out? I have the Ethics down I just wanna see creature_standard work so here it is. I also made them have no horns or fur just hair.
[CREATURE:TROLL]
   [DESCRIPTION:A huge humanoid monster with large tusks.]
   [NAME:troll:trolls:troll]
   [CASTE_NAME:troll:trolls:troll]
   [CREATURE_TILE:'T'][COLOR:0:0:1]
   [CHILD:10][BABY:1][MULTIPLE_LITTER_RARE]
   [UNDERGROUND_DEPTH:1:3]
   [POPULATION_NUMBER:5:10]
   [BUILDINGDESTROYER:2]
   [LIKES_FIGHTING]
   [LARGE_PREDATOR]
   [CAN_LEARN][SLOW_LEARNER]
   [EVIL]
   [GRASSTRAMPLE:20]
   [BONECARN]
   [PREFSTRING:terrifying features]
   [BODY:HUMANOID:2EYES:2EARS:NOSE:2LUNGS:HEART:GUTS:ORGANS:HUMANOID_JOINTS:THROAT:NECK:SPINE:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:TONGUE:FACIAL_FEATURES:TEETH:RIBCAGE:2TUSKS]
   [BODY_DETAIL_PLAN:STANDARD_MATERIALS]
      [USE_MATERIAL_TEMPLATE:IVORY:TOOTH_TEMPLATE]
         [STATE_NAME:ALL_SOLID:ivory]
         [STATE_ADJ:ALL_SOLID:ivory]
   [BODY_DETAIL_PLAN:STANDARD_TISSUES]
      [USE_TISSUE_TEMPLATE:IVORY:IVORY_TEMPLATE]
   [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]
   [BODY_DETAIL_PLAN:BODY_HAIR_TISSUE_LAYERS:HAIR]
   [USE_MATERIAL_TEMPLATE:NAIL:NAIL_TEMPLATE]
   [USE_TISSUE_TEMPLATE:NAIL:NAIL_TEMPLATE]
   [TISSUE_LAYER:BY_CATEGORY:FINGER:NAIL:FRONT]
   [TISSUE_LAYER:BY_CATEGORY:TOE:NAIL:FRONT]
   [SELECT_TISSUE_LAYER:HEART:BY_CATEGORY:HEART]
    [PLUS_TISSUE_LAYER:SKIN:BY_CATEGORY:THROAT]
      [TL_MAJOR_ARTERIES]
   [BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]
   [BODY_DETAIL_PLAN:HUMANOID_HEAD_POSITIONS]
   [BODY_DETAIL_PLAN:HUMANOID_RIBCAGE_POSITIONS]
   [BODY_DETAIL_PLAN:HUMANOID_RELSIZES]
   [USE_MATERIAL_TEMPLATE:SINEW:SINEW_TEMPLATE]
   [TENDONS:LOCAL_CREATURE_MAT:SINEW:200]
   [LIGAMENTS:LOCAL_CREATURE_MAT:SINEW:200]
   [HAS_NERVES]
   [USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE]
      [STATE_COLOR:ALL:AQUA]
   [BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID]
   [CREATURE_CLASS:GENERAL_POISON]
   [GETS_WOUND_INFECTIONS]
   [GETS_INFECTIONS_FROM_ROT]
   [USE_MATERIAL_TEMPLATE:PUS:PUS_TEMPLATE]
   [PUS:LOCAL_CREATURE_MAT:PUS:LIQUID]
   [BODY_SIZE:0:0:10000]
   [BODY_SIZE:1:168:50000]
   [BODY_SIZE:20:0:250000]
   [BODY_APPEARANCE_MODIFIER:HEIGHT:75:95:98:100:102:105:125]
      [APP_MOD_IMPORTANCE:500]
   [BODY_APPEARANCE_MODIFIER:BROADNESS:75:95:98:100:102:105:125]
      [APP_MOD_IMPORTANCE:500]
   [SET_BP_GROUP:BY_CATEGORY:EYE]
      [BP_APPEARANCE_MODIFIER:CLOSE_SET:0:70:90:100:110:130:200]
         [APP_MOD_NOUN:eyes:PLURAL]
      [BP_APPEARANCE_MODIFIER:DEEP_SET:0:70:90:100:110:130:200]
         [APP_MOD_NOUN:eyes:PLURAL]
      [BP_APPEARANCE_MODIFIER:ROUND_VS_NARROW:0:70:90:100:110:130:200]
         [APP_MOD_NOUN:eyes:PLURAL]
      [BP_APPEARANCE_MODIFIER:LARGE_IRIS:25:70:90:100:110:130:200]
         [APP_MOD_NOUN:eyes:PLURAL]
         [APP_MOD_DESC_RANGE:30:60:90:110:150:190]
   [SET_BP_GROUP:BY_CATEGORY:LIP]
      [BP_APPEARANCE_MODIFIER:THICKNESS:50:70:90:100:110:130:200]
         [APP_MOD_NOUN:lips:PLURAL]
         [APP_MOD_DESC_RANGE:55:70:90:110:150:190]
   [SET_BP_GROUP:BY_CATEGORY:NOSE]
      [BP_APPEARANCE_MODIFIER:BROADNESS:25:70:90:100:110:130:200]
         [APP_MOD_DESC_RANGE:30:60:90:110:150:190]
      [BP_APPEARANCE_MODIFIER:LENGTH:25:70:90:100:110:130:200]
         [APP_MOD_DESC_RANGE:30:60:90:110:150:190]
      [BP_APPEARANCE_MODIFIER:UPTURNED:0:70:90:100:110:130:200]
      [BP_APPEARANCE_MODIFIER:CONVEX:0:70:90:100:110:130:200]
         [APP_MOD_NOUN:nose bridge:SINGULAR]
   [SET_BP_GROUP:BY_CATEGORY:EAR]
      [BP_APPEARANCE_MODIFIER:SPLAYED_OUT:0:70:90:100:110:130:200]
         [APP_MOD_NOUN:ears:PLURAL]
      [BP_APPEARANCE_MODIFIER:HANGING_LOBES:0:70:90:100:110:130:200]
         [APP_MOD_NOUN:ears:PLURAL]
      [BP_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
         [APP_MOD_IMPORTANCE:700]
         [APP_MOD_NOUN:ears:PLURAL]
         [APP_MOD_DESC_RANGE:91:94:98:102:106:109]
      [BP_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
         [APP_MOD_IMPORTANCE:700]
         [APP_MOD_NOUN:ears:PLURAL]
         [APP_MOD_DESC_RANGE:91:94:98:102:106:109]
   [SET_BP_GROUP:BY_CATEGORY:TOOTH]
      [BP_APPEARANCE_MODIFIER:GAPS:0:70:90:100:110:130:200]
         [APP_MOD_NOUN:teeth:PLURAL]
      [BP_APPEARANCE_MODIFIER:LENGTH:100:100:100:100:100:100:100] for vampires
         [APP_MOD_IMPORTANCE:1000]
         [APP_MOD_NOUN:teeth:PLURAL]
         [APP_MOD_DESC_RANGE:30:60:90:110:150:190]
   [SET_BP_GROUP:BY_CATEGORY:SKULL]
      [BP_APPEARANCE_MODIFIER:HIGH_CHEEKBONES:0:70:90:100:110:130:200]
      [BP_APPEARANCE_MODIFIER:BROAD_CHIN:0:70:90:100:110:130:200]
      [BP_APPEARANCE_MODIFIER:JUTTING_CHIN:0:70:90:100:110:130:200]
      [BP_APPEARANCE_MODIFIER:SQUARE_CHIN:0:70:90:100:110:130:200]
   [SET_BP_GROUP:BY_CATEGORY:THROAT]
      [BP_APPEARANCE_MODIFIER:DEEP_VOICE:0:70:90:100:110:130:200]
      [BP_APPEARANCE_MODIFIER:RASPY_VOICE:0:70:90:100:110:130:200]
   [SET_BP_GROUP:BY_CATEGORY:HEAD]
      [BP_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
         [APP_MOD_IMPORTANCE:700]
         [APP_MOD_DESC_RANGE:91:94:98:102:106:109]
      [BP_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
         [APP_MOD_IMPORTANCE:700]
         [APP_MOD_DESC_RANGE:91:94:98:102:106:109]
   [MAXAGE:800:1000]
   [ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]
      [ATTACK_SKILL:GRASP_STRIKE]
      [ATTACK_VERB:punch:punches]
      [ATTACK_CONTACT_PERC:100]
      [ATTACK_FLAG_WITH]
      [ATTACK_PRIORITY:MAIN]
   [ATTACK:KICK:BODYPART:BY_TYPE:STANCE]
      [ATTACK_SKILL:STANCE_STRIKE]
      [ATTACK_VERB:kick:kicks]
      [ATTACK_CONTACT_PERC:100]
      [ATTACK_FLAG_WITH]
      [ATTACK_PRIORITY:SECOND]
   [ATTACK:SCRATCH:CHILD_TISSUE_LAYER_GROUP:BY_TYPE:GRASP:BY_CATEGORY:FINGER:NAIL]
      [ATTACK_SKILL:GRASP_STRIKE]
      [ATTACK_VERB:scratch:scratches]
      [ATTACK_CONTACT_PERC:100]
      [ATTACK_PENETRATION_PERC:100]
      [ATTACK_FLAG_EDGE]
      [ATTACK_PRIORITY:SECOND]
   [ATTACK:BITE:CHILD_BODYPART_GROUP:BY_CATEGORY:HEAD:BY_CATEGORY:TOOTH]
      [ATTACK_SKILL:BITE]
      [ATTACK_VERB:bite:bites]
      [ATTACK_CONTACT_PERC:100]
      [ATTACK_PENETRATION_PERC:100]
      [ATTACK_FLAG_EDGE]
      [ATTACK_PRIORITY:SECOND]
      [ATTACK_FLAG_CANLATCH]
   [ATTACK:TGORE:BODYPART:BY_CATEGORY:TUSK]
      [ATTACK_SKILL:BITE]
      [ATTACK_VERB:gore:gores]
      [ATTACK_CONTACT_PERC:100]
      [ATTACK_PRIORITY:MAIN]
      [ATTACK_FLAG_WITH]
   [EQUIPS]
   [CANOPENDOORS]
   [ALL_ACTIVE]
   [HOMEOTHERM:10067]
   [SWIMS_INNATE][SWIM_SPEED:2500]
   [CASTE:FEMALE]
      [FEMALE]
      [MULTIPLE_LITTER_RARE]
   [CASTE:MALE]
      [MALE]
   [SELECT_CASTE:ALL]
      [SET_TL_GROUP:BY_CATEGORY:ALL:HAIR]
            [APP_MOD_NOUN:hair:SINGULAR]
            [APP_MOD_RATE:1:DAILY:0:1000:0:0:NO_END]
            [APP_MOD_DESC_RANGE:10:25:75:125:200:300]
         [TISSUE_LAYER_APPEARANCE_MODIFIER:CURLY:0:70:90:100:110:130:200]
            [APP_MOD_NOUN:hair:SINGULAR]
         [TISSUE_LAYER_APPEARANCE_MODIFIER:GREASY:0:70:90:100:110:130:200]
            [APP_MOD_NOUN:hair:SINGULAR]
         [TISSUE_LAYER_APPEARANCE_MODIFIER:DENSE:50:80:90:100:110:120:150]
            [APP_MOD_NOUN:hair:SINGULAR]
            [APP_MOD_DESC_RANGE:55:70:90:110:130:145]
      [SET_TL_GROUP:BY_CATEGORY:HEAD:HAIR]
         [TISSUE_STYLE_UNIT:HAIR:STANDARD_HAIR_SHAPINGS]
            [TSU_NOUN:hair:SINGULAR]
         [TL_COLOR_MODIFIER:GRAY:1:BLACK:1:BROWN:1]
            [TLCM_TIMING:ROOT:700:0:900:0]
            [APP_MOD_NOUN:fur:SINGULAR]
            [APP_MOD_RATE:1:DAILY:0:300:0:0:NO_END]
            [APP_MOD_DESC_RANGE:10:50:100:150:200:300]
      [SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]
         [TL_COLOR_MODIFIER:BLACK:1]
            [TLCM_NOUN:skin:SINGULAR]
      [SET_TL_GROUP:BY_CATEGORY:EYE:EYE]
         [TL_COLOR_MODIFIER:BLACK:1]
            [TLCM_NOUN:eyes:PLURAL]
Logged
S̸͔̃ ̵̻̔L̸̦̅ ̵̨̊Д̵̮̽ ̵͘ͅV̶̬͛ ̵͕͠Ӟ̸̣́ ̶͚̕ ̴͉͝ T ̴͕̋Ӧ̵̻́ ̵̨̋ ̶̭̂ ̷̧͌Д̵̓ͅ ̶̦̒Я̶̝̾ ̵̄͜М̷̜̉ ̴̮̋О̶͓̒ ̶̝͗К̶̼͐

pisskop

  • Bay Watcher
  • Too old and stubborn to get a new avatar
    • View Profile
Re: Need Help making Trolls playable
« Reply #1 on: June 04, 2013, 09:08:42 am »

So you want to make a troll civ?  or just trolls as part of a playable civ?  or an adventurer?  And yoy still want them to show up in the wild and with goblins?
Logged
Pisskop's Reblancing Mod - A C:DDA Mod to make life a little (lot) more brutal!
drealmerz7 - pk was supreme pick for traitor too I think, and because of how it all is and pk is he is just feeding into the trollfucking so well.
PKs DF Mod!

smakemupagus

  • Bay Watcher
  • [CANOPENDOORS]
    • View Profile
Re: Need Help making Trolls playable
« Reply #2 on: June 04, 2013, 10:58:11 am »

I don't know what you mean by "I have the Ethics down I just wanna see creature_standard work".  In what way is creature_standard not working?

The Creature entry is kind of secondary to making an creature playable.  The main thing is the Entity entry, specifically to get started, you'll need to use those tokens that the wiki calls "gameplay" tokens (ADVENTURE_TIER, CIV_CONTROLLABLE, CREATURE)

http://dwarffortresswiki.org/index.php/Entity_tokens

Troll_Kaiser177

  • Bay Watcher
  • [BENIGN]
    • View Profile
Re: Need Help making Trolls playable
« Reply #3 on: June 04, 2013, 11:43:35 am »

Sorry I should have been more specific. I mean that I've done the Ethics raws, in my opinion, flawlessly and I think the reason they are not registering as Humanoids rather animals is in the creature_standard folder. I simply took the Dwarf tokens and copy and pasted them and renamed the creature to Troll and the language to Goblin. They appear with their own civilizations and all in the game and you CAN make a fortress of them. Yet when you do they are labelled under the "pets" tab not under the "citizens" tab and so cannot proform labor or anything of the like. I don't really care about them showing up in the wild anymore I just want Adventurer/Fortress to have playable Trolls. I hope this isn't what messed it up, but I removed their "horns" & "fur" so they only have two-tusks while copying the Human hair tokens so they look more like a Warcraft-ish Troll.
Logged
S̸͔̃ ̵̻̔L̸̦̅ ̵̨̊Д̵̮̽ ̵͘ͅV̶̬͛ ̵͕͠Ӟ̸̣́ ̶͚̕ ̴͉͝ T ̴͕̋Ӧ̵̻́ ̵̨̋ ̶̭̂ ̷̧͌Д̵̓ͅ ̶̦̒Я̶̝̾ ̵̄͜М̷̜̉ ̴̮̋О̶͓̒ ̶̝͗К̶̼͐

scamtank

  • Bay Watcher
    • View Profile
Re: Need Help making Trolls playable
« Reply #4 on: June 04, 2013, 12:10:29 pm »

Give them [CAN_SPEAK].
Logged

laularukyrumo

  • Bay Watcher
  • Needs More Socks
    • View Profile
Re: Need Help making Trolls playable
« Reply #5 on: June 04, 2013, 12:15:02 pm »

Pretty sure you also don't want Can_Learn and Slow_learner at the same time. They conflict, I believe. Or one overwrites the other. Either way, you can't be smart and dim-witted at the same time. Not possible.

But yeah, they need speech.
Logged
Quote from: Dwarfotaur
Everytime one of my militia has given birth in the Danger Room, it's lead to instant baby smoothies for everyone.

Gotta Catch 'Em All!

Dat Sig Thread

scamtank

  • Bay Watcher
    • View Profile
Re: Need Help making Trolls playable
« Reply #6 on: June 04, 2013, 12:16:58 pm »

I don't think they do, no. SLOW_LEARNER is just shorthand for -50% skill gain rate.
Logged

Troll_Kaiser177

  • Bay Watcher
  • [BENIGN]
    • View Profile
Re: Need Help making Trolls playable
« Reply #7 on: June 04, 2013, 12:23:26 pm »

I believe the slow learner token along with the can learn token makes it so you can skills slower, because several Vanilla creatures have that tag. Ill add [CAN_SPEAK] now
Logged
S̸͔̃ ̵̻̔L̸̦̅ ̵̨̊Д̵̮̽ ̵͘ͅV̶̬͛ ̵͕͠Ӟ̸̣́ ̶͚̕ ̴͉͝ T ̴͕̋Ӧ̵̻́ ̵̨̋ ̶̭̂ ̷̧͌Д̵̓ͅ ̶̦̒Я̶̝̾ ̵̄͜М̷̜̉ ̴̮̋О̶͓̒ ̶̝͗К̶̼͐

Troll_Kaiser177

  • Bay Watcher
  • [BENIGN]
    • View Profile
Re: Need Help making Trolls playable
« Reply #8 on: June 04, 2013, 12:32:42 pm »

I think thats what did it guys - thanks for all your help, soon the Troll will conquer the world!
Logged
S̸͔̃ ̵̻̔L̸̦̅ ̵̨̊Д̵̮̽ ̵͘ͅV̶̬͛ ̵͕͠Ӟ̸̣́ ̶͚̕ ̴͉͝ T ̴͕̋Ӧ̵̻́ ̵̨̋ ̶̭̂ ̷̧͌Д̵̓ͅ ̶̦̒Я̶̝̾ ̵̄͜М̷̜̉ ̴̮̋О̶͓̒ ̶̝͗К̶̼͐

pisskop

  • Bay Watcher
  • Too old and stubborn to get a new avatar
    • View Profile
Re: Need Help making Trolls playable
« Reply #9 on: June 04, 2013, 12:42:58 pm »

They need to eat now with.  Add NO_EAT if they starve in worldgen.
Logged
Pisskop's Reblancing Mod - A C:DDA Mod to make life a little (lot) more brutal!
drealmerz7 - pk was supreme pick for traitor too I think, and because of how it all is and pk is he is just feeding into the trollfucking so well.
PKs DF Mod!

Troll_Kaiser177

  • Bay Watcher
  • [BENIGN]
    • View Profile
Re: Need Help making Trolls playable
« Reply #10 on: June 04, 2013, 05:05:52 pm »

Seems like they generate just fine without it...
Logged
S̸͔̃ ̵̻̔L̸̦̅ ̵̨̊Д̵̮̽ ̵͘ͅV̶̬͛ ̵͕͠Ӟ̸̣́ ̶͚̕ ̴͉͝ T ̴͕̋Ӧ̵̻́ ̵̨̋ ̶̭̂ ̷̧͌Д̵̓ͅ ̶̦̒Я̶̝̾ ̵̄͜М̷̜̉ ̴̮̋О̶͓̒ ̶̝͗К̶̼͐