Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Minor Mod Request  (Read 1719 times)

Dastardly Jack

  • Bay Watcher
    • View Profile
Minor Mod Request
« on: March 31, 2014, 11:53:34 pm »

Hey, anyone hereabouts know if it's possible to have a creature with lava for blood without harming itself? And if so, I would really appreciate it if someone would either edit the RAW of a dwarf to have said lava blood, or instruct me in how to do so myself? Or preferably, if it's even possible, to just copy/paste the tissue things so that I could replace it in any regular human-like creature. (I don't know if elves, humans, and dwarves actually use the same tissues in this case, I'm admittedly pretty ignorant on the subject.)

P.S. I plan to use the lava-blooded creature in adventure mode as an outsider, if at all possible. I don't plan to replace an existing race with this one.

P.P.S. Apologies if I'm not supposed to post requests, but I didn't see anything that discouraged it when I looked, so don't hate me too much. :(
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: Minor Mod Request
« Reply #1 on: April 01, 2014, 12:10:29 am »

It can be done. Just change their blood token from this:

Code: [Select]
[BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID]
To this:

Code: [Select]
[BLOOD:INORGANIC:NONE:LIQUID]
You will then want to add this to the end of the creature entry so that they won't be harmed by their own blood:

Code: [Select]
[SELECT_MATERIAL:ALL]
 [IF_EXISTS_SET_HEATDAM_POINT:13000]
 [IF_EXISTS_SET_IGNITE_POINT:13000]
 [IF_EXISTS_SET_MELTING_POINT:13000]
 [IF_EXISTS_SET_BOILING_POINT:15000]
Logged

Dastardly Jack

  • Bay Watcher
    • View Profile
Re: Minor Mod Request
« Reply #2 on: April 01, 2014, 12:37:27 am »

Awesome. Though if I may ask, how does that cause their blood to be lava? I don't see any reference to the actual substance in there.
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
« Last Edit: April 01, 2014, 12:42:08 am by BlackFlyme »
Logged

Talik

  • Bay Watcher
    • View Profile
Re: Minor Mod Request
« Reply #4 on: April 01, 2014, 10:13:07 am »

on a similar note, what if you wanted to use an organic material as blood. Say in this case its called Cidaela. Or nervous fluid, either or.
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Minor Mod Request
« Reply #5 on: April 01, 2014, 10:48:01 am »

[BLOOD:LOCAL_CREATURE_MAT:<material>:LIQUID] can be SOLID, LIQUID, GAS but GAS and SOLID will cause strange behaviour in fortress mode.

or can use
[BLOOD:CREATURE_MAT:SNAKE:BLOOD:LIQUID] to use snake blood for their own
or
[BLOOD:WATER:LIQUID] water
[BLOOD:MUD:SOLID] mud
[BLOOD:INORGANIC:STEEL:SOLID] steel powder/dust
[BLOOD:PLANT_MAT:GRASS_PIGTAIL:DRINK:LIQUID] - bleeds booze
Logged

Dastardly Jack

  • Bay Watcher
    • View Profile
Re: Minor Mod Request
« Reply #6 on: April 04, 2014, 06:42:41 pm »

Another question, how would one change the material of a human's bones? Is this doable?
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: Minor Mod Request
« Reply #7 on: April 04, 2014, 06:46:36 pm »

Another question, how would one change the material of a human's bones? Is this doable?

Yes, though the methods will vary depending in if you just want the bones to be stronger or actually want them made out of a specific material.
Logged

Dastardly Jack

  • Bay Watcher
    • View Profile
Re: Minor Mod Request
« Reply #8 on: April 04, 2014, 07:24:46 pm »

Wouldn't having the bones made of a stronger material make them stronger anyways?
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: Minor Mod Request
« Reply #9 on: April 04, 2014, 07:32:08 pm »

I meant more along the lines of do you simply want to improve their bones while still leaving it as a bone material or replace them with a metal or something.

To make the bones tougher, you can just [SELECT_MATERIAL:BONE] and enter in new fracture/yield values.
Logged

Dastardly Jack

  • Bay Watcher
    • View Profile
Re: Minor Mod Request
« Reply #10 on: April 04, 2014, 07:48:43 pm »

No, I'd rather change the material of the bone.

To steel, specifically, if possible.
Logged

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: Minor Mod Request
« Reply #11 on: April 04, 2014, 08:13:00 pm »

That can be done. First you will need to add [REMOVE_TISSUE:BONE] underneath [BODY_DETAIL_PLAN:STANDARD_TISSUES]

Then create a new tissue definition within the creature.

Code: [Select]
[TISSUE:BONE]
[TISSUE_NAME:bone:NP]
[STRUCTURAL]
[CONNECTIVE_TISSUE_ANCHOR]
[TISSUE_MATERIAL:INORGANIC:STEEL]
[RELATIVE_THICKNESS:2]
[HEALING_RATE:1000]
[VASCULAR:3]
[PAIN_RECEPTORS:50]
[CONNECTS]
[TISSUE_SHAPE:LAYER]
[SETTABLE]
[SPLINTABLE]

This new bone tissue will have the same tissue qualities as bone, but will be made of steel. I basically just copied the values from the bone template over, and changed its material from local creature bones to steel.

This bit of code will go between [BODY_DETAIL_PLAN:STANDARD_TISSUES] and [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]

So it would go from this:

Code: [Select]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]

To something like this:

Code: [Select]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[REMOVE_TISSUE:BONE]

[TISSUE:BONE]
[TISSUE_NAME:bone:NP]
[STRUCTURAL]
[CONNECTIVE_TISSUE_ANCHOR]
[TISSUE_MATERIAL:INORGANIC:STEEL]
[RELATIVE_THICKNESS:2]
[HEALING_RATE:1000]
[VASCULAR:3]
[PAIN_RECEPTORS:50]
[CONNECTS]
[TISSUE_SHAPE:LAYER]
[SETTABLE]
[SPLINTABLE]

[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE]
Logged