Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 238 239 [240] 241 242 ... 373

Author Topic: DFHack 0.34.11 r3  (Read 1452701 times)

tahujdt

  • Bay Watcher
  • The token conservative
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #3585 on: April 14, 2013, 05:18:12 pm »

 How do I add something to a dfusion menu?
Logged
DFBT the Dwarf: The only community podcast for Dwarf Fortress!
Tahu-R-TOA-1, Troubleshooter
Quote
I suggest that we add a clause permitting the keelhauling of anyone who suggests a plan involving "zombify the crew".
Quote from: MNII
Friend Computer, can you repair the known universe, please?

Rumrusher

  • Bay Watcher
  • current project : searching...
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #3586 on: April 14, 2013, 08:07:16 pm »

How do I add something to a dfusion menu?
go to hack/lua/plugins/dfusion to find about 4 files... though you might need flash developer or Notepad++ to properly add or write in script since you might end up with a compressed lua file.
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

gchristopher

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #3587 on: April 15, 2013, 12:51:17 am »

I have a little question too : is it possible to "fill" with constant 7/7 water a brook's edge via dfhack ? Mine is causing some nasty fps drop because of flowing liquid.
Assuming that the water flowing off the map edge at the brook is really what's causing your FPS drop, then there are some options. You can dam the brook or you could change those edge tiles from out-flow to in-flow. The brook will keep filling itself, but won't drain water off the map properly anymore in that case.

Here's some off-the-cuff lua to try. Put the map cursor on the brook tile on the edge of the map you want to change. (The actual 7/7 water brook tile, not the space above it.) I don't know if there's a helper function to make finding a block in df.global.world.map easier than this.
Code: [Select]
for ii = 0,#df.global.world.map.map_blocks-1 do
  block = df.global.world.map.map_blocks[ii];
  for dx = 0,15 do
    for dy = 0,15 do
      if (block.map_pos.x + dx)  == df.global.cursor.x and (block.map_pos.y + dy)  == df.global.cursor.y and block.map_pos.z == df.global.cursor.z then
        block.occupancy[dx][dy].edge_flow_in = true;
      end
    end
  end
end
Logged

ag

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #3588 on: April 15, 2013, 02:20:57 am »

which seemed to be the only place where it would allow the stair and engine to coexist

Sounds like the plugin is not active. When it is, it alters the game ui response to allow down stairs under any tile of the engine. And it does need water.
Logged

Kromgar

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #3589 on: April 15, 2013, 08:42:37 am »

How do I take over the body of an adventurer who isn't my companion? It says I need to force the bodyswap or something.

I am using adv-bodyswap
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #3590 on: April 15, 2013, 08:53:13 am »

adv-bodyswap force

Rumrusher

  • Bay Watcher
  • current project : searching...
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #3591 on: April 15, 2013, 05:55:35 pm »

or just use dfusion which also has bodyswap it's under the misc option. Sadly kinda force you to select and look at the person stats before you can switch and not have the X pointer over their head, it's possible to change the script to do so.
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

Roses

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #3592 on: April 16, 2013, 12:32:55 pm »

Looking through the catsplosion plugin, not really familiar with how dfhack interacts with DF but it seems that the only part that references cats is

    list<string> s_creatures;
    // only cats for now.
    s_creatures.push_back("CAT");
    // make the creature list unique ... with cats. they are always unique
    s_creatures.unique();
    // SUSPEND THE CORE! ::Evil laugh::
    CoreSuspender susp;

So to make it work for other creatures all I need to do is change the "CAT" to say "DOG"?
Logged

turabeasel

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #3593 on: April 16, 2013, 03:25:46 pm »

Is there anyway in Dwarf Manipulator to sort by idle dwarves?
Logged

comham

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #3594 on: April 17, 2013, 02:47:30 pm »

I feel like I should be able to figure this out myself, but I can't; is there a command to deconstruct a building or free a prisoner? Autodump doesn't work. Last two dwarves in the fort are locked up vampires, and I want the fort to wither.
Logged

robertheinrich

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #3595 on: April 17, 2013, 03:53:13 pm »

I feel like I should be able to figure this out myself, but I can't; is there a command to deconstruct a building or free a prisoner? Autodump doesn't work. Last two dwarves in the fort are locked up vampires, and I want the fort to wither.
Right now your would still need masons/carpenters/whatever to deconstruct stuff. There is no plugin (yet) which allows you magically deconstruct buildings without having workers do it.
Logged

vjek

  • Bay Watcher
  • If it didn't work, change the world so it does.
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #3596 on: April 17, 2013, 04:51:34 pm »

I feel like I should be able to figure this out myself, but I can't; is there a command to deconstruct a building or free a prisoner? Autodump doesn't work. Last two dwarves in the fort are locked up vampires, and I want the fort to wither.
If there is any natural stone anywhere nearby that an exit path can be made from, liquids -> obsidian floor will let you create that path.
But constructed walls/buildings?  nope.

armeggedonCounselor

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #3597 on: April 17, 2013, 05:50:08 pm »

The first post says that superdwarf can be used in Adventure Mode. How do I use it? Does my adventurer have to be a dwarf?
Logged
Quote from: Stargrasper
It's an incredibly useful technique that will crash the computer if you aren't careful with it.
That really describes any programming.

BigFatStupidHead

  • Bay Watcher
  • obscure to the point of being cryptic
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #3598 on: April 17, 2013, 05:54:06 pm »

Hey folks, correct me if I'm wrong, but I've heard the bugged immigrant traders that sometimes show up will leave your site with the dwarven caravan. Could fixmigrant be reversed so that you can exile unwanted citizens?
Logged

Rumrusher

  • Bay Watcher
  • current project : searching...
    • View Profile
Re: DFHack 0.34.11 r3
« Reply #3599 on: April 17, 2013, 06:21:19 pm »

The first post says that superdwarf can be used in Adventure Mode. How do I use it? Does my adventurer have to be a dwarf?
you should be able to place the cursor on the adventurer.
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
Pages: 1 ... 238 239 [240] 241 242 ... 373