Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 19 20 [21] 22 23 ... 544

Author Topic: [MODDING] 0.34. QUESTIONS THREAD  (Read 999527 times)

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #300 on: February 18, 2012, 09:39:54 pm »

Why is this:

Code: [Select]
[BODY_DETAIL_PLAN:CELL_MATERIALS]
[BODY_DETAIL_PLAN:CELL_TISSUES]
[BODY_DETAIL_PLAN:CELL_TISSUE_LAYERS:ARMOR:SKIN:INNARDS:BONE]

Plus this:

Code: [Select]

[BODY_DETAIL_PLAN:CELL_MATERIALS]
[ADD_MATERIAL:ARMOR:METAL_TEMPLATE] Yeah, that's going to be defined further.
[ADD_MATERIAL:SKIN:SUPERSKIN_TEMPLATE]
[ADD_MATERIAL:INNARDS:SYNTH_TEMPLATE]
[ADD_MATERIAL:TOOTH:TOOTH_TEMPLATE]
[ADD_MATERIAL:EYE:SYNTH_TEMPLATE]
[ADD_MATERIAL:BONE:SUPERBONE_TEMPLATE]
[ADD_MATERIAL:LEATHER:SUPERLEATHER_TEMPLATE]

[BODY_DETAIL_PLAN:CELL_TISSUES]
[ADD_TISSUE:SKIN:SYNTHSKIN_TEMPLATE]
[ADD_TISSUE:ARMOR:SYNTHARMOR_TEMPLATE]
[ADD_TISSUE:INNARDS:INNERSYNTH_TEMPLATE]
[ADD_TISSUE:TOOTH:TOOTH_TEMPLATE]
[ADD_TISSUE:EYE:SYNTHEYE_TEMPLATE]
[ADD_TISSUE:BRAIN:BRAIN_TEMPLATE]
[ADD_TISSUE:BONE:SYNTHBONE_TEMPLATE]

[BODY_DETAIL_PLAN:CELL_TISSUE_LAYERS]
[BP_LAYERS:BY_CATEGORY:BODY:ARG3:50:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:BODY_UPPER:ARG3:50:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:BODY_LOWER:ARG3:50:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:GROWTH:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:ARM:ARG4:25:ARG3:25:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:ARM_UPPER:ARG4:25:ARG3:25:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:ARM_LOWER:ARG4:25:ARG3:25:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:HAND:ARG4:25:ARG3:25:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:LEG:ARG4:25:ARG3:25:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:LEG_UPPER:ARG4:25:ARG3:25:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:LEG_LOWER:ARG4:25:ARG3:25:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:LEG_FRONT:ARG4:25:ARG3:25:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:LEG_REAR:ARG4:25:ARG3:25:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:FOOT:ARG4:25:ARG3:25:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:FOOT_FRONT:ARG4:25:ARG3:25:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:FOOT_REAR:ARG4:25:ARG3:25:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:HEAD:ARG3:50:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:NECK:ARG3:50:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:WING:ARG4:25:ARG3:25:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:TAIL:ARG4:25:ARG3:25:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:STINGER:ARG4:100]
[BP_LAYERS:BY_CATEGORY:EAR:ARG1:4:ARG2:1]
[BP_LAYERS:BY_CATEGORY:MOUTH:ARG3:10:ARG2:1]
[BP_LAYERS:BY_CATEGORY:RIB_TRUE:ARG4:100]
[BP_LAYERS:BY_CATEGORY:RIB_FALSE:ARG4:100]
[BP_LAYERS:BY_CATEGORY:RIB_FLOATING:ARG4:100]
[BP_LAYERS:BY_CATEGORY:BRAIN:BRAIN:100]
[BP_LAYERS:BY_CATEGORY:FINGER:ARG4:25:ARG3:25:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:TOE:ARG4:25:ARG3:25:ARG2:1:ARG1:5]
[BP_LAYERS:BY_CATEGORY:THROAT:ARG2:100]
[BP_LAYERS:BY_CATEGORY:SKULL:ARG4:50:ARG1:100]

