Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: A little help with creature modding  (Read 879 times)

Ascaronth

  • Bay Watcher
    • View Profile
A little help with creature modding
« on: June 26, 2011, 03:49:00 pm »

Hello everyone, the wiki page somewhat helped me but I'm still confused... I'm trying to create a dread wolf with steel-strong bones, teeth and claws (nails?). I know, not original, but I'm trying to learn so whatever. Now I have several questions.

Q1
Would this change (in orange) suffice to make bones of a hypothetical (and not yet defined) BONE_STRONG material?
Spoiler (click to show/hide)

Q2
If I wanted to change nail material to a hypothetical NAIL_STRONG material, would I need to edit the USE_MATERIAL_TEMPLATE:NAIL:NAIL to USE_MATERIAL_TEMPLATE:NAIL:NAIL_STRONG or would I need to edit the USE_TISSUE_TEMPLATE token? Or both? Or neither?

Q3
How would I make such hypothetical materials? Because if I made BONE_STRONG template to be

Spoiler (click to show/hide)
that would make the bones *of* steel, not strong *like* steel, right? I don't know, I'm totally stumped... I don't understand anything :(
Logged

Ascaronth

  • Bay Watcher
    • View Profile
Re: A little help with creature modding
« Reply #1 on: June 26, 2011, 06:16:47 pm »

Anyone? I would like to learn how to mod, but I don't know where to start... I'd like some kind of a guide, but I can't seem to find any.
Logged

Sugata-senpai

  • Bay Watcher
  • Legendary Anime Watcher+3 Legendary Manga Reader+5
    • View Profile
Re: A little help with creature modding
« Reply #2 on: June 26, 2011, 08:22:29 pm »

Hello everyone, the wiki page somewhat helped me but I'm still confused... I'm trying to create a dread wolf with steel-strong bones, teeth and claws (nails?). I know, not original, but I'm trying to learn so whatever. Now I have several questions.

Q1
Would this change (in orange) suffice to make bones of a hypothetical (and not yet defined) BONE_STRONG material?
Spoiler (click to show/hide)

Q2
If I wanted to change nail material to a hypothetical NAIL_STRONG material, would I need to edit the USE_MATERIAL_TEMPLATE:NAIL:NAIL to USE_MATERIAL_TEMPLATE:NAIL:NAIL_STRONG or would I need to edit the USE_TISSUE_TEMPLATE token? Or both? Or neither?

Q3
How would I make such hypothetical materials? Because if I made BONE_STRONG template to be

Spoiler (click to show/hide)
that would make the bones *of* steel, not strong *like* steel, right? I don't know, I'm totally stumped... I don't understand anything :(

Spoiler (click to show/hide)

This setup defines all of the tissues your creature will be made of, Body detail plans are powerful tools.


What I did here was to create material templates for materials that will act like their respective tissue layer, Bone, Tooth, Nail... , but have the stats of steel.


Also note that in BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS in red I marked where you have BONE_STRONG placed in your OP, this is wrong because the layers section refers to Skin, fat, muscle, bone etc. as they are defined earlier in your creature.


If I were to define something without a body detail plan, it would be defined the same way as nails are.




Here are the material templates

Spoiler (click to show/hide)

I made these by taking the material templates for bone, nail, and tooth, and changing their stats to be the same as steel.


That should be all you need, if you have any questions as to why I did something, or if something doesn't work(I don't currently have time to test this) then just ask and I'll answer as fast as possible.

Hope this helps you, don't be shy to ask me anything! ;)


P.S. I'm sorry if this isn't everything you need, I'm a little rushed for time right now.(and quite tired)
Logged
Me: I'll kill you... I'll kill you all!!!! Mwahahahahahaha!!!...

UristMcRandomNurse: Sir, patient 137 is laughing maniacially again.

UristMcDoctor: Don't worry, if we just ignore him he'll calm down and go back to playing Dwarf Fortress.

Ascaronth

  • Bay Watcher
    • View Profile
Re: A little help with creature modding
« Reply #3 on: June 26, 2011, 09:56:33 pm »

Thank you, I think I understand it now :D

