Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Dimrill

Pages: [1]
1
DF Modding / Re: Runesmith - A DC like tool
« on: June 01, 2012, 08:57:31 pm »
Nope, can't find the kill command in dfhack. Do you have a fancy plugin installed for it? There's "die" but of course that's just used to stop the Dwarf Fortress process without saving.

This post may have what you need.

In particular....

unit=dfhack.gui.getSelectedUnit()
unit.flags1.dead=true

which, when I just tried it in 34.10, killed a dwarf instantly, and removed the corpse, too.  This may or may not work on undead, but it would appear to be a step in the right direction.
This is *dangerous* to use. It can end up causing the siege status to get stuck if you use it on invaders. Generally, it's better to encase creatures in obsidian (which can be done with the liquids command). This is also why DFHack doesn't have a kill command - it's just too easy to get that stuff wrong.

Why didn't I think of that? Egg and my face are in alignment.

2
DF Modding / Re: Runesmith - A DC like tool
« on: May 30, 2012, 10:52:00 am »
You're excellent, you are.

3
DF Modding / Re: Runesmith - A DC like tool
« on: May 29, 2012, 09:40:15 am »
If I wasn't so butch and manly I'd give you a tender kiss. But I am. Ahem.

4
DF Modding / Re: Runesmith - A DC like tool
« on: May 29, 2012, 04:41:32 am »
Nope, can't find the kill command in dfhack. Do you have a fancy plugin installed for it? There's "die" but of course that's just used to stop the Dwarf Fortress process without saving.

5
DF Modding / Re: Runesmith - A DC like tool
« on: May 28, 2012, 06:51:31 am »
Cor, it does? I've scoured the readme and can't find the command. Off the top of your head can you recall what it is?

6
DF Modding / Re: Runesmith - A DC like tool
« on: May 26, 2012, 05:12:31 pm »
Hi there guys, forum newb here asking for a little help. I've got a clump of dirty big demons banging on my lower door looking dead menacing and murderous and I'm quite eager for them to drop dead all of a sudden and not kill my precious dorfs to a smeary paste. Is there any way I can use an .lua to hover the cursor over them and make the pain go away? I've been using the above scripts by vjek to excellent effect so far.

I used to use Runesmith for such emergencies, but I understand the lovely author is in the final phases of Uni study (good luck by the way). Yes, I am a dirty big cheaty cheat.

*gets down on knees in hope*

Pages: [1]