Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Body part colors  (Read 876 times)

AdeleneDawner

  • Bay Watcher
    • View Profile
Body part colors
« on: March 25, 2011, 04:50:45 pm »

So I'm working on my first modded critter: A domesticated, vermin-catching lizard with a bit more of a dwarfy flavor than cats. I'm calling them frill lizards, and I'm trying to give them colorful frills on their heads. I have the body part made, and apparently attached correctly since it shows up on the critter's wound screen, but it doesn't show up in the description. What am I doing wrong?

Partial raw (several cosmetic castes left out for clarity):
Spoiler (click to show/hide)

ETA: "Fin" does refer to the frill; I didn't see any standard body part that was quite right, so I copied the standard dorsal fin and changed where it attached and what it was called, but I left it as a fin-type body part because I wasn't sure if it was okay to change that.
« Last Edit: March 25, 2011, 04:54:15 pm by AdeleneDawner »
Logged
Dying (ceasing to be alive) is also not a Moodable skill. Even totally unskilled Dwarves seem to do it correctly.

arzzult

  • Bay Watcher
  • This statement is false.
    • View Profile
Re: Body part colors
« Reply #1 on: March 25, 2011, 05:18:14 pm »

Well off the bat the error log gives
Spoiler (click to show/hide)

I'll look into fixing it.

Edit: including your head frill raws would be helpful to see if the problem is with how you defined that.
« Last Edit: March 25, 2011, 05:22:20 pm by arzzult »
Logged
I just realized two things. 1. For the Win and F___ the World have the same initials. 2. They have the same meaning in Dwarf Fortress.

AdeleneDawner

  • Bay Watcher
    • View Profile
Re: Body part colors
« Reply #2 on: March 25, 2011, 05:22:19 pm »

That's odd. I would have expected the body part to not show up at all if the game didn't recognize it.

Here's the head frill body part; I just added it to the end of my body_default file.
Code: [Select]
[BODY:HEAD_FRILL]
[BP:HEAD_FRILL:frill:STP][CONTYPE:HEAD][CATEGORY:FIN]
[DEFAULT_RELSIZE:100]
Logged
Dying (ceasing to be alive) is also not a Moodable skill. Even totally unskilled Dwarves seem to do it correctly.

Knight Otu

  • Bay Watcher
  • ☺4[
    • View Profile
Re: Body part colors
« Reply #3 on: March 25, 2011, 05:24:40 pm »

The color modifiers color Tissue Layers, not body parts, and there is no FIN tissue layer. It should work with changing
     [SET_TL_GROUP:BY_CATEGORY:ALL:FIN]
to
     [SET_TL_GROUP:BY_CATEGORY:FIN:SCALE]
Logged
Direforged Original
Random Raw Scripts - Randomly generated Beasts , Vermin, Hags, Vampires, and Civilizations
Castle Otu

AdeleneDawner

  • Bay Watcher
    • View Profile
Re: Body part colors
« Reply #4 on: March 25, 2011, 05:27:18 pm »

The color modifiers color Tissue Layers, not body parts, and there is no FIN tissue layer. It should work with changing
     [SET_TL_GROUP:BY_CATEGORY:ALL:FIN]
to
     [SET_TL_GROUP:BY_CATEGORY:FIN:SCALE]

That did it, thanks!
Logged
Dying (ceasing to be alive) is also not a Moodable skill. Even totally unskilled Dwarves seem to do it correctly.

arzzult

  • Bay Watcher
  • This statement is false.
    • View Profile
Re: Body part colors
« Reply #5 on: March 25, 2011, 05:28:53 pm »

Yeah, what Knight Otu said. I usually do the semi-lazy thing and look to the error log to point out my mistakes instead proofreading it myself, so I might have been able to point that out sooner if I had actually read the raws...  :-\
Logged
I just realized two things. 1. For the Win and F___ the World have the same initials. 2. They have the same meaning in Dwarf Fortress.