Bay 12 Games Forum

Please login or register.

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

Author Topic: Wandering Willow Troubles: Infinitely Butchering Plants  (Read 3246 times)

Managrimm

  • Bay Watcher
    • View Profile
Wandering Willow Troubles: Infinitely Butchering Plants
« on: February 07, 2014, 10:13:09 pm »

I'm trying to create a creature that's essentially a large, horrifying mass of living, writhing roots and vines with a gaping maw and that gives you wood when you butcher its vines along with the meat you get from its eyes and brain. EDIT: The previous problems have been solved! And promptly replaced by different ones. What he'd ideally do is drop some "wandering willow wood" off each tentacle for some "wandering willows logs." What he's doing is dropping two brains instead of one and a pile of infinity butcherable items.

Killing it on one occasion with this raw gave me "wandering willow 1's wandering willow wood [377]," the correct amount of eyes, "wandering willow 1's plant [115]," and a log of "wandering willow wood plant log" for each tentacle. Butchering either the plant [115] or wood [377] spawns another pile of "plant logs" and doesn't reduce the amount of plant or wood. The error log seems unphased.

Here's the updated info:

Spoiler: The Wandering Willow (click to show/hide)

Spoiler: Plant Material (click to show/hide)
« Last Edit: February 08, 2014, 11:21:27 pm by Managrimm »
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Trouble With A Creature Made of Living Wood
« Reply #1 on: February 08, 2014, 12:27:41 am »

The best answer to your questions would take time, time that I saddly lack at this moment of posting. You have ran into the nefarious issue of materials, tissues, and layering it.

You have materials and tissues you don't use
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
   [BODY_DETAIL_PLAN:STANDARD_TISSUES]

this unfortunately is not layering anything right   [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:CORTEX:NONE:NONE:PITH:NONE] if anything it's probably yelling errors in the log.

this is doing nothing?  [SELECT_TISSUE_LAYER:ALL:BY_CATEGORY:TEN_ROOTS]
      [SET_LAYER_TISSUE:CORTEX] I think?

[SET_TL_GROUP:BY_CATEGORY:ALL:SKIN]
      [TL_COLOR_MODIFIER:BROWN:1]
         [TLCM_NOUN:BARK:SINGULAR]

it has no skin (as above) it has CORTEX and PITH and the attacks passing though is an issue of unlayered limbs (as mentioned in the first line) Now since I can't better explain the fixes someone might be able to pick up and finish the correct way of getting this beast working. I will however post a creature similar to yours that I made from scratch so you can ref it and maybe figure out the fix on your own if noone or myself don't come back to help.

Spoiler (click to show/hide)
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Trouble With A Creature Made of Living Wood
« Reply #2 on: February 08, 2014, 06:03:34 am »

To get actual wood logs from butchering it, you need to use EBO_ITEM WOOD:NONE:PLANT_MANT:plant-name:WOOD, and you need to make a fake tree that has this wood.
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 :::

Spiderking50

  • Bay Watcher
  • Lumberjack of Hearts
    • View Profile
    • Pik-Pik Fortress: A Pikmin Mod
Re: Trouble With A Creature Made of Living Wood
« Reply #3 on: February 08, 2014, 11:27:11 am »

Change [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:CORTEX:NONE:NONE:PITH:NONE] into [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:PITH:PITH:PITH:CORTEX]. That will place three woodlike layers of protection over your cortex.

   


I don't even know what to tell you about this section here:

   [SELECT_TISSUE_LAYER:ALL:BY_CATEGORY:TEN_ROOTS]
      [SET_LAYER_TISSUE:CORTEX]

There is no "ten roots" anywhere else on the creature or anything like that.
Logged
Currently on vacation. I have internet, but will update sporadically due to vacation.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Trouble With A Creature Made of Living Wood
« Reply #4 on: February 08, 2014, 01:06:15 pm »