Giving me this?

Code: [Select]
CELL:DEFAULT_ONE:right eye: No tissue thickness
CELL:DEFAULT_ONE:left eye: No tissue thickness
CELL:DEFAULT_ONE:nose: No tissue thickness
CELL:DEFAULT_ONE:right shoulder: No tissue thickness
CELL:DEFAULT_ONE:left shoulder: No tissue thickness
CELL:DEFAULT_ONE:right elbow: No tissue thickness
CELL:DEFAULT_ONE:left elbow: No tissue thickness
CELL:DEFAULT_ONE:right wrist: No tissue thickness
CELL:DEFAULT_ONE:left wrist: No tissue thickness
CELL:DEFAULT_ONE:right hip: No tissue thickness
CELL:DEFAULT_ONE:left hip: No tissue thickness
CELL:DEFAULT_ONE:right knee: No tissue thickness
CELL:DEFAULT_ONE:left knee: No tissue thickness
CELL:DEFAULT_ONE:right ankle: No tissue thickness
CELL:DEFAULT_ONE:left ankle: No tissue thickness
CELL:DEFAULT_ONE:tongue: No tissue thickness
CELL:DEFAULT_ONE:left cheek: No tissue thickness
CELL:DEFAULT_ONE:right cheek: No tissue thickness
CELL:DEFAULT_ONE:left eyelid: No tissue thickness
CELL:DEFAULT_ONE:right eyelid: No tissue thickness
CELL:DEFAULT_ONE:lower lip: No tissue thickness
CELL:DEFAULT_ONE:upper lip: No tissue thickness
CELL:DEFAULT_ONE:upper front tooth: No tissue thickness
CELL:DEFAULT_ONE:lower front tooth: No tissue thickness
CELL:DEFAULT_ONE:upper right back tooth: No tissue thickness
CELL:DEFAULT_ONE:lower right back tooth: No tissue thickness
CELL:DEFAULT_ONE:upper left back tooth: No tissue thickness
CELL:DEFAULT_ONE:lower left back tooth: No tissue thickness
CELL:DEFAULT_TWO:right eye: No tissue thickness
CELL:DEFAULT_TWO:left eye: No tissue thickness
CELL:DEFAULT_TWO:nose: No tissue thickness
CELL:DEFAULT_TWO:right shoulder: No tissue thickness
CELL:DEFAULT_TWO:left shoulder: No tissue thickness
CELL:DEFAULT_TWO:right elbow: No tissue thickness
CELL:DEFAULT_TWO:left elbow: No tissue thickness
CELL:DEFAULT_TWO:right wrist: No tissue thickness
CELL:DEFAULT_TWO:left wrist: No tissue thickness
CELL:DEFAULT_TWO:right hip: No tissue thickness
CELL:DEFAULT_TWO:left hip: No tissue thickness
CELL:DEFAULT_TWO:right knee: No tissue thickness
CELL:DEFAULT_TWO:left knee: No tissue thickness
CELL:DEFAULT_TWO:right ankle: No tissue thickness
CELL:DEFAULT_TWO:left ankle: No tissue thickness
CELL:DEFAULT_TWO:tongue: No tissue thickness
CELL:DEFAULT_TWO:left cheek: No tissue thickness
CELL:DEFAULT_TWO:right cheek: No tissue thickness
CELL:DEFAULT_TWO:left eyelid: No tissue thickness
CELL:DEFAULT_TWO:right eyelid: No tissue thickness
CELL:DEFAULT_TWO:lower lip: No tissue thickness
CELL:DEFAULT_TWO:upper lip: No tissue thickness
CELL:DEFAULT_TWO:upper front tooth: No tissue thickness
CELL:DEFAULT_TWO:lower front tooth: No tissue thickness
CELL:DEFAULT_TWO:upper right back tooth: No tissue thickness
CELL:DEFAULT_TWO:lower right back tooth: No tissue thickness
CELL:DEFAULT_TWO:upper left back tooth: No tissue thickness
CELL:DEFAULT_TWO:lower left back tooth: No tissue thickness

