Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Some mod help please  (Read 653 times)

Furtuka

  • Bay Watcher
  • High Priest of Mecha
    • View Profile
Some mod help please
« on: March 16, 2012, 04:06:42 pm »

What do all the ARG's and the numbers around them stand for?  Also whats the difference between the ones that say ADD_ MATERIAL ADD_TISSUE and BP_LAYERS and how do they interact?
« Last Edit: March 16, 2012, 04:43:41 pm by Furtuka »
Logged
It's FEF, not FEOF

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: body detail plan help
« Reply #1 on: March 16, 2012, 04:36:26 pm »

ADD_MATERIAL
simply "adds a material" that the creature now can use and call it's own "Horse Skin" "Dwarf Fat"
it is a faster way to give a creature many materials at once instead of defining each in the creature

ADD_TISSUE
is pretty much the same as ADD_MATERIAL but with tissues

BP_LAYERS and ARG#'s
ok this is also another way to cover body parts of a creature with tissues (without tissues the creature is simply insubstancial)
So something like this:

[BP_LAYERS:BY_CATEGORY:BODY:ARG3:50:ARG2:5:ARG1:1]

would cover any BP that is categorized as BODY with the given ARG#'s

So [BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE] - this is inside the creature
ARG1 is SKIN
ARG2 is FAT
ARG3 is MUSCLE (meat, also contains motor/sensory nerves)
ARG4 is BONE
ARG5 is CARTILAGE

now it seems backwords that
[BP_LAYERS:BY_CATEGORY:BODY:ARG3:50:ARG2:5:ARG1:1]
would go: ARG3 then ARG2 then ARG1 (Muscle,Fat,Skin)

reasons for this is that layers are just that a "layer" think of painting. You would never put the base coat last or in the middle, because the base coat goes on first and is never seen when the wall is done painting.
same goes for DF tissue layers, you don't want Bones on the outside and skin where the bones are.

But do know things placed in the ARG#'s for:
[BODY_DETAIL_PLAN:VERTEBRATE_TISSUE_LAYERS:SKIN:FAT:MUSCLE:BONE:CARTILAGE] - this is inside the creature

have to be a tissue defined in the creature (through a Detail_Plan or [TISSUE:(customID)] or [USE_TISSUE_TEMPLATE:(customID):(templateID)] call in the creature)
« Last Edit: March 16, 2012, 04:38:34 pm by Hugo_The_Dwarf »
Logged

Furtuka

  • Bay Watcher
  • High Priest of Mecha
    • View Profile
Re: Some mod help please
« Reply #2 on: March 16, 2012, 04:48:10 pm »

I don't quite seem to be getting it. Could you take a look at these and tell me what I'm doing wrong? None of it's attacks work, and the creature keeps falling over before suffocating when testing in the arena. (Also the whole armor thing is on purpose. It's part of the setting the stuff is from)

Spoiler (click to show/hide)
Logged
It's FEF, not FEOF

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Some mod help please
« Reply #3 on: March 16, 2012, 04:56:22 pm »

your [BODY:]
lacks a BRAIN
if your instenstion is lacking a BRAIN at least use NO_THOUGHT and NO_THOUGHT_CENTER_FOR_MOVEMENT tag thingers

I'm still looking through the raws

EDIT:
also the ERROR_LOG.txt is your friend it's located in the same spot of DF.EXE

EDIT2:
Your blood has not been declared. You could drop a [USE_MATERIAL_TEMPLATE:MECH_FLUID:MECH_FLUID_TEMPLATE] right above [BLOOD:]

EDIT3:
Also I don't see anywhere were you declare a ARMOR tissue :/ and why is ARMOR it's own material? you could simply ref the Tissue material to INORGANIC:IRON/STEEL/COPPER/BRONZE
« Last Edit: March 16, 2012, 05:00:23 pm by Hugo_The_Dwarf »
Logged

Furtuka

  • Bay Watcher
  • High Priest of Mecha
    • View Profile
Re: Some mod help please
« Reply #4 on: March 16, 2012, 04:57:49 pm »

Ah. I think that fixed the problem! Thank you.
« Last Edit: March 16, 2012, 04:59:20 pm by Furtuka »
Logged
It's FEF, not FEOF

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: Some mod help please
« Reply #5 on: March 16, 2012, 05:02:44 pm »

No problem, haha I'm debating if Trouble shooting DF raws is harder or easier then PHP :P
Logged