Wow, I hate to resurrect this thread when it was so close to having a birthday, but I was wondering if there was a simple "fix" (subjective term) that would prevent all these Dark Jedi from dropping their lightsabers as loot.
Definitely love the mod!!! Sorry it took me so long to try it...I've been taking a TSL break :D
EDIT: I remembered that there had been another thread attached to this mod at one time. I was able to find it and was even able to locate a suggested fix (
http://www.lucasforums.com/showpost.php?p=1801048&postcount=41). I followed Stoffe-mkb-'s advice and it seems to work. Not sure what else it's going to affect as I only tested it with the (newly converted) dark jedi on Korriban.
Here's the code for anyone else that would like to use it. I've modded my game (not just this mod) so that only single sabers are used. Therefore, if you would like to expand this to include other types of lightsabers, you're going to need to add the code. I hope this helps.
//:: k_def_death01
/*
Default On Death Script
*/
//:: Created By: Preston Watamaniuk
//:: Copyright (c) 2002 Bioware Corp.
#include "k_inc_switch"
#include "k_inc_debug"
void main()
{
//CH: Added this code to remove lightsabers from Sith corpses
//when using Prime's Dark Jedi Conversion Mod. Checks for a
//lightsaber in the right hand and then destroys it if it finds one.
object oLSabre = GetItemInSlot(INVENTORY_SLOT_RIGHTWEAPON);
if (GetIsObjectValid(oLSabre) && (GetBaseItemType(oLSabre) == 8)) {
DestroyObject(oLSabre);
}
ExecuteScript("k_ai_master", OBJECT_SELF, KOTOR_DEFAULT_EVENT_ON_DEATH);
/*
if(!GN_GetSpawnInCondition(SW_FLAG_AI_OFF))
{
SpeakString("GEN_I_AM_DEAD", TALKVOLUME_SILENT_TALK);
//Shout Attack my target, only works with the On Spawn In setup
SpeakString("GEN_ATTACK_MY_TARGET", TALKVOLUME_SILENT_TALK);
}
if(GN_GetSpawnInCondition(SW_FLAG_EVENT_ON_DEATH))
{
SignalEvent(OBJECT_SELF, EventUserDefined(1007));
}
*/
}
And speaking of stoffe-mkb-: I would not recommend using her AI tweaks with this. Unless, of course, you intend to take some of the force powers out of the lib.nss file included in this mod. Talk about getting owned!! :D