Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Mod to destroy ghosts?  (Read 1687 times)

BossChase

  • Bay Watcher
    • View Profile
Mod to destroy ghosts?
« on: June 11, 2011, 01:04:29 am »

I used the df hack tool to get rid of everything I had marked to dump... So now I have about 6 ghosts that I no longer have bodies for lol. Any way to get ride of them... Or at least make them happy haha
Logged

Wirevix

  • Bay Watcher
  • Hammered Elf Sympathizer
    • View Profile
Re: Mod to destroy ghosts?
« Reply #1 on: June 11, 2011, 01:05:56 am »

Memorials using engraved slabs will also put ghosts to rest, in case the body is destroyed or unaccessable.
Logged
In other news, the trees in my game can have invisible sex.

BossChase

  • Bay Watcher
    • View Profile
Re: Mod to destroy ghosts?
« Reply #2 on: June 11, 2011, 02:12:03 am »

Sweet!
Logged

Lolzwheejars

  • Bay Watcher
  • [PET_EXOTIC]
    • View Profile
Re: Mod to destroy ghosts?
« Reply #3 on: June 27, 2011, 06:39:45 pm »

Necro? Anyways. Is there a way to completely remove ghosts? I,e. Editing them out of the RAWS?
Logged

IT 000

  • Bay Watcher
  • Strange Mood
    • View Profile
Re: Mod to destroy ghosts?
« Reply #4 on: June 27, 2011, 07:29:03 pm »

No, ghosts are hardcoded.
Logged

***CORROSION v2.14***
<<<More Than Just Zombies>>>
Back from the Dead!

Rumrusher

  • Bay Watcher
  • current project : searching...
    • View Profile
Re: Mod to destroy ghosts?
« Reply #5 on: June 27, 2011, 09:07:09 pm »

[no undead] tage should work, or just use Runesmith or dfusion.
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

Lolzwheejars

  • Bay Watcher
  • [PET_EXOTIC]
    • View Profile
Re: Mod to destroy ghosts?
« Reply #6 on: June 27, 2011, 10:27:25 pm »

[no undead] tage should work, or just use Runesmith or dfusion.

What do you mean?
Logged

Rumrusher

  • Bay Watcher
  • current project : searching...
    • View Profile
Re: Mod to destroy ghosts?
« Reply #7 on: June 27, 2011, 10:37:56 pm »

Ghost are just creatures with a ghost flag turn on. You could just find them and either remove them(there a flag in runesmith that tags them for removal and deletes the creature) from the game thus destroying them, or revive them and remove the ghost flag(using ADv_tools and the pointer you can do this) which will allow you enough time to make a casket/slab for their next death.
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

Lolzwheejars

  • Bay Watcher
  • [PET_EXOTIC]
    • View Profile
Re: Mod to destroy ghosts?
« Reply #8 on: June 28, 2011, 02:02:37 am »

Ghost are just creatures with a ghost flag turn on. You could just find them and either remove them(there a flag in runesmith that tags them for removal and deletes the creature) from the game thus destroying them, or revive them and remove the ghost flag(using ADv_tools and the pointer you can do this) which will allow you enough time to make a casket/slab for their next death.

Oohh. Thanks. Derp derp xD Couldn't you also you DFhack's autodump to collect the corpse and then bury it?
Logged

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: Mod to destroy ghosts?
« Reply #9 on: June 30, 2011, 08:02:05 pm »

Oohh. Thanks. Derp derp xD Couldn't you also you DFhack's autodump to collect the corpse and then bury it?
If the corpse is recoverable, I don't see why not :)

Lolzwheejars

  • Bay Watcher
  • [PET_EXOTIC]
    • View Profile
Re: Mod to destroy ghosts?
« Reply #10 on: July 01, 2011, 09:29:05 am »

Oohh. Thanks. Derp derp xD Couldn't you also you DFhack's autodump to collect the corpse and then bury it?
If the corpse is recoverable, I don't see why not :)

It works. Yay. Just wish everyone would stop dying and actually fight the zombies >.<
Logged

Rumrusher

  • Bay Watcher
  • current project : searching...
    • View Profile
Re: Mod to destroy ghosts?
« Reply #11 on: July 01, 2011, 10:23:19 am »

Oohh. Thanks. Derp derp xD Couldn't you also you DFhack's autodump to collect the corpse and then bury it?
If the corpse is recoverable, I don't see why not :)

It works. Yay. Just wish everyone would stop dying and actually fight the zombies >.<
more FUN is to pick up my modify version of Daruis zombie command and have them come back as zombies.
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

Lolzwheejars

  • Bay Watcher
  • [PET_EXOTIC]
    • View Profile
Re: Mod to destroy ghosts?
« Reply #12 on: July 01, 2011, 03:26:54 pm »

Oohh. Thanks. Derp derp xD Couldn't you also you DFhack's autodump to collect the corpse and then bury it?
If the corpse is recoverable, I don't see why not :)

It works. Yay. Just wish everyone would stop dying and actually fight the zombies >.<
more FUN is to pick up my modify version of Daruis zombie command and have them come back as zombies.

But... Then ghosts... And... Hell nawh xD I'll have enough problems with that when the next version comes out.
Logged

Rumrusher

  • Bay Watcher
  • current project : searching...
    • View Profile
Re: Mod to destroy ghosts?
« Reply #13 on: July 01, 2011, 06:19:11 pm »

Oohh. Thanks. Derp derp xD Couldn't you also you DFhack's autodump to collect the corpse and then bury it?
If the corpse is recoverable, I don't see why not :)

It works. Yay. Just wish everyone would stop dying and actually fight the zombies >.<
more FUN is to pick up my modify version of Daruis zombie command and have them come back as zombies.

But... Then ghosts... And... Hell nawh xD I'll have enough problems with that when the next version comes out.
well you could use this command
Code: [Select]
function selectdead()
  local retvec={} --return vector (or a list)
  myoff=offsets.getEx("AdvCreatureVec")
  vector=engine.peek(myoff,ptr_vector) --standart start
  for i=0,vector:size()-1 do --check all creatures
     local off
     off=vector:getval(i)
     local flags=engine.peek(off,ptr_Creature.flags)
     if flags:get(1)==true then  --if dead ...
        table.insert(retvec,off)--... add it to return vector
     end
  end
  return retvec --return the "return vector" :)
end
function adv_tools.deadwarp()
myoff=offsets.getEx("AdvCreatureVec")
vector=engine.peek(myoff,ptr_vector)
local tx,ty,tz
local trgs=selectdead()
for k,v in pairs(trgs) do
tx,ty,tz=getxyz()
print("Warp to coords:"..tx.." "..ty.." "..tz)
engine.poke(v,ptr_Creature.x,tx)
engine.poke(v,ptr_Creature.y,ty)
engine.poke(v,ptr_Creature.z,tz)
end
end


adv_tools.menu:add("move souls",adv_tools.deadwarp)
to place the souls of the dead in one spot and raise them back as the undead. best for if you want a zombie pit bad for if you want your dwarves not flipping out and being emotional over their undead grandpappy being pincushion.
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