Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Are semi-solid tissues possible?  (Read 1870 times)

Vattic

  • Bay Watcher
  • bibo ergo sum
    • View Profile
Are semi-solid tissues possible?
« on: February 26, 2012, 07:48:34 pm »

From what I can tell you can have a creature made of something solid like amethyst which chips, fractures, and shatters in combat or you can have liquids like blood that break off when attacked. I'm wondering if it's possible to have a more viscus material. It would not chip, fracture, or shatter but would deform easily. It would stick to itself but would break off with enough force.

I suspect this isn't possible but materials aren't my strong point.

For anyone curious: I'm expanding elemental men for my own personal mod. The hardcoded materials all act extremely brittle so I'm making my own replacements. I'd like mud men to be soft but not break apart as easily a blood men.
Logged
6 out of 7 dwarves aren't Happy.
How To Generate Small Islands

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Are semi-solid tissues possible?
« Reply #1 on: February 26, 2012, 08:21:51 pm »

You mean plasticity? No, not really possible right now. It IS possible to have highly deformable material, but not quite as weakly binded together as you hope for.

Vattic

  • Bay Watcher
  • bibo ergo sum
    • View Profile
Re: Are semi-solid tissues possible?
« Reply #2 on: February 26, 2012, 08:30:30 pm »

Yeah like a dough man or similar. It would be useful for monsters made of goo.

I know you can have deformable material from fighting bronze colossus and iron men. There isn't a token that determines how much force before chunks start coming off?

Perhaps I should suggest this if it isn't possible.
Logged
6 out of 7 dwarves aren't Happy.
How To Generate Small Islands

Urist Da Vinci

  • Bay Watcher
  • [NATURAL_SKILL: ENGINEER:4]
    • View Profile
Re: Are semi-solid tissues possible?
« Reply #3 on: February 26, 2012, 10:37:44 pm »

[XXXX_YIELD:1000]
[XXXX_FRACTURE:5000000]
[XXXX_STRAIN_AT_YIELD:50000]

Wouldn't this make material that dents easily, yet doesn't fracture?

Grimlocke

  • Bay Watcher
  • *kobold noises*
    • View Profile
Re: Are semi-solid tissues possible?
« Reply #4 on: February 26, 2012, 10:46:07 pm »

The game seems to distinguish between hard and elastic tissues. I found that bodyparts with only hard materials break rediculously easy, like steel ones fracturing from cat bites.

I suspect elastic only creatures will behave the opposite way, doesnt break but severs from cat scratches, though I havnt tried this myself.
Logged
I make Grimlocke's History & Realism Mods. Its got poleaxes, sturdy joints and bloomeries. Now compatible with DF Revised!

Vattic

  • Bay Watcher
  • bibo ergo sum
    • View Profile
Re: Are semi-solid tissues possible?
« Reply #5 on: February 27, 2012, 12:51:45 am »

[XXXX_YIELD:1000]
[XXXX_FRACTURE:5000000]
[XXXX_STRAIN_AT_YIELD:50000]

Wouldn't this make material that dents easily, yet doesn't fracture?

I quickly modified my emerald men so that I can test what you've suggested.

Code: [Select]
[CREATURE:ELEMENTMAN_EMERALD]
[DESCRIPTION:A strange crystalline creature the shape of a man.  It is found deep underground.]
[NAME:a emerald man:emerald men:emerald man]
[CASTE_NAME:emerald man:emerald men:emerald man]
[CREATURE_TILE:'M'][COLOR:2:0:0]
[LIKES_FIGHTING]
[LARGE_ROAMING]
[BIOME:SUBTERRANEAN_CHASM]
[UNDERGROUND_DEPTH:3:3]
[FREQUENCY:1]
[POPULATION_NUMBER:15:30]
[NOBONES]
[NOPAIN][EXTRAVISION][NOBREATHE][NOSTUN][NONAUSEA][NOEMOTION]
[NOTHOUGHT][NOEXERT]
[NO_DIZZINESS]
[NO_FEVERS]
[BUILDINGDESTROYER:2]
[LARGE_PREDATOR]
[NO_DRINK][NO_EAT][NO_SLEEP]
[NOT_LIVING]
[CANOPENDOORS]
[NOT_BUTCHERABLE]
[NOFEAR]
[PREFSTRING:rockiness]
[BODY:HUMANOID_SIMPLE]
[NO_THOUGHT_CENTER_FOR_MOVEMENT]

[USE_MATERIAL_TEMPLATE:EMERALD:STONE_TEMPLATE]
[STATE_NAME:ALL_SOLID:emerald]
[STATE_ADJ:ALL_SOLID:emerald]
[STATE_NAME:LIQUID:molten emerald]
[STATE_ADJ:LIQUID:molten emerald]
[STATE_NAME:GAS:boiling emerald]
[STATE_ADJ:GAS:boiling emerald]
[PREFIX:NONE]

[IMPACT_YIELD:1000]
[IMPACT_FRACTURE:5000000]
[IMPACT_STRAIN_AT_YIELD:50000]

