• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Making a change to corpsemode

Pieter Boelen

Navigation Officer
Administrator
Storm Modder
Hearts of Oak Donator
I'm trying to make it so that if you loot a lootable corpse, the corpse doesn't disappear, but sticks around. However, the corpse should no longer obstruct walking. I did manage to make the corpse stick around after looting, but for some reason I can't get the ruddy dead characters to log off to prevent them from obstructing the walking. I really don't understand why this isn't working. <img src="style_emoticons/<#EMO_DIR#>/wacko.gif" style="vertical-align:middle" emoid=":wacko:" border="0" alt="wacko.gif" />
 
Just a helper...

Somewhere you need to 'kill' that corpse once it's looted. This may already be happening, as the corpse disappears, theoretically through the same function that created it. SO...

Try adding to the top of that LAi_Character_Dead_Event function in lai_events.c AFTER all the other DissolveBody statements:

if(chr.name == XI_ConvertString("The late")) DissolveBody = false;

This will make it log the lootable corpse off... not disolve it.

if that doesnt work... oh well <img src="style_emoticons/<#EMO_DIR#>/wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> I don't know.
 
Thanks IncredibleHat. I'll give it a try. <img src="style_emoticons/<#EMO_DIR#>/yes.gif" style="vertical-align:middle" emoid=":yes" border="0" alt="yes.gif" />
 
Back
Top