Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Help with Making a Creature  (Read 1229 times)

Sbcc

  • Bay Watcher
  • [MALFUNCTIONING]
    • View Profile
Help with Making a Creature
« on: January 08, 2017, 07:00:35 pm »

I am building a creature called an Ent, and I am having some errors, and do no know how to fix it.

The Raw is:
Code: [Select]
[CREATURE:Ent]
[DESCRIPTION:A large tree that can walk.]
[NAME:ent:ents:ent]
[CASTE_NAME:ent:ents:ent]
[CREATURE_TILE:'E'][COLOR:5:0:0]
[LARGE_ROAMING]
[BIOME:ANY_TEMPERATE_FOREST]
[BIOME:SHRUBLAND_TEMPERATE]
[BIOME:SAVANNA_TEMPERATE]
[UNDERGROUND_DEPTH:2:3]
[FREQUENCY:20]
[BENIGN]
[POPULATION_NUMBER:15:30]
[CLUSTER_NUMBER:3:5]
[CAN_LEARN]
[LOCAL_POPS_CONTROLLABLE]
[LOCAL_POPS_PRODUCE_HEROES]
[CANOPENDOORS]
[PREFSTRING:bark]
        [PREFSTRING:ability to walk]
        [PREFSTRING:for their wood]
        [BODYGLOSS:ROOTS_FOOT:foot:roots:feet:roots]
[GRASSTRAMPLE:0]
[ODOR_LEVEL:0] no smell
[SMELL_TRIGGER:10000] cannot smell
[NOBONES]
[EXTRAVISION]
[BODY:HUMANOID_SIMPLE]
[NO_THOUGHT_CENTER_FOR_MOVEMENT]
        [NO_DRINK]
        [NO_EAT]
        [NO_SLEEP]
        [NOBREATHE]
        [NONAUSEA]
        [NOT_BUTCHERABLE]
        [NO_FEVERS]
        [NO_DIZZINESS]
        [ITEMCORPSE:WOOD:NO_SUBTYPE:ORGANIC PLANT_MAT:Oak]
        [CAN_SPEAK]
[USE_MATERIAL_TEMPLATE:PH_TISSUE:WOOD_TEMPLATE]
[STATE_NAME:ALL_SOLID:ent tissue]
[STATE_ADJ:ALL_SOLID:ent tissue]
[STATE_NAME:LIQUID:melted ent tissue]
[STATE_ADJ:LIQUID:melted ent tissue]
[STATE_NAME:GAS:boiling ent tissue]
[STATE_ADJ:GAS:boiling ent tissue]
[PREFIX:NONE]
        [TISSUE:BARK]
[TISSUE_NAME:ent tissue:NP]
[TISSUE_MATERIAL:LOCAL_CREATURE_MAT:PH_TISSUE]
[MUSCULAR]
[FUNCTIONAL]
[STRUCTURAL]
[RELATIVE_THICKNESS:5]
[CONNECTS]
[TISSUE_SHAPE:LAYER]
[TISSUE_LAYER:BY_CATEGORY:ALL:BARK]
[BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_HEAD_POSITIONS]
[BODY_DETAIL_PLAN:HUMANOID_RELSIZES]
[BODY_SIZE:0:0:1500]
[BODY_SIZE:20:0:45000]
[BODY_SIZE:100:0:700000]
[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
[ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:punch:punches]
[ATTACK_CONTACT_PERC:100]
[ATTACK_PREPARE_AND_RECOVER:3:3]
[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_PREPARE_AND_RECOVER:4:4]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:SECOND]
[ATTACK_FLAG_BAD_MULTIATTACK]
[BABY:1]
[CHILD:20]
[EQUIPS]
[ALL_ACTIVE]
[APPLY_CREATURE_VARIATION:STANDARD_BIPED_GAITS:900:750:600:439:1900:2900] 20 kph
[APPLY_CREATURE_VARIATION:STANDARD_CLIMBING_GAITS:2990:2257:1525:731:4300:6100] 12 kph
[APPLY_CREATURE_VARIATION:STANDARD_SWIMMING_GAITS:2990:2257:1525:731:4300:6100] 12 kph
[APPLY_CREATURE_VARIATION:STANDARD_CRAWLING_GAITS:2990:2257:1525:731:4300:6100] 12 kph
[SWIMS_LEARNED]
[HOMEOTHERM:10040]
        [CASTE:FEMALE]
[FEMALE]
[CASTE:MALE]
[MALE]

And the errors I keep getting are:
*** Error(s) found in the file "raw/objects/creature_temperate_new.txt"
Ent:Unrecognized Creature Caste Body Gloss Token: foot
Ent:Unrecognized Creature Caste Body Gloss Token: roots
Ent:Unrecognized Creature Caste Body Gloss Token: feet
Ent:Unrecognized Creature Caste Body Gloss Token: roots
*** Error(s) finalizing the creature Ent
Ent:FEMALE:Unrecognized Material Token: ORGANIC PLANT_MAT
Ent:MALE:Unrecognized Material Token: ORGANIC PLANT_MAT

