Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Need a slight bit of help.  (Read 814 times)

Kilroy the Grand

  • Bay Watcher
  • I only want to give you a small kiss
    • View Profile
Need a slight bit of help.
« on: August 25, 2011, 02:09:07 am »

Can someone help me figure out how to make a worshop produce a poisonous object, whrther a gad or a contact poison is irrelevant, nor is the workshop.

This is the raws, any advice would be helpful

    [STATE_NAME:ALL_SOLID:frozen rot venom]
      [STATE_ADJ:ALL_SOLID:frozen rot venom]
      [STATE_NAME:LIQUID:rot venom]
      [STATE_ADJ:LIQUID:rot venom]
      [STATE_NAME:GAS:boiling rot venom]
      [STATE_ADJ:GAS:boiling rot venom]
      [PREFIX:NONE]
      [ENTERS_BLOOD]
      [SYNDROME]
         [SYN_NAME:mark of the plague]
         [SYN_AFFECTED_CLASS:GENERAL_POISON]
         [SYN_IMMUNE_CREATURE:HELMET_SNAKE:ALL]
         [SYN_INJECTED]
         [CE_IMPAIR_FUNCTION:SEV:30000:PROB:100:BP:BY_TYPE:SIGHT:ALL:START:0:PEAK:60]
         [CE_NECROSIS:SEV:100:PROB:100:BP:BY_TYPE:ALL:SKIN:START:30:PEAK:600]
         [CE_NECROSIS:SEV:100:PROB:100:BP:BY_TYPE:ALL:FAT:START:30:PEAK:600]
Logged
*pew* *blam* "Aughgghggurglegurgle..." *slither* *slither* *pit* *pat* *tap* *click-click* *BOOM* "Aiiieeegurgle gurgle..."
X-com meets Dwarf Fortress

jaxy15

  • Bay Watcher
  • Adept Modder
    • View Profile
Re: Need a slight bit of help.
« Reply #1 on: August 25, 2011, 03:17:06 am »

Boiling rock with a syndrome?
Logged
Dwarf Fortress: Threats of metabolism.

Kilroy the Grand

  • Bay Watcher
  • I only want to give you a small kiss
    • View Profile
Re: Need a slight bit of help.
« Reply #2 on: August 25, 2011, 06:05:26 am »

Boiling rock with a syndrome?

Yes, and mayve a reation so it can be made with any stone?
Logged
*pew* *blam* "Aughgghggurglegurgle..." *slither* *slither* *pit* *pat* *tap* *click-click* *BOOM* "Aiiieeegurgle gurgle..."
X-com meets Dwarf Fortress

Kilroy the Grand

  • Bay Watcher
  • I only want to give you a small kiss
    • View Profile
Re: Need a slight bit of help.
« Reply #3 on: August 25, 2011, 10:30:34 pm »

Some wise sage must know something, surely!
Logged
*pew* *blam* "Aughgghggurglegurgle..." *slither* *slither* *pit* *pat* *tap* *click-click* *BOOM* "Aiiieeegurgle gurgle..."
X-com meets Dwarf Fortress

Trapezohedron

  • Bay Watcher
  • No longer exists here.
    • View Profile
Re: Need a slight bit of help.
« Reply #4 on: August 25, 2011, 10:46:24 pm »

Here's a stone template, straight out of my game files, that has a poison gas effect.

Code: [Select]
[INORGANIC:PARALYSIS]
[USE_MATERIAL_TEMPLATE:STONE_TEMPLATE]
[STATE_NAME_ADJ:ALL_SOLID:fog of paralysis][DISPLAY_COLOR:3:0:0][TILE:'*']
  [SPEC_HEAT:409]
