v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Editing User:Tfaal/The Complete Dorf's Guide to Bodies

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.


The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 34: Line 34:
 
     [CONNECTS]
 
     [CONNECTS]
 
     [TISSUE_SHAPE:LAYER]
 
     [TISSUE_SHAPE:LAYER]
In the b_detail_plan_default file, material and tissue templates come together. First the materials are imported, --
+
In the b_detail_plan_default file, material and tissue templates come together. First the materials are imported...
  
 
  [BODY_DETAIL_PLAN:STANDARD_MATERIALS]
 
  [BODY_DETAIL_PLAN:STANDARD_MATERIALS]
Line 41: Line 41:
 
     [ADD_MATERIAL:MUSCLE:MUSCLE_TEMPLATE]
 
     [ADD_MATERIAL:MUSCLE:MUSCLE_TEMPLATE]
 
     . . .
 
     . . .
-- then the tissues:
+
then the tissues:
 
  [BODY_DETAIL_PLAN:STANDARD_TISSUES]
 
  [BODY_DETAIL_PLAN:STANDARD_TISSUES]
 
     [ADD_TISSUE:SKIN:SKIN_TEMPLATE]
 
     [ADD_TISSUE:SKIN:SKIN_TEMPLATE]
Line 48: Line 48:
 
Bear in mind that the b_detail_plan_default file only exists to make the creature_whatever files shorter. These things could just as effectively be done there.
 
Bear in mind that the b_detail_plan_default file only exists to make the creature_whatever files shorter. These things could just as effectively be done there.
  
Now we get to the meat of this. Adding the tissues to the body parts. This big ugly line here --
+
Now we get to the meat of this. Adding the tissues to the body parts. This big ugly line here...
 
  [BP_LAYERS:BY_CATEGORY:BODY:ARG3:50:ARG2:5:ARG1:1]
 
  [BP_LAYERS:BY_CATEGORY:BODY:ARG3:50:ARG2:5:ARG1:1]
-- is basically saying "Take all parts that have the CATEGORY:UPPERBODY tag, and give them 50 thickness units of ARG3, 5 thickness units of ARG2, and 1 thickness unit of ARG1." What are those? That's up to the creature_whatever file to decide. Let's have a look at the dwarf entry in creature_standard:
+
... is basically saying "Take all parts that have the CATEGORY:UPPERBODY tag, and give them 50 thickness units of ARG3, 5 thickness units of ARG2, and 1 thickness unit of ARG1." What are those? That's up to the creature_whatever file to decide. Let's have a look at the dwarf entry in creature_standard:
 
  [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]
 
  [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]
 
As you can see, the first thing after VERTEBRATE_TISSUE_LAYERS is SKIN, so the ARG1 from b_detail_plan_default gets translated into skin. The same applies for fat, muscle, etc. So that line ends up reading as "Take the upper body, and add 50 thickness units of muscle, 5 thickness units of fat, and 1 thickness unit of skin." And there you have it! The upper body is defined. From here, defining organs is very similar. The only major thing left are body part positions and relations. Positions tell a body part where it is in relation to it's parent body part (the body part closer to the torso), like this:
 
As you can see, the first thing after VERTEBRATE_TISSUE_LAYERS is SKIN, so the ARG1 from b_detail_plan_default gets translated into skin. The same applies for fat, muscle, etc. So that line ends up reading as "Take the upper body, and add 50 thickness units of muscle, 5 thickness units of fat, and 1 thickness unit of skin." And there you have it! The upper body is defined. From here, defining organs is very similar. The only major thing left are body part positions and relations. Positions tell a body part where it is in relation to it's parent body part (the body part closer to the torso), like this:

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)