Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Adding a body part  (Read 783 times)

Drawde

  • Bay Watcher
    • View Profile
Adding a body part
« on: February 18, 2012, 12:25:14 am »

Wiki's down, so here's another question.

I'm adding a club to the end of a creature's tail.  I'm pretty sure I have the club added in the body_default.txt:
[BODY:TAIL_CLUB]
   [BP:TAIL_CLUB:club:STP][CON:TAIL][CATEGORY:TAILCLUB]
      [DEFAULT_RELSIZE:600]

I'm pretty sure this will work, though I probably madE a mistake somewhere.  But I'm a little stumped on specifying the material.

Do I need to add anything to the b_detail_plan_default.txt, or can I just add it to the creature raw?  I've gotten the base creature to work correctly with custom tissues, so I have the material working right.  So I believe it's under BODY_DETAIL_PLAN:STANDARD_MATERIALS and STANDARD_TISSUES, USE_MATERIAL/TISSUE_TEMPLATE:TAIL_CLUB:DRAKEBONE_TEMPLATE, though there's likely something wrong there too.
Logged

dirty foot

  • Bay Watcher
    • View Profile
Re: Adding a body part
« Reply #1 on: February 18, 2012, 01:08:21 am »

Makes me wonder if you can cut its tail off and use it as a mace or hammer.
Logged

Drawde

  • Bay Watcher
    • View Profile
Re: Adding a body part
« Reply #2 on: February 18, 2012, 01:21:01 am »

Aww, someone almost figured it out already (butcher for a spiked ball).  Though I intend for it to be used, as well as the game allows, by the creature.

I just need to make the game use the somewhat heavy drakebone as the material.
Logged

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: Adding a body part
« Reply #3 on: February 18, 2012, 01:26:11 am »

The body detail plans are simply one-line alises to a bunch of information, as they're commented to denote.
They're used in pretty much every single creature.  Adding your stuff, used for one creature, to them would be extremely wasteful  (every single creature would have yet another material/tissue that they don't use defined).
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

Drawde

  • Bay Watcher
    • View Profile
Re: Adding a body part
« Reply #4 on: February 18, 2012, 01:43:53 am »

Ok, I tried what I have.  Then checked the errorlog:

CLUBTAIL:Attack CLUB seems to have correct format but could not find proper BPs in any caste, so not added
*** Error(s) finalizing the creature CLUBTAIL
CLUBTAIL:FEMALE:club: No tissue thickness
CLUBTAIL:MALE:club: No tissue thickness

So I'm missing something.
Logged

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: Adding a body part
« Reply #5 on: February 18, 2012, 01:48:34 am »

*** Error(s) finalizing the creature CLUBTAIL
CLUBTAIL:FEMALE:club: No tissue thickness
CLUBTAIL:MALE:club: No tissue thickness
These things are quite specific.
You didn't define the layers of tissue (and their relative thicknesses) that make up the body part, so it can't make it.

See how the body detail plan does it for hooves for example.
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

Drawde

  • Bay Watcher
    • View Profile
Re: Adding a body part
« Reply #6 on: February 18, 2012, 02:29:00 am »

I've tried several times, but can't figure out how to do so.  Here's what I have so far:

Spoiler (click to show/hide)

I've tried defining it in the BODY_DETAIL_PLAN area with tissue and material templates.  I've tried it out of there like hair is.  So I'm doing it the wrong way, or getting syntax wrong.  I'll also need to get rid of vascular from it, since it's pretty much dead.
Logged

Jay

  • Bay Watcher
  • ☼Not Dead Yet☼
    • View Profile
Re: Adding a body part
« Reply #7 on: February 18, 2012, 02:52:45 am »

Uh, well...  You don't have anything defined for it at all there.
Did you remove it before you posted it or something?  A little hard for me to tell you what you did wrong :P
Logged
Mishimanriz: Histories of Pegasi and Dictionaries

Drawde

  • Bay Watcher
    • View Profile
Re: Adding a body part
« Reply #8 on: February 18, 2012, 03:05:06 am »

Then it looks like I was doing it the wrong way.

Yes I removed what I tried, but mentioned them.  It looks like I'm missing quite a bit then, and don't know where to start beyond what I have.  At least I could get the game to recognize that something's there to be missing.
Logged