Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Distman

Pages: [1]
1
DF Modding / [mod help] Body, Body Parts and Body Detail Plans
« on: December 12, 2019, 10:56:28 am »
Getting back into DF modding after a six-month hiatus...

Feeling confused over how bodies work in raws. I'm making an immobile fungi creature with tentacles. It has (obviously) no bones, brain, eyes; all composed of one tissue/material called Sponge.

So I've made a [BODY]; a mushroom-like body (Stem > Ring > Cap) with five tentacles, each with a mouth on it.
Definition looks like this:
Code: [Select]
[BODY:FUNGI_5TENTACLES_MOUTHS]
[BP:UB:ring:ring][CON:LB][UPPERBODY][CATEGORY:BODY_UPPER]
[DEFAULT_RELSIZE:300]
[BP:LB:stem:stems][LOWERBODY][STANCE][CATEGORY:BODY_LOWER]
[DEFAULT_RELSIZE:800]
[BP:HD:cap:STP][CON:UB][HEAD][CATEGORY:HEAD]
[DEFAULT_RELSIZE:1400]

[BP:1T:first tentacle:STP][CON:HD][LIMB][GRASP][CATEGORY:TENTACLE]
[DEFAULT_RELSIZE:400]
[BP:2T:second tentacle:STP][CON:HD][LIMB][GRASP][CATEGORY:TENTACLE]
[DEFAULT_RELSIZE:400]
[BP:3T:third tentacle:STP][CON:HD][LIMB][GRASP][CATEGORY:TENTACLE]
[DEFAULT_RELSIZE:400]
[BP:4T:fourth tentacle:STP][CON:HD][LIMB][GRASP][CATEGORY:TENTACLE]
[DEFAULT_RELSIZE:400]
[BP:5T:fifth tentacle:STP][CON:HD][LIMB][GRASP][CATEGORY:TENTACLE]
[DEFAULT_RELSIZE:400]

[BP:1MOUTH:first mouth:STP][CON:1T][MOUTH][EMBEDDED][APERTURE][CATEGORY:MOUTH]
[DEFAULT_RELSIZE:20]
[BP:2MOUTH:second mouth:STP][CON:2T][MOUTH][EMBEDDED][APERTURE][CATEGORY:MOUTH]
[DEFAULT_RELSIZE:20]
[BP:3MOUTH:third mouth:STP][CON:3T][MOUTH][EMBEDDED][APERTURE][CATEGORY:MOUTH]
[DEFAULT_RELSIZE:20]
[BP:4MOUTH:fourth mouth:STP][CON:4T][MOUTH][EMBEDDED][APERTURE][CATEGORY:MOUTH]
[DEFAULT_RELSIZE:20]
[BP:5MOUTH:fifth mouth:STP][CON:5T][MOUTH][EMBEDDED][APERTURE][CATEGORY:MOUTH]
[DEFAULT_RELSIZE:20]

It is defined in creature raw like this:
Code: [Select]
[BODY:FUNGI_5TENTACLES_MOUTHS]
[BODY_DETAIL_PLAN:MOLLUSC_TISSUE_LAYERS:SKIN:FAT:MUSCLE]

[USE_MATERIAL_TEMPLATE:SPONGE:SPONGE_TEMPLATE]
[USE_TISSUE_TEMPLATE:SPONGE:SPONGE_TEMPLATE]

[TISSUE:BODY_TISSUE]
[TISSUE_NAME:fungi body:fungi bodies]
[TISSUE_MATERIAL:LOCAL_CREATURE_MAT:SPONGE]
[MUSCULAR]
[STRUCTURAL]
[TISSUE_MAT_STATE:SOLID]
[RELATIVE_THICKNESS:1]
[CONNECTS]
[TISSUE_SHAPE:LAYER]

[TISSUE_LAYER:BY_CATEGORY:ALL:BODY_TISSUE]

I'm missing something since I get the following error messages:
SPORE_TOWER:DEFAULT:stem, layer 2: Tissue SKIN was not found, using first tissue instead
SPORE_TOWER:DEFAULT:stem, layer 3: Tissue FAT was not found, using first tissue instead
SPORE_TOWER:DEFAULT:stem, layer 4: Tissue MUSCLE was not found, using first tissue instead
SPORE_TOWER:Attack PUNCH seems to have correct format but could not find proper BPs in any caste, so not added

What am I doing wrong? Bodies are very abstract and hard to understand imo.

Thanks,
Distman

Pages: [1]