Right now I'm fixing the creature and the plant, leaving some comments in it to show what I did.
Logged

Managrimm

  • Bay Watcher
    • View Profile
Re: Trouble With A Creature Made of Living Wood
« Reply #5 on: February 08, 2014, 04:15:19 pm »

Wow, thanks guys! o_0 I wasn't expecting so much support, especially given how utterly broken this creature seems to be.

I have to admit I feel kinda like a moocher since I don't know enough about the game to help others with their questions all that much. Thanks a ton!
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Trouble With A Creature Made of Living Wood
« Reply #6 on: February 08, 2014, 04:28:33 pm »

Spoiler (click to show/hide)

Here is an updated plant and beastie

EDIT:
Never been tested and I haven't modded in a good while so I hope this works with very minimum errors.
Logged

Managrimm

  • Bay Watcher
    • View Profile
Re: Trouble With A Creature Made of Living Wood
« Reply #7 on: February 08, 2014, 04:51:07 pm »

Hmm, no good. His attacks are still passing right through. A single dwarf walked right up to him, bypassed all his tentacles and punched him right in his core for a one-hit kill. The explosion of yellow sap was a nice touch though.

And it made me audibly laugh when his eyes started butchering into logs.

EDIT: I notice it's wood is displaying as "logs" and not "wandering willow logs." Maybe it's not linking up with the plant mat properly?
« Last Edit: February 08, 2014, 04:54:01 pm by Managrimm »
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Trouble With A Creature Made of Living Wood
« Reply #8 on: February 08, 2014, 05:18:19 pm »

in the same location of Dwarf Fortress.exe there will be a file called errorlog.txt, delete, fire up DF and run Arena mode. Then look at the new errorlog.txt file and post it's results in here.
Logged

Managrimm

  • Bay Watcher
    • View Profile
Re: Trouble With A Creature Made of Living Wood
« Reply #9 on: February 08, 2014, 05:57:20 pm »

Spoiler: Errorlog (click to show/hide)
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Trouble With A Creature Made of Living Wood
« Reply #10 on: February 08, 2014, 06:02:42 pm »

I forgot to mention that I added the plant at the end of the creature:

Code: [Select]
plant_grimm

[PLANT:WILLOW_GRIMM]
[NAME:wandering willow wood]
[NAME_PLURAL:wandering willow wood]
[ADJ:wandering willow]
[USE_MATERIAL_TEMPLATE:STRUCTURAL:STRUCTURAL_WOOD_TEMPLATE]
[MATERIAL_VALUE:1]
[BASIC_MAT:LOCAL_PLANT_MAT:STRUCTURAL]
[USE_MATERIAL_TEMPLATE:WOOD:WOOD_TEMPLATE]
[STATE_NAME:ALL_SOLID:wandering willow wood]
[STATE_ADJ:ALL_SOLID:wandering willow]
[PREFIX:NONE]
[TREE:LOCAL_PLANT_MAT:WOOD][TREE_TILE:6]
[VALUE:5]
[SAPLING]
[SOLID_DENSITY:700]

Make sure you update your plant too. and maybe rename it something like WILLOW_GRIMM_PLANT
Logged

Managrimm

  • Bay Watcher
    • View Profile
Re: Trouble With A Creature Made of Living Wood
« Reply #11 on: February 08, 2014, 06:23:38 pm »

I did add the plant. I tried renaming it WILLOW_GRIMM_WOOD, but it didn't fix the problem. This time the dwarf went for the limbs first, whereas both times before he went straight for the core. Not sure if that was just dumb luck. Either way, none of its attacks hit and its limbs went flying with each punch.

