Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Looking for a utility, I can't seem to do it in runesmith...  (Read 1055 times)

Kaelem Gaen

  • Bay Watcher
  • And then it appeared the most terrifying creature
    • View Profile

It seems when I ressurrected a dwarf in one of my fortresses with I think Runesmith or one of my other programs, they ended up as a living lower-half of a dwarf, I need to kill it somehow, and when I used set invader and had someone try and kill this abomination, DF crashed.   There used to be utility that did "heal" "hurt" though I believe that it was for 40d, anything similar to that  for 31.25?

Samohan25

  • Bay Watcher
    • View Profile
Re: Looking for a utility, I can't seem to do it in runesmith...
« Reply #1 on: July 23, 2011, 03:55:57 am »

Have you tried cave-ins yet? Or putting the dwarf on a drawbridge above magma and dropping him in it?
I assume he can walk, so assigning him to the millitary to get him to move may work.
As far as I know there isn't a utility, but I could be proven wrong.
Logged

Yoink

  • Bay Watcher
    • View Profile
Re: Looking for a utility, I can't seem to do it in runesmith...
« Reply #2 on: July 23, 2011, 04:35:41 am »

No, I think the crash is caused simply whenever the dead, literally non-existant dwarf comes into contact with anything. Happens to me too, and I'm interested to see if there's a solution...
Logged
Booze is Life for Yoink

To deprive him of Drink is to steal divinity from God.
you need to reconsider your life
If there's any cause worth dying for, it's memes.

Rumrusher

  • Bay Watcher
  • current project : searching...
    • View Profile
Re: Looking for a utility, I can't seem to do it in runesmith...
« Reply #3 on: July 23, 2011, 05:51:37 am »

dfusion has a resurrection that heals the limbs I also made a hurt command from that also.
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

GreatWyrmGold

  • Bay Watcher
  • Sane, by the local standards.
    • View Profile
Re: Looking for a utility, I can't seem to do it in runesmith...
« Reply #4 on: July 23, 2011, 09:54:37 am »

How the heck is the dwarf living? It's missing it's [UPPERBODY] part! Oh, and it's head, but that's not a vital part for dwarves.
Logged
Sig
Are you a GM with players who haven't posted? TheDelinquent Players Help will have Bay12 give you an action!
[GreatWyrmGold] gets a little crown. May it forever be his mark of Cain; let no one argue pointless subjects with him lest they receive the same.

Kaelem Gaen

  • Bay Watcher
  • And then it appeared the most terrifying creature
    • View Profile
Re: Looking for a utility, I can't seem to do it in runesmith...
« Reply #5 on: July 24, 2011, 12:59:39 pm »

Fun glitch of the ressurrection tools I guess.   Hmm maybe I can use the heal in DFusion for them to get the rest of their limbs back... how would I make it into a hurt/kill command?

Shaostoul

  • Bay Watcher
  • Expanding your universe.
    • View Profile
    • Shaostoul Patreon
Re: Looking for a utility, I can't seem to do it in runesmith...
« Reply #6 on: July 24, 2011, 02:03:18 pm »

Dwarves don't need heads like that chicken didn't need a head. You just need to force booze down their throat opening! XD

IIRC there was a series of stuff to click on Runesmith to revive a dwarf properly with everything intact.
Logged
I mod games and educate others how to do so as well, if you'd like to learn join my Discord and you can join a bunch of like minded individuals. (Presently modding Space Engineers and No Man's Sky.)

Looking into modding DF? This forum guide & wiki guide may still be a good start!

Rumrusher

  • Bay Watcher
  • current project : searching...
    • View Profile
Re: Looking for a utility, I can't seem to do it in runesmith...
« Reply #7 on: July 24, 2011, 03:27:20 pm »

you might want to fiddle around with the bleed and blood levels also
Code: [Select]
function adv_tools.Hurtselected() --found out that this does not really hurt creature but will give the user ability to disarm them if you remove(15) a limb from their bodies this will cause their clothes to fall off so find the hand and poof away gear.
    --repeat
myoff=offsets.getEx("AdvCreatureVec")
vector=engine.peek(myoff,ptr_vector)
indx=GetCreatureAtPos(getxyz())
if indx<0 then return end
--print(string.format("%x",vector:getval(indx)))
v2=engine.peek(vector:getval(indx),ptr_Creature.hurt1)
v3=engine.peek(vector:getval(indx),ptr_Creature.hurt2)
v3.type=DWORD
print("select body part 0=upperbody,1=lowerbody,2=head,3=right front leg,4=left front leg,5=")
r=io.stdin:read()
t=r*4
print("select infliction")
d=io.stdin:read()
v2:setval(t,d)
v3:setval(r,d) --remove zero-th limb or something... same with hurt2
end
here you go.
though this would just do is remove the limb and the creature clothing will just fall off but the weapons they hold will still be in their grasp.
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

Kaelem Gaen

  • Bay Watcher
  • And then it appeared the most terrifying creature
    • View Profile
Alright New Question
« Reply #8 on: July 31, 2011, 12:53:26 pm »

Is there a utility out there that can read which dwarf is related/romantically linked  to which other dwarf, kind of a dwarven love-life/Marriage chart.   It'd be nice to have a way to quickly check which dwarves will share a room/bed and which ones need a seperate domicle

Rumrusher

  • Bay Watcher
  • current project : searching...
    • View Profile
Re: Looking for a utility, I can't seem to do it in runesmith...
« Reply #9 on: July 31, 2011, 01:07:21 pm »

there is none.
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

The Master

  • Bay Watcher
  • A respectable sort of psychopath
    • View Profile
Re: Alright New Question
« Reply #10 on: July 31, 2011, 01:18:51 pm »

Is there a utility out there that can read which dwarf is related/romantically linked  to which other dwarf, kind of a dwarven love-life/Marriage chart.   It'd be nice to have a way to quickly check which dwarves will share a room/bed and which ones need a seperate domicle
I believe that the romance and marriage kind of things are currently hard codded.
Logged
Holy jesus I thought I was ready but nothing could have prepared me for this
Hush, little Asea, don't you cry.
If he notices we'll surely die!
You. Made. Asea. CRY.

Kaelem Gaen

  • Bay Watcher
  • And then it appeared the most terrifying creature
    • View Profile
Re: Looking for a utility, I can't seem to do it in runesmith...
« Reply #11 on: July 31, 2011, 01:24:10 pm »

Ah so no way to actively view the relationships outside the game?  At least at a quick glance   Just want to know what dwarves are married, so I can cut down on how many beds I need to make

The Master

  • Bay Watcher
  • A respectable sort of psychopath
    • View Profile
Re: Looking for a utility, I can't seem to do it in runesmith...
« Reply #12 on: July 31, 2011, 01:25:30 pm »

Ah so no way to actively view the relationships outside the game?  At least at a quick glance   Just want to know what dwarves are married, so I can cut down on how many beds I need to make
I'm no expert, so I couldn't say there's NO way to do that.
Logged
Holy jesus I thought I was ready but nothing could have prepared me for this
Hush, little Asea, don't you cry.
If he notices we'll surely die!
You. Made. Asea. CRY.

Rumrusher

  • Bay Watcher
  • current project : searching...
    • View Profile
Re: Looking for a utility, I can't seem to do it in runesmith...
« Reply #13 on: August 01, 2011, 05:42:09 pm »

Ah so no way to actively view the relationships outside the game?  At least at a quick glance   Just want to know what dwarves are married, so I can cut down on how many beds I need to make
I'm no expert, so I couldn't say there's NO way to do that.
well someone could find a way to poke into the creatures data and find their relationship id then have it print out who in love with who.
though I guess if you do that then you could mess with it as well.
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