Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 [2]

Author Topic: Question about tissue layers  (Read 3164 times)

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Question about tissue layers
« Reply #15 on: February 13, 2012, 09:33:39 am »

[IMPACT_YIELD:350000]
   [IMPACT_FRACTURE:850000]
   [IMPACT_STRAIN_AT_YIELD:100000]
   [COMPRESSIVE_YIELD:350000]
   [COMPRESSIVE_FRACTURE:850000]
   [COMPRESSIVE_STRAIN_AT_YIELD:100000]
   [TENSILE_YIELD:100000]
   [TENSILE_FRACTURE:100000]
   [TENSILE_STRAIN_AT_YIELD:100000]
   [TORSION_YIELD:100000]
   [TORSION_FRACTURE:100000]
   [TORSION_STRAIN_AT_YIELD:100000]
   [SHEAR_YIELD:100000]
   [SHEAR_FRACTURE:100000]
   [SHEAR_STRAIN_AT_YIELD:100000]
   [BENDING_YIELD:100000]
   [BENDING_FRACTURE:100000]
   [BENDING_STRAIN_AT_YIELD:100000]

change these to the same values as copper, so open up "inorganic_metal.txt"
Logged

Drawde

  • Bay Watcher
    • View Profile
Re: Question about tissue layers
« Reply #16 on: February 13, 2012, 05:51:04 pm »

Ok.  I changed those values to duplicate copper.  And nothing.  And I changed the relative thickness in the tissue template to 100 and still nothing.  Any ideas on what I could be missing?

It seems like most attacks are ignoring the scale layer.  Some hit it and damage it like normal, but most hit the fat or muscle instead.  I might have forgotten something either with the drakescale itself, or telling the game to use it.

Tissue template:
Spoiler (click to show/hide)

Material template:
Spoiler (click to show/hide)

Creature raw:
Spoiler (click to show/hide)
« Last Edit: February 13, 2012, 06:03:51 pm by Drawde »
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Question about tissue layers
« Reply #17 on: February 13, 2012, 10:56:07 pm »

Your tissue template targets DRAKESCALE within the creature. But in the CREATURE you name the tissue material SCALE so try this...

Spoiler (click to show/hide)

All should be well.

Saddly If you are just starting to mod... Tissues are the hardest thing next to complex reactions. So... Yeah. Give that a whirl. Remember if a Tissue is useing a LOCAL_CREATURE_MAT make sure it points to something that has been properly defined. In your case you aimed at DRAKESCALE but the acual drakescale you declared was SCALE so that tissue is just going WTF bro? and making itself some kind of ai rlike material thus useless in defense

AKA Errors:

inside the tissue template call: [TISSUE_MATERIAL:LOCAL_CREATURE_MAT:DRAKESCALE]

inside the creature, material call: [USE_MATERIAL_TEMPLATE:SCALE:DRAKESCALE_TEMPLATE]

notice the differences? the Tissue looks for DRAKESCALE (material) but the creauture calls a SCALE material that is using the template of DRAKESCALE (material)
So the tissue asks "Can I use the DRAKESCALE material?" and the creauture says "nope, I got a SCALE but your not looking for that" even tho SCALE is the wanted DRAKESCALE
« Last Edit: February 13, 2012, 11:04:30 pm by Hugo_The_Dwarf »
Logged

Drawde

  • Bay Watcher
    • View Profile
Re: Question about tissue layers
« Reply #18 on: February 13, 2012, 11:38:43 pm »

THANKS!  That was it.

Yes, a black bear can kill a drake, but with work.  Meanwhile another drake took on three cougars and only died to stangulation.  Not it's throat being torn out, but being strangled by one cougar.

One more question, in another thread, and I should be done with this creature.  Thanks again.
Logged

Koji

  • Bay Watcher
  • Kobold
    • View Profile
Re: Question about tissue layers
« Reply #19 on: February 14, 2012, 04:09:38 pm »

Copper is pretty terrible. Try using bronze instead and see how that works.

Also the SCALE tissue shape might be causing a problem. Try using LAYER instead and see if that is better.
Logged
Dwarvenrealms
ASCII | Graphical
Over 220 new creatures, new civs, new industries, and a fully customized tileset!
Pages: 1 [2]