*** Error(s) finalizing the creature WILLOW_GRIMM
WILLOW_GRIMM:Creature Tissue Material Failure: PITH:PLANT_MAT:WILLOW_GRIMM_WOOD:WOOD
WILLOW_GRIMM:Creature Tissue Material Failure: NERVE:PLANT_MAT:WILLOW_GRIMM_WOOD:STRUCTURAL
WILLOW_GRIMM:Creature Tissue Material Failure: CORTEX:PLANT_MAT:WILLOW_GRIMM_WOOD:STRUCTURAL
WILLOW_GRIMM:Creature Tissue Material Failure: BARK:PLANT_MAT:WILLOW_GRIMM_WOOD:WOOD
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Trouble With A Creature Made of Living Wood
« Reply #12 on: February 08, 2014, 06:45:21 pm »

Weird there was just one issue in the plant and a naming issue.

The plant was using STRUCTUAL_WOOD_TEMPLATE which doesnt exist so I turned WOOD into PLANT in that call

wandering willow was named WILLOW_GRIMM whereas the GIANT version was GIANT_WANDERINGWILLOW so i renamed the beast to be WANDERINGWILLOW

I have taken the liberty of play testing for all of 5 seconds to fix all the problems, the only issue is the bodygloss so just rip it out and rename the body part

Spoiler: Creature (click to show/hide)
Spoiler: Body (click to show/hide)
Spoiler: Plant (click to show/hide)

So not to sound rude (as I don't intend this to be) the only way this will error and fail to work is if you are putting them in the wrong places. Also I got one of them to attack an ardvark woman, it is currently ripping her limb from limb with it's roots, and all the ardvark woman can do is pitifully punch and fracture bark.

EDIT:
also just a quick edit I changed the naming in the creature for it's bark just now to be lowercase right at the bottom of it.

EDIT2:
stamp of approval
« Last Edit: February 08, 2014, 06:51:31 pm by Hugo_The_Dwarf »
Logged

Managrimm

  • Bay Watcher
    • View Profile
Re: Trouble With A Creature Made of Living Wood
« Reply #13 on: February 08, 2014, 07:42:39 pm »

Ahhh. He's amazing. Absolutely delightful. <3 I can't thank you enough. Beautiful.

Now I just need to give him sensical biomes and spawn-rates.

Oh, now that we've gone and made all his body-parts out of wood is it possible to make just his eyes and brains - exclusively - out of meat? Nothing says tasty like wandering willow brain. P:
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Trouble With A Creature Made of Living Wood
« Reply #14 on: February 08, 2014, 07:53:53 pm »

Yup that is possible, just need to add the EYE and BRAIN material templates, and the EYE and BRAIN tissue templates, then change the layering (hope you can see where that is) for the brain and eyes to use the EYE and BRAIN tissues also this will need to be changed:

[EXTRA_BUTCHER_OBJECT:BY_CATEGORY:ALL]
      [EBO_ITEM:WOOD:NONE:PLANT_MAT:WILLOW_GRIMM:WOOD]

to:

[EXTRA_BUTCHER_OBJECT:BY_CATEGORY:TENTACLE]
      [EBO_ITEM:WOOD:NONE:PLANT_MAT:WILLOW_GRIMM:WOOD]
[EXTRA_BUTCHER_OBJECT:BY_CATEGORY:BODY]
      [EBO_ITEM:WOOD:NONE:PLANT_MAT:WILLOW_GRIMM:WOOD]

so only the roots and body butcher into logs

[USE_MATERIAL_TEMPLATE:EYE:EYE_TEMPLATE]
[USE_MATERIAL_TEMPLATE:BRAIN:BRAIN_TEMPLATE]
[USE_TISSUE_TEMPLATE:EYE:EYE_TEMPLATE]
[USE_TISSUE_TEMPLATE:BRAIN:BRAIN_TEMPLATE]

[TISSUE_LAYER:BY_CATEGORY:EYE:EYE]
         [TISSUE_LAYER:BY_CATEGORY:BRAIN:BRAIN]

remove

[TISSUE_LAYER:BY_CATEGORY:EYE:CORTEX]

done


Logged
Pages: [1] 2 3