But to be sure, lemme see if I understand everything correctly.
BODY_DETAIL_PLAN:STANDARD_MATERIALS defines both the bone and tooth material to be used, and since the creature instead needs to use another material for those tissues, we need to remove them from the creature, then we add those tissues back using the correct material, that is BONE_STRONG instead of BONE_TEMPLATE and TOOTH_STRONG instead of TOOTH_TEMPLATE. I hope this is right.

Then we add nails using the correct material template, which is NAIL_STRONG. We don't need to remove the tissue because it's not defined in BODY_DETAIL_PLAN:STANDARD_MATERIALS. I think I've got this part.

Then in the materials templates we describe the physical properties of the material: color, melting point etc. In this case it's almost a copypasta of steel.

I guess the BONE token at the end of BONE_STRONG means that, being this material a bone, it inherits the tokens of BONE_TEMPLATE, and thus inherits the STRUCTURAL token, the CONNECTIVE_TISSUE_ANCHOR token etc.

Am I right? Because I can't find the BONE, TOOTH, IMPLIES_ANIMAL_KILL, ITEMS_HARD and ITEMS_BARRED tokens in the wiki

Also, why doesn't NAIL_STRONG have the NAIL token at the end? Sorry if I'm being obnoxious but I think I'm getting it :)
Logged

Sugata-senpai

  • Bay Watcher
  • Legendary Anime Watcher+3 Legendary Manga Reader+5
    • View Profile
Re: A little help with creature modding
« Reply #4 on: June 27, 2011, 01:18:53 pm »

Thank you, I think I understand it now :D

But to be sure, lemme see if I understand everything correctly.
BODY_DETAIL_PLAN:STANDARD_MATERIALS defines both the bone and tooth material to be used, and since the creature instead needs to use another material for those tissues, we need to remove them from the creature, then we add those tissues back using the correct material, that is BONE_STRONG instead of BONE_TEMPLATE and TOOTH_STRONG instead of TOOTH_TEMPLATE. I hope this is right.

Then we add nails using the correct material template, which is NAIL_STRONG. We don't need to remove the tissue because it's not defined in BODY_DETAIL_PLAN:STANDARD_MATERIALS. I think I've got this part.

Then in the materials templates we describe the physical properties of the material: color, melting point etc. In this case it's almost a copypasta of steel.

You are quite right about this part here, you've understood what I was saying.

I guess the BONE token at the end of BONE_STRONG means that, being this material a bone, it inherits the tokens of BONE_TEMPLATE, and thus inherits the STRUCTURAL token, the CONNECTIVE_TISSUE_ANCHOR token etc.

Am I right? Because I can't find the BONE, TOOTH, IMPLIES_ANIMAL_KILL, ITEMS_HARD and ITEMS_BARRED tokens in the wiki

Also, why doesn't NAIL_STRONG have the NAIL token at the end? Sorry if I'm being obnoxious but I think I'm getting it :)

This is where you sort of lose it.

What happens with the tags such as BONE, TOOTH, etc. is to tell the game that this material is representative of a bone, a tooth, or some other material for the purposes of reactions and such.

IMPLIES_ANIMAL_KILL is used for creature materials so the game recognizes that the item was part of an animal that was likely killed and butchered for the material.

ITEMS_HARD simply tells the game that the material is hard, again for reaction purposes.

ITEMS_BARRED tells the game that the material is bone, this is also used for reactions.

There is no NAIL tag that is used with material raws.


I assume that the BONE_TEMPLATE you are referring to is the tissue template, and that has to be defined seperately in the raws.
This allows for the different materials to be used for anything that you want it to be, I could even make my creature have skin of bone, and muscles of fat if I really wanted to.



I hope this clears everything up! :D

P.S. You didn't sound obnoxious to me.
Logged
Me: I'll kill you... I'll kill you all!!!! Mwahahahahahaha!!!...

UristMcRandomNurse: Sir, patient 137 is laughing maniacially again.

UristMcDoctor: Don't worry, if we just ignore him he'll calm down and go back to playing Dwarf Fortress.

Ascaronth

  • Bay Watcher
    • View Profile
Re: A little help with creature modding
« Reply #5 on: June 27, 2011, 01:57:48 pm »

Ok, thank you very much I understand everything now :D

I was indeed confusing TISSUE_TEMPLATE:BONE_TEMPLATE and MATERIAL_TEMPLATE:BONE_TEMPLATE
Logged