Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Fancy Silkworm - My Failure  (Read 1212 times)

FallingWhale

  • Bay Watcher
    • View Profile
Fancy Silkworm - My Failure
« on: April 01, 2011, 02:53:35 am »

This is my first work with a scratch build, needless to say it doesn't work.

So, I want to know where I'm being stupid and I want to make the forehead crest/shield a shell with a pattern on it.
Spoiler (click to show/hide)
Spoiler (click to show/hide)
Logged
Quote from: Spambot
Becoming a software engineering is not a piece of cake that you can slice it off a plate and gorge on it.

Knight Otu

  • Bay Watcher
  • ☺4[
    • View Profile
Re: Fancy Silkworm - My Failure
« Reply #1 on: April 01, 2011, 07:05:29 am »

By "it doesn't work", do you mean that they don't show up? You should add an [UNDERGROUND_DEPTH:1:3] tag to the creature.

Oh, and also [BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS:CHITIN:FAT:MUSCLE] before the wound infections tag.

For the shell, it should work with the following additions:

Code: [Select]
Body part:

[BODY:SHELL_HEAD]
[BP:SHELL:head shield:STP][CONTYPE:HEAD][CATEGORY:SHELL]
[DEFAULT_RELSIZE:200]
[VERMIN_BUTCHER_ITEM]

Body detail plan:

[BODY_DETAIL_PLAN:SHELL_HEAD_POSITIONS]
[BP_POSITION:BY_CATEGORY:SHELL:FRONT]
[BP_RELATION:BY_CATEGORY:SHELL:AROUND:BY_CATEGORY:HEAD:50]

Changed in the creature:

   [BODY:SILKWORM:2EYES:GUTS:MOUTH:SHELL_HEAD]
   [BODY_DETAIL_PLAN:CHITIN_MATERIALS]
   [BODY_DETAIL_PLAN:CHITIN_TISSUES]
   [USE_MATERIAL_TEMPLATE:SHELL:SHELL_TEMPLATE]
   [USE_TISSUE_TEMPLATE:SHELL:SHELL_TEMPLATE]
   [BODY_DETAIL_PLAN:SHELL_HEAD_POSITIONS]
   [BODY_DETAIL_PLAN:EXOSKELETON_TISSUE_LAYERS:CHITIN:FAT:MUSCLE]

Added to the creature:

      [SET_TL_GROUP:BY_CATEGORY:SHELL:SHELL]
         [TL_COLOR_MODIFIER:BLACK:1]
            [TLCM_NOUN:pattern of lifelines:SINGULAR] (or however you like it)


Logged
Direforged Original
Random Raw Scripts - Randomly generated Beasts , Vermin, Hags, Vampires, and Civilizations
Castle Otu

Internet Kraken

  • Bay Watcher
    • View Profile
Re: Fancy Silkworm - My Failure
« Reply #2 on: April 01, 2011, 08:57:36 am »

You should probably be more specific about what you mean by "doesn't work". In Dwarf Fortress that could mean a million different things. If you haven't already try checking the error log to see what problems the creature has. I'd try looking at it myself but I'm not on a computer with DF right now.

By "it doesn't work", do you mean that they don't show up? You should add an [UNDERGROUND_DEPTH:1:3] tag to the creature.

Judging from the code it looks like it's supposed to be a domestic animal, in which case such a tag is not needed unless he wants it to appear in the wild.
Logged
Picture a dwarf, warrior, mechanic, or some other incredibly useful profession. Now picture him dead. That's what infections do.
[NOPAIN] no gain.
Escapist Reveredtour Let's Play.

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Fancy Silkworm - My Failure
« Reply #3 on: April 01, 2011, 09:12:51 am »

This is my silkworm from genesis, it works. You can use it or work from it to make your creature:

Spoiler (click to show/hide)
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Knight Otu

  • Bay Watcher
  • ☺4[
    • View Profile
Re: Fancy Silkworm - My Failure
« Reply #4 on: April 01, 2011, 01:53:54 pm »

Judging from the code it looks like it's supposed to be a domestic animal, in which case such a tag is not needed unless he wants it to appear in the wild.
Well, he did give the creature a biome, so I assumed he did want it to show up in the wilds.
Logged
Direforged Original
Random Raw Scripts - Randomly generated Beasts , Vermin, Hags, Vampires, and Civilizations
Castle Otu

FallingWhale

  • Bay Watcher
    • View Profile
Re: Fancy Silkworm - My Failure
« Reply #5 on: April 01, 2011, 09:48:49 pm »

Spoiler (click to show/hide)
It works now.

When I said pattern I was asking if was possible to use descriptor_shape_standard.
I take it there is no way make them vermin style webbers without making them vermin.
« Last Edit: April 02, 2011, 12:36:27 am by FallingWhale »
Logged
Quote from: Spambot
Becoming a software engineering is not a piece of cake that you can slice it off a plate and gorge on it.

veok

  • Bay Watcher
    • View Profile
Re: Fancy Silkworm - My Failure
« Reply #6 on: April 01, 2011, 10:56:44 pm »

Spoiler (click to show/hide)
It works now.

When I said pattern I was asking if was possible to use descriptor_shape_standard.
I take it there is no way make them vermin style webbers with making them vermin.

Try experimenting with the phantom or cave spiders. I hear they're vermin who leave webs :P
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Fancy Silkworm - My Failure
« Reply #7 on: April 02, 2011, 03:19:05 am »

Quote
I take it there is no way make them vermin style webbers without making them vermin.
What's a problem here? GCS leave webs. However they don't spawn them, if you mean that, so yeah.

To see how to make a pattern, check a tiger.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository