L0rdReV@n88 Posted December 23, 2005 Share Posted December 23, 2005 i have this awsome double saber from oldflash and was wondering if it is possible to turn it into a single lightsbr hilt with one beam, i.e. like in the first movie when Maul attacks Qui-gon for the first time and turn it into a one handed weapon can you help. this is not a request its a question Link to comment Share on other sites More sharing options...
oldflash Posted December 23, 2005 Share Posted December 23, 2005 It's done. http://www.pcgamemods.com/mod/17162.html Link to comment Share on other sites More sharing options...
L0rdReV@n88 Posted December 23, 2005 Author Share Posted December 23, 2005 oldflash thats what im asking for but for kotor2 i need to find out how to do it for kotor 1 sorry Link to comment Share on other sites More sharing options...
oldflash Posted December 23, 2005 Share Posted December 23, 2005 oldflash thats what im asking for but for kotor2 i need to find out how to do it for kotor 1 sorry Oh, source code is included. //:: k_hen_attacked01 /* Default On Attacked Script */ //:: Created By: Preston Watamaniuk //:: Copyright (c) 2002 Bioware Corp. #include "k_inc_switch" #include "k_inc_debug" void main() { object oTarget = GetFirstPC(); object oOlditem4 = GetItemInSlot(4,oTarget); if (((GetLastCombatFeatUsed(oTarget) == 8) || (GetLastCombatFeatUsed(oTarget)==19) || (GetLastCombatFeatUsed(oTarget)==81)) && ((GetStringUpperCase(GetTag(GetItemInSlot(4,oTarget)))=="G_W_LGHTSBR01") || (GetStringUpperCase(GetTag(GetItemInSlot(4,oTarget)))=="G_W_DBLSBR001"))) { ClearAllActions(); CancelCombat(GetFirstPC()); if ((GetStringUpperCase(GetTag(GetItemInSlot(4,oTarget)))=="G_W_DBLSBR001")) { object oNew= CreateItemOnObject("g_w_lghtsbr01",oTarget,1,0); SetItemStackSize( oNew, 1); AssignCommand(oTarget,ActionUnequipItem(oOlditem4)); DestroyObject(oOlditem4); AssignCommand(oTarget,ActionEquipItem(oNew,4,TRUE)); } else { object oNew= CreateItemOnObject("g_w_dblsbr001",oTarget,1,0); SetItemStackSize( oNew, 1); AssignCommand(oTarget,ActionUnequipItem(oOlditem4)); DestroyObject(oOlditem4); AssignCommand(oTarget,ActionEquipItem(oNew,4,TRUE)); } ActionAttack(GetLastAttacker(oTarget),TRUE); return; } ExecuteScript("k_ai_master", OBJECT_SELF, KOTOR_HENCH_EVENT_ON_ATTACKED); } Ask one programer if is possible to do that for k1. Link to comment Share on other sites More sharing options...
L0rdReV@n88 Posted December 23, 2005 Author Share Posted December 23, 2005 thanks for all your help oldflash your a lifesaver and thanks for the great models your letting me use Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.