[SHEAR_YIELD:1000]
[SHEAR_FRACTURE:5000000]
[SHEAR_STRAIN_AT_YIELD:50000]

[TISSUE:ROCK]
[TISSUE_NAME:emerald:NP]
[TISSUE_MATERIAL:LOCAL_CREATURE_MAT:EMERALD]
[MUSCULAR]
[FUNCTIONAL]
[STRUCTURAL]
[RELATIVE_THICKNESS:1]
[CONNECTS]
[TISSUE_SHAPE:LAYER]
[TISSUE_LAYER:BY_CATEGORY:ALL:ROCK]
[BODY_SIZE:0:0:70000]
[BODY_APPEARANCE_MODIFIER:HEIGHT:90:95:98:100:102:105:110]
[BODY_APPEARANCE_MODIFIER:BROADNESS:90:95:98:100:102:105:110]
[ATTACK:PUNCH:BODYPART:BY_TYPE:GRASP]
[ATTACK_SKILL:GRASP_STRIKE]
[ATTACK_VERB:punch:punches]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:MAIN]
[ATTACK:KICK:BODYPART:BY_TYPE:STANCE]
[ATTACK_SKILL:STANCE_STRIKE]
[ATTACK_VERB:kick:kicks]
[ATTACK_CONTACT_PERC:100]
[ATTACK_FLAG_WITH]
[ATTACK_PRIORITY:SECOND]
[ITEMCORPSE:ROUGH:NO_SUBTYPE:INORGANIC:EMERALD]
[ALL_ACTIVE]

I've ignored all the tokens that are only used with wrestling for the moment leaving just those for blunt and edged attacks.

A grand master hammer-emerald man with a steel war hammer has all his attacks glance away against an unarmed no skill emerald man. I can leave them together indefinitely without any damage to either party. A grand master axe-emerald man with a steel axe happily dents him with every successful blow. If I lower XXXX_STRAIN_AT_YIELD to 5 every blow, including from fists, dents. This leaves me unsure about what the XXXX_STRAIN_AT_YIELD tokens do.

Cheers for your input so far everyone.
Logged
6 out of 7 dwarves aren't Happy.
How To Generate Small Islands

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Are semi-solid tissues possible?
« Reply #6 on: February 27, 2012, 01:20:50 am »

Each of them does something different.

Impact defines whether the material dents/fractures/shatters (less than 25000), tears (more than or equal to 25000 and less than 50000), or bruises (more than or equal to 50000).

Shear strain at yield does... something with cutting calculations.

Tensile strain at yield does... something with armor and cutting and blunt and pretty much everything else.

Urist Da Vinci

  • Bay Watcher
  • [NATURAL_SKILL: ENGINEER:4]
    • View Profile
Re: Are semi-solid tissues possible?
« Reply #7 on: February 27, 2012, 03:13:51 am »

Each of them does something different.

Impact defines whether the material dents/fractures/shatters (less than 25000), tears (more than or equal to 25000 and less than 50000), or bruises (more than or equal to 50000).

Shear strain at yield does... something with cutting calculations.

Tensile strain at yield does... something with armor and cutting and blunt and pretty much everything else.

Some relevant Toady quotes:

Quote from: Toady One
Currently shear yield/fracture is used to determine edge effectiveness and the effectiveness of a material against a cut.  Impact yield/fracture is used to determine resistance against impacts.  Solid density will increase weight and therefore the impact of attacks.

Quote from: Toady One
Yeah, though it's sort of cludged since there's a lot going on and I wasn't quite wrapping my head around everything.  Right now it'll check the impact elasticity (which I guess is actually impact yield strain or something) of the outer layer, and that'll let it bypass impact fracture after a certain point (while still allowing bruises and ruptures without the layer eg skin actually breaking) even if the force is high enough (as the layer is assumed to have made way for the moving object in a sense).  So if you make a michelin man style creature that's just a purely elastic material, a mace will be unable to harm it unless it has blood flow and can bruise and so on, while relatively inelastic materials like bone will fracture, even through skin.  Skin has a lesser shear fracture than bone on the other hand, so a knife will cut through skin more easily than bone.

Also:
Quote from: Toady One
...
It's sort of crappy and cobbled together, but hopefully it'll work out.
... 
There's nothing here that wouldn't make an engineer vomit though.

Radiant_Phoenix

  • Bay Watcher
  • [CREATURE_CLASS:MODDER]
    • View Profile
Re: Are semi-solid tissues possible?
« Reply #8 on: February 27, 2012, 04:37:44 pm »

If the strain at yield is high, it will deform elastically and return to normal; low yield strain means that it only needs to be stretched or compressed a small amount to get past elastic deformation and into plastic deformation.

For all other properties unchanged:
Material Property:Increase,Decrease
Yield (Stress):needs more force to dent,takes less force to dent
Fracture (Stress):harder to break,easier to break
Yield Strain:takes more distance to dent (and break),takes less distance to dent (and break)
Logged