CynicalSyllables Posted January 18, 2021 Share Posted January 18, 2021 Hi guys, I want to make a mod that lets you return Madison Li to the Institute if you became enemies with the BOS after completing "From Within." I tried messing around with the console to see if I could fix her with it, but while I was able to fix her factions and move her back, she just stood in place and would not talk. I'm pretty sure all I need to do is reset/fix a couple of scripts on her, but I don't even how to use the creation kit to find them! I've made a couple of tiny mods before but I've relied on figuring out which scripts I need to edit using the wiki, which is not very helpful in this case. If anybody knows how to do something like this, any help would be appreciated. Or, if you know a mod that already lets you do this, that works too. Link to comment Share on other sites More sharing options...
pepperman35 Posted January 18, 2021 Share Posted January 18, 2021 1. I'd start by extracting all the Fo4 archive file (*ba2) onto a separate drive/folder if possible. From there you can look at the various scripts/source code, modle, textures, etc and see if you can find what you are looking for script wise. Link to comment Share on other sites More sharing options...
LarannKiar Posted February 8, 2021 Share Posted February 8, 2021 (edited) Something like this: Create a Quest. Add a Quest Script like this: Quest Property BoSKickOut Auto Const Actor Property MadisonLi Auto Const Faction Property InstituteFaction Auto Const Faction Property BoSFaction Auto Const ObjectReference Property MarkerInTheInstitute Auto Const Event OnQuestInit() If !BoSKickOut.GetStageDone(20) || !BoSKickOut.GetStageDone(30) RegisterForRemoteEvent(BoSKickOut, "OnStageSet") Else Li() EndIf EndEvent Event Quest.OnStageSet(Quest akSender, int auiStageID, int auiItemID) If (akSender == BoSKickOut) && (auiStageID == 20) UnRegisterForRemoteEvent(BoSKickOut, "OnStageSet") Li() EndIf If (akSender == BoSKickOut) && (auiStageID == 30) UnRegisterForRemoteEvent(BoSKickOut, "OnStageSet") Li() EndIf EndEvent Function Li() MadisonLi.MoveTo(MarkerInTheInstitute) MadisonLi.RemoveFromFaction(BosFaction) MadisonLi.AddToFaction(InstituteFaction) EndFunction Then you can create a Sandbox Package for her or use the vanilla ones. For the dialogues lines you should check the DialogueInstitute, Inst301Post, Inst303Post, Inst305Post quests. Edited February 8, 2021 by LarannKiar Link to comment Share on other sites More sharing options...
CynicalSyllables Posted August 2, 2021 Author Share Posted August 2, 2021 Know I'm months late, but thanks for the help! Link to comment Share on other sites More sharing options...
Recommended Posts