EDIT: Here's a custom body definition I'm using for it:

Code: [Select]
[BODY:CELL]
[BP:HD:head:STP][HEAD][CATEGORY:HEAD]
[DEFAULT_RELSIZE:300]
[BP:UB:upper body:upper bodies][CON:HD][CATEGORY:BODY_UPPER]
[DEFAULT_RELSIZE:1000]
[BP:LB:lower body:lower bodies][CON:UB][CATEGORY:BODY_LOWER]
[DEFAULT_RELSIZE:1000]
[BP:RUA:right upper arm:STP][CON:UB][LIMB][RIGHT][CATEGORY:ARM_UPPER]
[DEFAULT_RELSIZE:200]
[BP:LUA:left upper arm:STP][CON:UB][LIMB][LEFT][CATEGORY:ARM_UPPER]
[DEFAULT_RELSIZE:200]
[BP:RLA:right lower arm:STP][CON:RUA][LIMB][RIGHT][CATEGORY:ARM_LOWER]
[DEFAULT_RELSIZE:200]
[BP:LLA:left lower arm:STP][CON:LUA][LIMB][LEFT][CATEGORY:ARM_LOWER]
[DEFAULT_RELSIZE:200]
[BP:RH:right hand:STP][CON:RLA][GRASP][RIGHT][CATEGORY:HAND]
[DEFAULT_RELSIZE:80]
[BP:LH:left hand:STP][CON:LLA][GRASP][LEFT][CATEGORY:HAND]
[DEFAULT_RELSIZE:80]
[BP:RUL:right upper leg:STP][CON:LB][LIMB][RIGHT][CATEGORY:LEG_UPPER]
[DEFAULT_RELSIZE:500]
[BP:LUL:left upper leg:STP][CON:LB][LIMB][LEFT][CATEGORY:LEG_UPPER]
[DEFAULT_RELSIZE:500]
[BP:RLL:right lower leg:STP][CON:RUL][LIMB][RIGHT][CATEGORY:LEG_LOWER]
[DEFAULT_RELSIZE:400]
[BP:LLL:left lower leg:STP][CON:LUL][LIMB][LEFT][CATEGORY:LEG_LOWER]
[DEFAULT_RELSIZE:400]
[BP:RF:right foot:right feet][CON:RLL][STANCE][RIGHT][CATEGORY:FOOT]
[DEFAULT_RELSIZE:120]
[BP:LF:left foot:left feet][CON:LLL][STANCE][LEFT][CATEGORY:FOOT]
[DEFAULT_RELSIZE:120]
« Last Edit: February 18, 2012, 09:43:47 pm by Putnam »
Logged

ArKFallen

  • Bay Watcher
  • Bohandean Desserter
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #301 on: February 18, 2012, 09:48:26 pm »

Why is this:

Code: [Select]
[BODY_DETAIL_PLAN:CELL_TISSUE_LAYERS:ARMOR:SKIN:INNARDS:BONE]
Plus this:

Giving me this?


EDIT: Here's a custom body definition I'm using for it:
Do they still have 2EYES, NOSE, HUMANOID_JOINTS, MOUTH, TONGUE, FACIAL_FEATURES, and TEETH as BPs? None of those things are in your detail plan so it spits out those errors.
Logged
Hm, have you considered murder?  It's either that or letting it go.
SigText
I logged back on ;_;

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #302 on: February 18, 2012, 09:51:25 pm »

Why is this:

Code: [Select]
[BODY_DETAIL_PLAN:CELL_TISSUE_LAYERS:ARMOR:SKIN:INNARDS:BONE]
Plus this:

Giving me this?


EDIT: Here's a custom body definition I'm using for it:
Do they still have 2EYES, NOSE, HUMANOID_JOINTS, MOUTH, TONGUE, FACIAL_FEATURES, and TEETH as BPs? None of those things are in your detail plan so it spits out those errors.

Whoops, sorry.

Code: [Select]
[BODY:CELL:2EYES:CELL_2EARS:NOSE:HUMANOID_JOINTS:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:TONGUE:TAIL:TAIL_STINGER:FACIAL_FEATURES:TEETH:2WINGS_FUNCTIONLESS]
[BODYGLOSS:NUCLEUS]

Note that the CELL_2EARS is defined, and 2WINGS_FUNCTIONLESS is to be defined soon enough anyway.

EDIT: Oh, wait. No, none of those things you mentioned go in the DETAIL_PLAN at all, they just go in the BODY tag. ARMOR, SKIN, INNARDS and BONE are ARG1, ARG2, ARG3 and ARG4 respectively.

monk12

  • Bay Watcher
  • Sorry, I AM a coyote
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #303 on: February 18, 2012, 10:21:34 pm »

Spoiler: Previous Question (click to show/hide)

Asking this one again as I think it was lost in the shuffle- hopefully an answer exists. I think my mod is going to go in another direction (essentially ignore fort mode) so it doesn't matter as much, but I'd still like to be able to have the technique in my repertoire.

ArKFallen

  • Bay Watcher
  • Bohandean Desserter
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #304 on: February 18, 2012, 10:22:34 pm »

Whoops, sorry.
Code: [Select]
[BODY:CELL:2EYES:CELL_2EARS:NOSE:HUMANOID_JOINTS:BRAIN:SKULL:5FINGERS:5TOES:MOUTH:TONGUE:TAIL:TAIL_STINGER:FACIAL_FEATURES:TEETH:2WINGS_FUNCTIONLESS]
[BODYGLOSS:NUCLEUS]
Note that the CELL_2EARS is defined, and 2WINGS_FUNCTIONLESS is to be defined soon enough anyway.
EDIT: Oh, wait. No, none of those things you mentioned go in the DETAIL_PLAN at all, they just go in the BODY tag. ARMOR, SKIN, INNARDS and BONE are ARG1, ARG2, ARG3 and ARG4 respectively.
But the bodyparts aren't defined in it either. That's what I was getting at.
Logged
Hm, have you considered murder?  It's either that or letting it go.
SigText
I logged back on ;_;

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #305 on: February 18, 2012, 10:29:34 pm »

...Oh, you weren't quoting the part you were trying to point out to me at all, so I got confused >_>

ArKFallen

  • Bay Watcher
  • Bohandean Desserter
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #306 on: February 18, 2012, 10:37:22 pm »

...Oh, you weren't quoting the part you were trying to point out to me at all, so I got confused >_>
Sorry, I was trying to cut down on space.
Logged
Hm, have you considered murder?  It's either that or letting it go.
SigText
I logged back on ;_;

Igfig

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #307 on: February 18, 2012, 10:41:34 pm »

Has anybody figured out the difference between [IS_SECRET:SUPERNATURAL_LEARNING_POSSIBLE] and [IS_SECRET:MUNDANE_RESEARCH_POSSIBLE]? At first I thought the first one meant the secret could be learned from slabs created by gods and the second one didn't do anything yet, but then I turned up a slab for a secret that only had MUNDANE_RESEARCH_POSSIBLE. I've also never seen anybody discover a secret on their own. Any clue how those tokens work?

Also, how do FIT_FOR_RESURRECTION and FIT_FOR_ANIMATION work exactly? They look like they're supposed to be creature tags, but they don't appear on any creatures. I tried slapping CE_REMOVE_TAG:FIT_FOR_ANIMATION on the animation interaction, hoping it would keep the corpses from being animated a second time... didn't work, though.

Zared

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #308 on: February 18, 2012, 10:51:57 pm »

Has anybody got [IE_INTERMITTENT] working with anything other then :WEEKLY?  I've tried DAILY and MONTHLY, and in either case it just disables the effect completely.  Looking like regional interactions are hard coded to be near constant.
Logged

Kilroy the Grand

  • Bay Watcher
  • I only want to give you a small kiss
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #309 on: February 18, 2012, 11:03:41 pm »

Would it be possible to make a venom that changes an animal into a different animal, then after a set amount of time, change into something else?
Logged
*pew* *blam* "Aughgghggurglegurgle..." *slither* *slither* *pit* *pat* *tap* *click-click* *BOOM* "Aiiieeegurgle gurgle..."
X-com meets Dwarf Fortress

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #310 on: February 18, 2012, 11:06:05 pm »

Simple question. This part of an interaction:

Code: [Select]
[CE_IMPAIR_FUNCTION:SEV:2000:PROB:100:BP:BY_CATEGORY:EYE:START:0:END:50]
Is causing this in my error log:

Code: [Select]
Unrecognized CE_IMPAIR_FUNCTION token: 0

ydaraishy

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #311 on: February 18, 2012, 11:13:23 pm »

Has anyone figured out what the numbers in the CE_PHYS_ATT_CHANGE tag mean? Taking an example from the vampire syndrome,

Code: [Select]
CE_PHYS_ATT_CHANGE:STRENGTH:200:0:AGILITY:200:0:TOUGHNESS:200:0:START:0
I'm guessing that the number immediately after the attribute (here "200") is a percentage, which, being above 100% here makes the affected creature stronger. The one after that ("0"), I'm guessing is a delay of some sort, meaning here that it immediately takes effect. I'm not sure of the details or if that's right, though.
Logged

monk12

  • Bay Watcher
  • Sorry, I AM a coyote
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #312 on: February 18, 2012, 11:16:29 pm »

Would it be possible to make a venom that changes an animal into a different animal, then after a set amount of time, change into something else?

Hm. Try making a syndrome that turns the animal into two different animals with two different lengths of time on       [CE_BODY_TRANSFORMATION:START:#:END:#]  Maybe if the first entry is shorter than the last one, it'll start with the first one and then default to the second? Worth a try, anyhow.


Also, somebody with knowledge of how to wiki needs to get our collective knowledge of interactions and the new tokens up on the wiki now that it's unlocked. Mostly so I don't have to keep referring to this post

EDIT:

Has anyone figured out what the numbers in the CE_PHYS_ATT_CHANGE tag mean? Taking an example from the vampire syndrome,

Code: [Select]
CE_PHYS_ATT_CHANGE:STRENGTH:200:0:AGILITY:200:0:TOUGHNESS:200:0:START:0
I'm guessing that the number immediately after the attribute (here "200") is a percentage, which, being above 100% here makes the affected creature stronger. The one after that ("0"), I'm guessing is a delay of some sort, meaning here that it immediately takes effect. I'm not sure of the details or if that's right, though.

Actually, and this is pure speculation based on my experiments with the MATERIAL_WEAKNESS tag, but I believe it is a ratio. So STRENGTH:200:0 would be 200 times as strong, STRENGTH:0:200 would be 200 times as weak, and STRENGTH:3:2 would be 1.5 times as strong. I think- it needs testing.

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #313 on: February 18, 2012, 11:17:58 pm »

Oh man, if it's a ratio, that means I've been making my super saiyans 4000 times stronger instead of the 40 times I was hoping for...

Jordan~

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #314 on: February 18, 2012, 11:25:34 pm »

Pretty sure I've seen this asked about before, but it might be worth asking for an update. Is there any workaround for the reaction-made glove problem? I'm making armorsmithing reactions for adventurer mode, but gauntlets made aren't marked left or right and can't be equipped. To my understanding, dwarves can equip reaction-made gloves in fortress mode even though they lack the 'left' or 'right' descriptor. Is it possible to make a reaction produce 'handed' gloves, or to remove the requirement for 'handedness'?
Logged
Pages: 1 ... 19 20 [21] 22 23 ... 544