If someone knows how to fix it. Please give me the info. Also other then the aforemention error messages, the Ents work well. I have not tested adventure mode on this creature, but if you want to update me on it. Please do.
« Last Edit: January 08, 2017, 09:09:44 pm by Sbcc »
Logged
To the beer!

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: Help with Making a Creature
« Reply #1 on: January 08, 2017, 07:52:14 pm »

At first glance, it looks like the problem is that you're trying to use a root/foot bodygloss, and that doesn't exist. You're also trying to have them turn into normal oak wood when they die and something's wrong with that token. I'll take a look at it ingame.
« Last Edit: January 08, 2017, 07:54:07 pm by Enemy post »
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!

Sbcc

  • Bay Watcher
  • [MALFUNCTIONING]
    • View Profile
Re: Help with Making a Creature
« Reply #2 on: January 08, 2017, 07:53:49 pm »

Thanks, I will remove that bodygloss then. I saw it on the wiki, and thought it would work. I am really new to this stuff, so I am taking this all slow.
Logged
To the beer!

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: Help with Making a Creature
« Reply #3 on: January 08, 2017, 07:54:24 pm »

You don't need to give up on the idea, you just need custom body tokens.
« Last Edit: January 08, 2017, 07:56:40 pm by Enemy post »
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!

Sbcc

  • Bay Watcher
  • [MALFUNCTIONING]
    • View Profile
Re: Help with Making a Creature
« Reply #4 on: January 08, 2017, 07:55:20 pm »

How would I build it?
Logged
To the beer!

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: Help with Making a Creature
« Reply #5 on: January 08, 2017, 07:59:05 pm »

Huh, I just noticed there is a ROOTS bodygloss. I wonder what's wrong.
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!

Sbcc

  • Bay Watcher
  • [MALFUNCTIONING]
    • View Profile
Re: Help with Making a Creature
« Reply #6 on: January 08, 2017, 08:00:41 pm »

did I put it in the wrong spot possibly? This code is based somewhat on the Plump Hat Man
Logged
To the beer!

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: Help with Making a Creature
« Reply #7 on: January 08, 2017, 08:02:05 pm »

I adjusted some things, I'll tell you in a moment if it worked. I also changed the itemcorpse feature to be more like a wagon.
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!

Sbcc

  • Bay Watcher
  • [MALFUNCTIONING]
    • View Profile
Re: Help with Making a Creature
« Reply #8 on: January 08, 2017, 08:03:59 pm »

I forgot about wagons. I know when it did die, it dropped some wood, but it was white, and named Woods. It be nice to have something called Ent Wood, which could make some exotic furniture. Maybe make Ent farming a fun way to have a living tree butchering service haha.
Logged
To the beer!

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: Help with Making a Creature
« Reply #9 on: January 08, 2017, 08:10:30 pm »

Alright, I've fixed the roots. The problem was that you put it in as [BODYGLOSS:ROOTS_FOOT:foot:roots:feet:roots]. It needed to be    [BODYGLOSS:ROOTS_FOOT]. I also put it under the body token just in case. Changing format to be like a wagon seems to be working, but now I'm getting a new error.

Quote
*** Error(s) finalizing the creature ENT
undefined local creature material set to default: ENT WOOD
undefined local creature material set to default: ENT WOOD

We'll need to fix that.
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!

Sbcc

  • Bay Watcher
  • [MALFUNCTIONING]
    • View Profile
Re: Help with Making a Creature
« Reply #10 on: January 08, 2017, 08:13:19 pm »

I am glad you are helping. I would never have figured this out without the help, and also do you code a lot of creatures. I have some other ideas, and may need more help.
Logged
To the beer!

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: Help with Making a Creature
« Reply #11 on: January 08, 2017, 08:15:18 pm »

I've done a good number of creatures. What do you have in mind? I'll be back in a minute, but I have a working version of your ents.
Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!

Sbcc

  • Bay Watcher
  • [MALFUNCTIONING]
    • View Profile
Re: Help with Making a Creature
« Reply #12 on: January 08, 2017, 08:20:16 pm »

I have already created a Boomslang, but the tile is not transparent like normal creatures, and I have an idea for a wendigo.
Logged
To the beer!

Enemy post

  • Bay Watcher
  • Modder/GM
    • View Profile
Re: Help with Making a Creature
« Reply #13 on: January 08, 2017, 08:53:27 pm »

I have already created a Boomslang, but the tile is not transparent like normal creatures, and I have an idea for a wendigo.