[IGNITE_POINT:11440]
[MELTING_POINT:NONE]
[BOILING_POINT:10000]
[SOLID_DENSITY:1346]
[MAT_FIXED_TEMP:10025]
[IS_STONE]
[STATE_NAME:GAS:constricting fog]
[STATE_NAME:GAS:constricting fog]
[STATE_COLOR:ALL_SOLID:DARK_BLUE]
[STATE_COLOR:LIQUID:DARK_BLUE]
[STATE_COLOR:GAS:DARK_BLUE]
[NO_STONE_STOCKPILE]
[SYNDROME]
[SYN_NAME:paralysis fog poisoning]
[SYN_AFFECTED_CLASS:GENERAL_POISON]
[SYN_INHALED]
[CE_NUMBNESS:SEV:100:PROB:100:START:0:PEAK:1:END:20]
[CE_NUMBNESS:SEV:25:PROB:100:START:20:PEAK:21:END:50]
[CE_IMPAIR_FUNCTION:SEV:100:PROB:100:BP:BY_TYPE:SIGHT:ALL:START:0:PEAK:1:END:50]
[CE_PARALYSIS:SEV:100:PROB:100:BP:BY_TYPE:GRASP:ALL:BP:BY_TYPE:STANCE:ALL:BP:BY_TYPE:FLIER:ALL:START:0:PEAK:1:END:50]

Just change the syndrome above to yours, and name the thing appropriately. The thing turns to noxious gas after being made/summoned/whatever.

And the reaction to make that, a placeholder reaction, since I don't know what your goal is:

Code: [Select]
[REACTION:<reaction name>] - change the reaction name as you see fit.
[NAME:xxxx xxxx xxxx] - see above.
[BUILDING:<building here>:CUSTOM_<x>] - change the <building here> into your workshop of choice. The CUSTOM_<x> is a construction shortcut, change the <x> into any key, or set it to NONE if you don't want any shortcuts.
[REAGENT:A:1:STONE:NO_SUBTYPE:STONE:NONE] - change the reagent requirements as you see fit.
[PRODUCT:100:1:STONE:NO_SUBTYPE:STONE:<x>] - match the PARALYSIS with the INORGANIC material's name above.
[SKILL:FORGE_FURNITURE] - change the skill as you see fit.



« Last Edit: August 25, 2011, 10:48:11 pm by New Guy »
Logged
Thank you for all the fish. It was a good run.

Kilroy the Grand

  • Bay Watcher
  • I only want to give you a small kiss
    • View Profile
Re: Need a slight bit of help.
« Reply #5 on: August 25, 2011, 11:36:12 pm »

Silly question, but which files do those go in?
Logged
*pew* *blam* "Aughgghggurglegurgle..." *slither* *slither* *pit* *pat* *tap* *click-click* *BOOM* "Aiiieeegurgle gurgle..."
X-com meets Dwarf Fortress

Trapezohedron

  • Bay Watcher
  • No longer exists here.
    • View Profile
Re: Need a slight bit of help.
« Reply #6 on: August 26, 2011, 05:33:15 am »

Sorry for the late post, had to go somewhere.

The first part (INORGANIC) goes to the inorganic_xxxx.txt files. The second part (REACTION) goes to the reaction_xxxx.txt files.

If you want to segregate your mods, you can make your own .txt files. You just need to add a few tags and such. If you're going to make a new .txt file to put that [INORGANIC] object in, you just need to add this:

Code: [Select]
inorganic_killroy <-- this part must match the .txt file's name itself. If the .txt file is named inorganic_other, you need to add inorganic_other to this line.

[OBJECT:INORGANIC] <-- for that inorganic material thingy that you want to add (poison boulder)

<your raws here>

Just replace that [OBJECT:INORGANIC] into [OBJECT:REACTION] for workshop reactions (must be done on a separate file).
Logged
Thank you for all the fish. It was a good run.

Kilroy the Grand

  • Bay Watcher
  • I only want to give you a small kiss
    • View Profile
Re: Need a slight bit of help.
« Reply #7 on: August 26, 2011, 03:53:26 pm »

Too soon :|

I played this in the Inorganic_metal.txt
Spoiler (click to show/hide)

And this in Reaction_other

Spoiler (click to show/hide)

 It didn't work, what did I do wrong this time?
« Last Edit: August 26, 2011, 04:30:35 pm by Kilroy the Grand »
Logged
*pew* *blam* "Aughgghggurglegurgle..." *slither* *slither* *pit* *pat* *tap* *click-click* *BOOM* "Aiiieeegurgle gurgle..."
X-com meets Dwarf Fortress

Quietust

  • Bay Watcher
  • Does not suffer fools gladly
    • View Profile
    • QMT Productions
