Thread: Naked Corpses
View Single Post
  #3  
Old 09-30-2006, 06:42 PM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

You guys ever look into this? My system is not in a state to compile atm... kinda blew stuff up again. Sigh. Working on a linux server to get this out of Winblows XP.

Anyway, I was poking around the source one day and saw in attack.cpp, where the player dies it calls to make a new Corpse. In that class (forgive if that's not the right term), there is a routine MoveItemsToCorpse or something. Above that, I believe it's checking that entry in variables table. With this info, is it possible to add another check that if the var = 2, kill the player, leave his corpse, but don't strip him? If that's what you're after...

Check it out. If you don't get to it, I'll have a look if I ever get a dev env setup again.
Reply With Quote