Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Clothmen  (Read 402 times)

spikeof2010

  • Bay Watcher
    • View Profile
Clothmen
« on: November 08, 2013, 10:06:52 pm »

Question, how would I go about replacing the skin of a creature (existing or not) with a material? (e.g, cloth)
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: Clothmen
« Reply #1 on: November 08, 2013, 10:28:33 pm »

Code: [Select]
[REMOVE_MATERIAL:SKIN]
[REMOVE_TISSUE:SKIN]

[USE_MATERIAL_TEMPLATE:THREAD_PLANT_TEMPLATE:THREAD_PLANT_TEMPLATE]    <-- Thanks Deon, I completely missed this.

[TISSUE:CLOTH]
[TISSUE_NAME:cloth:cloths]
[CONNECTS]
[TISSUE_MATERIAL:LOCAL_CREATURE_MAT:THREAD_PLANT_TEMPLATE]
[TISSUE_LAYER:BY_TYPE:ALL:CLOTH]

This sample raw will place cloth over every part of the body, while removing all the skin.

[USE_MATERIAL_TEMPLATE] is important if you want the material to be native to the creature. For established materials, such as metals or gems, you don't need to use this tag, and can skip to the tissue material.
« Last Edit: November 09, 2013, 02:51:34 pm by BlackFlyme »
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Clothmen
« Reply #2 on: November 09, 2013, 08:01:43 am »

It should be
[USE_MATERIAL_TEMPLATE:THREAD_PLANT_TEMPLATE:THREAD_PLANT_TEMPLATE]
in your case.

You missed the material definition which should take on the template.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository