Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 114 115 [116] 117 118 ... 544

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

Tirion

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1725 on: May 25, 2012, 09:50:50 am »

Someone give me a download link to a Dwarf Therapist version that handles 34.09 and shows castes and attributes, please!
Logged
"Fools dig for water, corpses, or gold. The earth's real treasure is far deeper."

1v0ry_k1ng

  • Bay Watcher
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1726 on: May 25, 2012, 10:30:42 am »

Q:
How does one mod a creatures blood to cause an on-contact syndrome so, eg, hacking up that creature causes everyone slashed by blood to get dizzy/ill

Code: [Select]
[BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID]
[SYNDROME]
[SYN_NAME:blood's syndrome]
        [SYN_CONTACT]
        [SYN_INHALED]
        [SYN_INJECTED]
        [SYN_INGESTED]
            [SYN_AFFECTED_CLASS:GENERAL_POISON]
          [SYN_IMMUNE_CREATURE:creature_name:ALL]
            [SYN_INJECTED]
            [CE_PARALYSIS:SEV:100:PROB:100:RESISTABLE:SIZE_DILUTES:START:5:PEAK:10:END:20]
should be like this, but i could be wrong

no effect, even when blood is drank...

Sanure

  • Bay Watcher
  • [CREATURE:DRONE][PREFSTRING:MADNESS][ETHICS:NOPE]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1727 on: May 25, 2012, 10:42:42 am »

@Tirion
here ya go http://www.bay12forums.com/smf/index.php?topic=66525.0

@1v0ry_k1ng
try adding [ENTERSBLOOD] or how ever the tag goes. I will now attempt !!SCIENCE!! to see if i can get it working

EDIT: @Tirion that should have a download for .09 as well, if not i will search some more
« Last Edit: May 25, 2012, 10:46:07 am by Sanure »
Logged
Quote from: Discord
Suika, Drinker of Sake - Today at 9:11 PM
"...I really don't know why Cu chulainn made that last promise because he is physically incapable of keeping it in his pants, it is like his junk is some kind of unruly seamonster or moray eel telescoping out of its holster and harpooning ladies left and right"
Johnny Jokotaru sent Kars down under

Greiger

  • Bay Watcher
  • Reptilian Illuminati member. Keep it secret.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1728 on: May 25, 2012, 10:46:03 am »

Try putting    [SELECT_MATERIAL:BLOOD] in the creature entry near the bottom instead of [BLOOD:LOCAL_CREATURE_MAT:BLOOD:LIQUID] and follow it with the syndrome tags instead.

The dragon raw modifies it's body materiels using the select materiel tag, and since that basically lets you modify the materiel just like modifying a template syndrome tags should work there.

If that still fails I could always just crack open a world.sav and see how forgotten beasts do it.

EDIT: Forgotten beasts appear to do it with the select materiel method.
« Last Edit: May 25, 2012, 10:54:03 am by Greiger »
Logged
Disclaimer: Not responsible for dwarven deaths from the use or misuse of this post.
Quote
I don't need friends!! I've got knives!!!

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1729 on: May 25, 2012, 11:48:03 am »

Q:
How does one mod a creatures blood to cause an on-contact syndrome so, eg, hacking up that creature causes everyone slashed by blood to get dizzy/ill

   [USE_MATERIAL_TEMPLATE:BLOOD:BLOOD_TEMPLATE]
      [STATE_NAME:ALL_SOLID:frozen corrupted blood]
      [STATE_ADJ:ALL_SOLID:frozen corrupted blood]
      [STATE_NAME:LIQUID:corrupted blood]
      [STATE_ADJ:LIQUID:corrupted blood]
      [STATE_NAME:GAS:boiling corrupted blood]
      [STATE_ADJ:GAS:boiling corrupted blood]
      [PREFIX:NONE]
      [SYNDROME]
         [SYN_NAME:corruption]
         [SYN_AFFECTED_CLASS:GENERAL_POISON]
         [SYN_CONTACT]
         [CE_PAIN:SEV:100:PROB:100:LOCALIZED:VASCULAR_ONLY:START:10:PEAK:10:END:100]
         [CE_SWELLING:SEV:100:PROB:100:LOCALIZED:VASCULAR_ONLY:START:10:PEAK:10:END:150]
         [CE_BRUISING:SEV:100:PROB:100:LOCALIZED:VASCULAR_ONLY:START:10:PEAK:10:END:500]
         [CE_FEVER:SEV:100:PROB:100:LOCALIZED:VASCULAR_ONLY:START:10:PEAK:10:END:150]
         [CE_DIZZINESS:SEV:100:PROB:100:LOCALIZED:VASCULAR_ONLY:START:10:PEAK:10:END:150]

Blood beast blood from regeneration, Enjoy
Logged

jaxy15

  • Bay Watcher
  • Adept Modder
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1730 on: May 25, 2012, 12:11:13 pm »

How many ticks are in a week, and how many in a year?
Logged
Dwarf Fortress: Threats of metabolism.

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1731 on: May 25, 2012, 12:39:15 pm »

How many ticks are in a week, and how many in a year?

33600 is one month, so 403200 for a year.

30 days in a month so 1120 in a day * 7 for RL week 7840
Logged

NotErich

  • Bay Watcher
  • The Judge of Paradise
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1732 on: May 25, 2012, 02:49:59 pm »

How may I create new types of containers? I'm looking at creating a new type of container for what i'm adding, with the intents of storing liquids, solids, and gasses. (Specifically, it's intended to be a vacuum flask, so I can at least give the reason/theory why extremely reactive and high temperature materials can be stored safely.)

Also, is there currently any way for a dwarf to take out the contents of a container, besides from the part with pond zones and water buckets, and of course consuming the item inside the barrel.

(This is just seeing if I can legitimately make these things, or if I have to make a dummy item_tool to accomplish this. My inner OCD is making me want to make legitimate containers, which have the benefit of not being consumed in reactions.)
Logged

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1733 on: May 25, 2012, 02:53:22 pm »

[ITEM_TOOL:ITEM_TOOL_JAR]
[NAME:jar:jars]
[VALUE:30]
[TILE:'u']
[TOOL_USE:LIQUID_CONTAINER]
[CONTAINER_CAPACITY:10000]
[HARD_MAT]
[SIZE:2850]
[MATERIAL_SIZE:1]

you can change it to FOOD_STORAGE for the use to hold food as well, but nothing can contain a GAS, unless you make your material a liquid and 'pretend' its a gas
Logged

Rumrusher

  • Bay Watcher
  • current project : searching...
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1734 on: May 25, 2012, 05:02:01 pm »

so is it possible to stack on interactions? or is it a one time deal?
Logged
I thought I would I had never hear my daughter's escapades from some boy...
DAMN YOU RUMRUSHER!!!!!!!!
"body swapping and YOU!"
Adventure in baby making!Adv Homes

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1735 on: May 25, 2012, 05:07:12 pm »

yeah, interactions can be stacked.

Raptor_a22

  • Bay Watcher
  • [DERP]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1736 on: May 25, 2012, 11:50:26 pm »

I seem unable to get a custom interaction to work

What it's supposed to do is allow a creature to assume an 'animal form', which polymorphs them into an animal for 300 time units using [CE_BODY_TRANSFORMATION:START:0:END:300], but unfortunately te game refuses to acknowledge the existene of the interaction itself

Creature raw:
Spoiler (click to show/hide)
Interaction:
Spoiler (click to show/hide)

errorlog.txt
Spoiler (click to show/hide)

Assuming control of the creature in Arena mode and attempting to perform the interaction (which appears under 'a: natural ability', so at least THAT works...) results in it showing up as 'Unknown interaction'
Logged
Raptor's CivMod, Mithril and Dark Elves and Alchemy, oh my!
Quote
Dwarf Fortress: The only game where severe necrosis leading to exploding limbs is "awesome."

Hugo_The_Dwarf

  • Bay Watcher
  • Modding Mentor
    • View Profile
    • Regeneration: Forced Evolution
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1737 on: May 26, 2012, 12:21:13 am »

Your missing [I_SOURCE:CREATURE_ACTION] drop that at the top of your interactiions
Logged

Raptor_a22

  • Bay Watcher
  • [DERP]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1738 on: May 26, 2012, 02:55:48 am »

Still not working. errorlog.txt has the same error.
Logged
Raptor's CivMod, Mithril and Dark Elves and Alchemy, oh my!
Quote
Dwarf Fortress: The only game where severe necrosis leading to exploding limbs is "awesome."

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #1739 on: May 26, 2012, 02:58:31 am »

Do you have the interaction in the correct location (the objects folder), the file with a correct header (pretty much any text), and the correct object declaration ([OBJECT:INTERACTION])?
Pages: 1 ... 114 115 [116] 117 118 ... 544