Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 388 389 [390] 391 392 ... 544

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

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5835 on: August 21, 2013, 02:08:06 pm »

Define "use".

Eh, I'll just go with both definitions and give you the readme link and Lua API link.

Jaso11111

  • Bay Watcher
  • The Emperor protects...
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5836 on: August 21, 2013, 02:44:16 pm »

Define "use".

Eh, I'll just go with both definitions and give you the readme link and Lua API link.
Well i guess i was a bit vauge there. What i meant is: How do i call dfhack functions and commands from the raw files. For instance the reaction im planing of makeing that calls in a friendly troup too assist you.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5837 on: August 21, 2013, 02:46:05 pm »

Jaso11111

  • Bay Watcher
  • The Emperor protects...
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5838 on: August 21, 2013, 03:00:08 pm »

Ah, that would be autosyndrome. The tutorial is in the comment (grayed out part) here.
Wow... that was a bit too much code... but il figure it out ;)
Thanks Mister Putnam you are the best!
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5839 on: August 21, 2013, 03:05:31 pm »

ah--the example usage doesn't seem to give an example of how to actually to DFHack commands. Well, there's a few in Masterwork, and I think they're all in the same file, too, so that should help (It's an inorganic)

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5840 on: August 21, 2013, 04:49:16 pm »

Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Sanure

  • Bay Watcher
  • [CREATURE:DRONE][PREFSTRING:MADNESS][ETHICS:NOPE]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5841 on: August 21, 2013, 06:58:43 pm »

quick question: Will [AT_PEACE_WITH_WILDLIFE] keep titans and megabeasts from attacking civilization members( who have the tag) while on the fort map?
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

BlackFlyme

  • Bay Watcher
  • BlackFlyme cancels Work: Interrupted by bird.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5842 on: August 21, 2013, 07:13:06 pm »

quick question: Will [AT_PEACE_WITH_WILDLIFE] keep titans and megabeasts from attacking civilization members( who have the tag) while on the fort map?

Only if the titans/MBs in question are [MUNDANE], I believe.
Logged

Splint

  • Bay Watcher
  • War is a valid form of diplomacy.
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5843 on: August 22, 2013, 01:06:35 am »

I'd like to make milk processable into a drinkable form, but have no idea how to make the reaction for doing so. If someone could walk me through that that'd be great, since I'd like to see if I can run a fort on animal products and imported booze alone.

Gentlefish

  • Bay Watcher
  • [PREFSTRING: balloon-like qualities]
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5844 on: August 22, 2013, 01:16:26 am »

Is it possible to add a sandstorm-like cloud weather interaction to deserts that causes... Oh, I dunno, temporary blindness, mild pain, and dizziness? To simulate what little weather desert would have?

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5845 on: August 22, 2013, 01:45:47 am »

Yes, the Fallout mod already has stuff like that I think.

Jaso11111

  • Bay Watcher
  • The Emperor protects...
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5846 on: August 22, 2013, 06:47:15 pm »

Ok so heres something weird:
Everytime i run this reaction it gives me 100 items instead of 1.

Code: [Select]
reaction_ork

[OBJECT:REACTION]

[REACTION:MAKE_METAL_SCRAP]
[NAME:make metal to scrap]
[BUILDING:MEK_SHOP:NONE]
[REAGENT:A:1:BAR:METAL:NONE:NONE]
        [PRODUCT:100:1:BAR:NO_SUBTYPE:METAL:SCRAP]
[SKILL:MECHANIC]
I checked the wiki (where i learn how to mod) and it said the first number is change so i set it to 100% and that the SECOND number is the number of items made.
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5847 on: August 22, 2013, 06:48:11 pm »

You want 150 bars, not 1.

Jaso11111

  • Bay Watcher
  • The Emperor protects...
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5848 on: August 22, 2013, 06:57:26 pm »

You want 150 bars, not 1.
I asume you mean the number of items made. Tried it dint work. On a site note the reaction is instand when with 100% change but slow with lower.
« Last Edit: August 23, 2013, 05:59:09 am by Jaso11111 »
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: [MODDING] 0.34. QUESTIONS THREAD
« Reply #5849 on: August 22, 2013, 07:03:39 pm »

I meant both. Reagent and product. 1 bar is 1/150 of a bar.
Pages: 1 ... 388 389 [390] 391 392 ... 544