Is the boomslang's tile meant to be that way? Also, here's your ent back. They're fixed now. I took the liberty of making their tile green, I thought that seemed appropriate.

Code: [Select]
[CREATURE:ENT]
   [DESCRIPTION:A large tree that can walk.]
   [NAME:ent:ents:ent]
   [CASTE_NAME:ent:ents:ent]
   [CREATURE_TILE:'E'][COLOR:2:0:1]
   [LARGE_ROAMING]
   [BIOME:ANY_TEMPERATE_FOREST]
   [BIOME:SHRUBLAND_TEMPERATE]
   [BIOME:SAVANNA_TEMPERATE]
   [UNDERGROUND_DEPTH:2:3]
   [FREQUENCY:20]
   [BENIGN]
   [POPULATION_NUMBER:15:30]
   [CLUSTER_NUMBER:3:5]
   [CAN_LEARN]
   [LOCAL_POPS_CONTROLLABLE]
   [LOCAL_POPS_PRODUCE_HEROES]
   [CANOPENDOORS]
   [PREFSTRING:bark]
        [PREFSTRING:ability to walk]
        [PREFSTRING:for their wood]
   [GRASSTRAMPLE:0]
   [ODOR_LEVEL:0] no smell
   [SMELL_TRIGGER:10000] cannot smell
   [NOBONES]
   [EXTRAVISION]
   [BODY:HUMANOID_SIMPLE]     
   [BODYGLOSS:ROOTS_FOOT]
   [NO_THOUGHT_CENTER_FOR_MOVEMENT]
        [NO_DRINK]
        [NO_EAT]
        [NO_SLEEP]
        [NOBREATHE]
        [NONAUSEA]
        [NOT_BUTCHERABLE]
        [NO_FEVERS]
        [NO_DIZZINESS]
        [CAN_SPEAK]
[USE_MATERIAL_TEMPLATE:WOOD:WOOD_TEMPLATE]
[TISSUE:WOOD]
[TISSUE_NAME:wood:wooden]
[TISSUE_MATERIAL:LOCAL_CREATURE_MAT:WOOD]
[TISSUE_LAYER:BY_CATEGORY:ALL:WOOD]
[ITEMCORPSE:WOOD:NO_SUBTYPE:LOCAL_CREATURE_MAT:WOOD]
   [BODY_DETAIL_PLAN:STANDARD_HEAD_POSITIONS]
   [BODY_DETAIL_PLAN:HUMANOID_HEAD_POSITIONS]
   [BODY_DETAIL_PLAN:HUMANOID_RELSIZES]
   [BODY_SIZE:0:0:1500]
   [BODY_SIZE:20:0:45000]
   [BODY_SIZE:100:0:700000]
   [BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
   [BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
   [ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]
      [ATTACK_SKILL:GRASP_STRIKE]
      [ATTACK_VERB:punch:punches]
      [ATTACK_CONTACT_PERC:100]
      [ATTACK_PREPARE_AND_RECOVER:3:3]
      [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_PREPARE_AND_RECOVER:4:4]
      [ATTACK_FLAG_WITH]
      [ATTACK_PRIORITY:SECOND]
      [ATTACK_FLAG_BAD_MULTIATTACK]
   [BABY:1]
   [CHILD:20]
   [EQUIPS]
   [ALL_ACTIVE]
   [APPLY_CREATURE_VARIATION:STANDARD_BIPED_GAITS:900:750:600:439:1900:2900] 20 kph
   [APPLY_CREATURE_VARIATION:STANDARD_CLIMBING_GAITS:2990:2257:1525:731:4300:6100] 12 kph
   [APPLY_CREATURE_VARIATION:STANDARD_SWIMMING_GAITS:2990:2257:1525:731:4300:6100] 12 kph
   [APPLY_CREATURE_VARIATION:STANDARD_CRAWLING_GAITS:2990:2257:1525:731:4300:6100] 12 kph
   [SWIMS_LEARNED]
   [HOMEOTHERM:10040]
        [CASTE:FEMALE]
      [FEMALE]
   [CASTE:MALE]
      [MALE]

I did want to warn you, they aren't very strong right now. Being made of a single inorganic substance makes them easy to smash and cut apart. They're also not all that big. At a body size of 700000 they're a bit smaller than a saltwater crocodile.

Logged
My mods and forum games.
Enemy post has claimed the title of Dragonsong the Harmonic of Melodious Exaltion!

Sbcc

  • Bay Watcher
  • [MALFUNCTIONING]
    • View Profile
Re: Help with Making a Creature
« Reply #14 on: January 08, 2017, 08:56:31 pm »

I'll take a screen shot, and they are suppose to be around 14ft tall, and more of stunted trees that can walk and talk.
Logged
To the beer!
Pages: [1] 2