>>I'm interested into what script did you edit and what part of it did you remove. <<
open up the geck and REPLACE code to the ENTIRE script J3XVertibirdSolderKillcountScript as follows in your version of Enclave Commander:
----------------cut-----------------------
scn J3XVertibirdSolderKillcountScript
; Script stolen from TalkieToaster's RobCo Certified mod, kudos to him!
; This script makes also sure that the soldiers takes prisioners
; short xptotal
; short xpgain
; short level
begin scripteffectstart
;pms J3XVertibirdSoldierAIShader
end
BEGIN ScriptEffectUpdate
; experience and additem finger / ear coding removed
; Capture Script !
if J3XVertibirdAiQuest.Prisoners && (getav health < 50 || GetCurrentAIProcedure == 16) && IsSpellTarget J3XVertibirdCaptureSelfSpell != 1 && getdead == 0
;player.additem f 1
CIOS J3XVertibirdCaptureSelfSpell
endif
end
--------------------cut--------------------------
For some reason i was getting CTDs every time I fought the Enclave outside with Enclave Commander NPCs of any type. Other people reported the same problem with fighting ANY of the power armor people.
J3X mentioned in a very old post he might have thought "additem" was causing it under certain circumstances--a token(for Kill tracking) and ear or finger are added to the killed creature /person. With power armor victims, this may cause a reproducible CTD .
Removing the XP parts of the script seems to take care of it. Since it seems odd I get fingers and XP for what my men do(its THEIR kill), I do not mind this omission from the mod.
-------------------------------------------------
UPDATE
It seems pretty stable without this code, My squad can fight outside Enclave (and presumibly other power armor soldiers) and no CTDs. However, prisoners may be problematic (the same "additem" exists there as well) I can get consistant CTDs when releasing / confiscating belongings and on ocasion "move to prison marker" or execute.
Thanks a ton! I'll be bookmarking this to give it an exhaustive look in the future.
The prisoner things shouldn't be a problem. I've disabled the "take prisoners" option for now. I've been trying to find what was wrong with it, but haven't been able to spot any problems with it.
Maybe I'll just re-enable it with a warning...
But I digress. I thank you for your contribution to ze cauze!