Re: Need a slight bit of help.
« Reply #8 on: August 26, 2011, 04:35:54 pm »

It didn't work because New Guy's sample reaction was broken.

Here's what you need:
Code: [Select]
[REACTION:MAKE_POISON]
   [NAME:make poison]
   [BUILDING:CRAFTSMAN:Q]
   [REAGENT:A:1:BOULDER:NONE:NONE:NONE]
   [PRODUCT:100:5:BOULDER:NONE:INORGANIC:PARALYSIS]
   [SKILL:STONECRAFT]

This reaction will take a random boulder and turn it into a cloud of paralyzing gas.
Logged
P.S. If you don't get this note, let me know and I'll write you another.
It's amazing how dwarves can make a stack of bones completely waterproof and magmaproof.
It's amazing how they can make an entire floodgate out of the bones of 2 cats.

Kilroy the Grand

  • Bay Watcher
  • I only want to give you a small kiss
    • View Profile
Re: Need a slight bit of help.
« Reply #9 on: August 26, 2011, 05:17:37 pm »

It doesn't work, I can't see the option to make it at the craftdwarf workshop :\
Logged
*pew* *blam* "Aughgghggurglegurgle..." *slither* *slither* *pit* *pat* *tap* *click-click* *BOOM* "Aiiieeegurgle gurgle..."
X-com meets Dwarf Fortress

Kweri

  • Bay Watcher
    • View Profile
Re: Need a slight bit of help.
« Reply #10 on: August 26, 2011, 05:47:58 pm »

Did you add MAKE_POISON as a permitted reaction to whichever entity you're using?
Logged

Kilroy the Grand

  • Bay Watcher
  • I only want to give you a small kiss
    • View Profile
Re: Need a slight bit of help.
« Reply #11 on: August 26, 2011, 05:52:07 pm »

Did you add MAKE_POISON as a permitted reaction to whichever entity you're using?

Another stupid mistake on my part!  Thank you, I'm rather new at modding interactions and such.

Huh, it almost works, but before it is produced the game crashes.
« Last Edit: August 26, 2011, 05:59:06 pm by Kilroy the Grand »
Logged
*pew* *blam* "Aughgghggurglegurgle..." *slither* *slither* *pit* *pat* *tap* *click-click* *BOOM* "Aiiieeegurgle gurgle..."
X-com meets Dwarf Fortress

Kipi

  • Bay Watcher
    • View Profile
Re: Need a slight bit of help.
« Reply #12 on: August 26, 2011, 08:52:58 pm »

Does your error log contain something related to the reaction?

Logged
Room Values - !!SCIENCE!!

Quote from: zanchito
You know, they could teach maths like this at school. "There are 105 dwarves in a settlement. A goblin invasion appears and 67 die. Then a migrant wave..."

Kilroy the Grand

  • Bay Watcher
  • I only want to give you a small kiss
    • View Profile
Re: Need a slight bit of help.
« Reply #13 on: August 26, 2011, 09:09:53 pm »

I can't seem to find the error log, I did a search for it, but it doesn't appear to be on my computer.
Logged
*pew* *blam* "Aughgghggurglegurgle..." *slither* *slither* *pit* *pat* *tap* *click-click* *BOOM* "Aiiieeegurgle gurgle..."
X-com meets Dwarf Fortress

Kipi

  • Bay Watcher
    • View Profile
Re: Need a slight bit of help.
« Reply #14 on: August 26, 2011, 09:15:43 pm »

errorlog.txt, at the root folder of the game, right bellow the execute?

Strange, I thought it will always be there...

Okay, just a suggestion here, but change the product part to following:
[PRODUCT:100:1:BOULDER:NONE:INORGANIC:PARALYSIS]

This would produce only one paralysis stone instead of five. I have noticed that sometimes the game may crash if it tries to boil down several stones at the same time.

Also, is the name of the stone correct? I mean, is the stone you are using called PARALYSIS?
Logged
Room Values - !!SCIENCE!!

Quote from: zanchito
You know, they could teach maths like this at school. "There are 105 dwarves in a settlement. A goblin invasion appears and 67 die. Then a migrant wave..."
Pages: [1] 2