Repair the Still in the Dark Chain via Geck

Post » Sat Feb 19, 2011 9:13 am

So i am trying to repair this chain much like hexagon did with the patch for put a spell on you (VMS08)

The quest is VMS55 in the geck, but for some reason, it has no conversation or dialogues involved with it like vms08 did. So I went to hardin and mcnamaras scripts.

Hardin:
scn HVHardinScriptint TalkedToPlayer						; 0 = Didn't talk												; 1 = Waiting to talk												; 2 = Talked to player about McNamaraint InitialLinePlayed						; 0 = Hasn't played yet												; 1 = Player approached Elder, line saidint PlayerListened							; 0 = Player hasn't heard Hardin's proposal												; 1 = Player heardint BecomeElderOnce					; 0 = Haven't become Elder yet												; 1 = Became Eldershort bTalking;float DaySucceeded						; Tracks what day Hardin got his evidencefloat DaysSinceAssumingElder		; Tracks how many days passed since Hardin												; got everything he needed to oust McNamararef rHardin;------------------------------------------------------------------------------------------------------------------------------------------begin OnActivate	if IsActionRef player && bTalking == 0		if TalkedToPlayer < 2 && GetDead == 0 && player.IsSneaking == 0			StartConversation player HVHardinSoundsPlayerOut		else			Activate		endif	endifend;------------------------------------------------------------------------------------------------------------------------------------------begin OnDeath	; If Hardin is killed, hide the objectives to report things to him	if GetQuestCompleted VMS55 == 0		SetObjectiveDisplayed VMS55 50 0		SetObjectiveDisplayed VMS55 51 0		SetObjectiveDisplayed VMS55 52 0		SetObjectiveDisplayed VMS55 53 0		SetObjectiveDisplayed VMS55 54 0		SetObjectiveDisplayed VMS55 55 0		SetObjectiveDisplayed VMS55 60 0		SetObjectiveDisplayed VMS55 61 0	endif	; Fail Hardin's quest to join the Brotherhood	if GetQuestCompleted VMS55a == 0		SetStage VMS55a 200	endifend;------------------------------------------------------------------------------------------------------------------------------------------begin OnLoad	Unequipitem ArmorPowerT51bHelmet 1 1				; Makes actor unequip power armor helm, and not show a message	Unequipitem WeapGatlingLaser 1 1						; Makes actor unequip power armor helm, and not show a message	set DaysSinceAssumingElder to GameDaysPassed - DaySucceeded	; If Hardin becomes Elder, give him the robe and stuff the next time he loads	if BecomeElderOnce == 0 && DaysSinceAssumingElder >= 3.0		if GetObjectiveCompleted VMS55 50 == 1			RemoveItem ArmorPowerBrotherhoodOfSteelT51b 1			RemoveItem ArmorPowerT51bHelmet 1			AddItem OutfitElderMcNamara 1			EquipItem OutfitElderMcNamara 1			; Change around the self-destruct keycards as well			if NolanMcNamaraREF.GetItemCount HVSelfDestructKeyCard01 == 1				NolanMcNamaraREF.RemoveItem HVSelfDestructKeyCard01 1				EdgarHardinREF.AddItem HVSelfDestructKeyCard01 1			endif			if EdgarHardinREF.GetItemCount HVSelfDestructKeyCard03 == 1				EdgarHardinREF.RemoveItem HVSelfDestructKeyCard03 1				RamosREF.AddItem HVSelfDestructKeyCard03 1			endif			; Update Hardin, McNamara, and Ramos's names			EdgarHardinREF.SetActorFullName HVElderHardinMsg			NolanMcNamaraREF.SetActorFullName HVKnightMcNamaraMsg			RamosREF.SetActorFullName HVHeadPaladinRamosMsg			; set var so Hardin uses the Elder's desk (McNamara's taken care of in his own script)			set VDialogueHiddenValley.CurrentElder to 1			NolanMcNamaraREF.evp			evp			set BecomeElderOnce to 1		endif	endifend


Now I am wondering in there, there is a flag for hardin's death to kill his objectives and remove his flag to become elder. So if you are stuck in the three day waiting loop, could you just kill hardin, then resurrect him via console to break the loop and let mcnamara stay as elder?

What if you wanted hardin to succeed?

Here is mcnamara's script.
ScriptName NolanMcNamaraSCRIPTint SpeechDone									; 0 = Not done, 1 = Doneint AcceptanceDone								; 0 = Not done, 1 = Doneint StoppedBeingElderOnce						; 0 = Hasn't stopped being Elder														; 1 = Stopped being Elder; Player can't talk to him while he's in a conversation with an NPC.short bTalking;float DaysSinceLosingElder			; Tracks how many days passed since Hardin												; got everything he needed to oust McNamara;------------------------------------------------------------------------------------------------------------------------------BEGIN OnActivate	if (bTalking == 0)		Activate;	endifEND;------------------------------------------------------------------------------------------------------------------------------begin OnLoad	set DaysSinceLosingElder to GameDaysPassed - EdgarHardinREF.DaySucceeded	; If Hardin becomes Elder, take away his robe and make him stop sitting at the desk	if StoppedBeingElderOnce == 0 && DaysSinceLosingElder >= 3.0		if GetObjectiveCompleted VMS55 50 == 1			RemoveItem OutfitElderMcNamara 1			AddItem CondReconArmor 1			EquipItem CondReconArmor 1			; Might want to move him, too			NolanMcNamaraREF.MoveTo HVLabMarker			evp			set StoppedBeingElderOnce to 1		endif	endif	; Once the player finishes McNamara's quest line, lift the lockdown the next	; time he loads	if VDialogueHiddenValley.LockdownLifted == 0		if GetStage VMS55 == 100			set VDialogueHiddenValley.LockdownLifted to 1		endif	endifend;------------------------------------------------------------------------------------------------------------------------------begin OnDeath	if GetStage VMS55 < 100		SetStage VMS55 200	endif	; Veronica's quest fails.	if (GetQuestCompleted VMS49 == 0)		SetStage VMS49 255;	endifend

User avatar
Claire Mclaughlin
 
Posts: 3361
Joined: Mon Jul 31, 2006 6:55 am

Post » Fri Feb 18, 2011 7:18 pm

hrmmm

Killing hardin didnt work, nor mcnamara. Nor did a resetquest 0015d79d. Had me redo all the missions real fast, still stuck at the "see me in a few days" bit....


VERY FRUSTRATING!

I cant get my power armor without this fixed....
User avatar
Emerald Dreams
 
Posts: 3376
Joined: Sun Jan 07, 2007 2:52 pm


Return to Fallout: New Vegas