Jump to content

Support with a little script


shockwave171

Recommended Posts

Hi, I was editing the ultimatum quests in vanilla (Beware the Wrath of Caesar and Don't Tread on the Bear) to delay th effects of the quests, so you need to make more quests to the opposite side so they turn against you, the original script is here:

 

scn VMQCaesarFailScript

 

int iObjTrack ; Tracking the number of fail states from other quests

float fTimer ; Timer so objective doesn't display right after completing a quest

 

; The following variables track the quest objectives to make sure they are "done" once

int bHouse3

int bHouse4

int bVMQ05a

int bVMQ05b

int bYesMan01

int bYesMan02

 

begin GameMode

if fTimer > 0

set fTimer to GetSecondsPassed + fTimer

endif

if (VDialogueMrHouse.BoomerQuest == 3 && bHouse3 == 0) ; House Boomer Quest

set bHouse3 to 1

set iObjTrack to iObjTrack +1

set fTimer to .05

elseif (VDialogueMrHouse.OmertaQuest == 3 && bHouse4 == 0) ; House Omerta Quest

set bHouse4 to 1

set iObjTrack to iObjTrack +1

set fTimer to .05

elseif ((GetObjectiveCompleted VMQ05 25 || GetObjectiveCompleted VMQ05 26) && bVMQ05a == 0) ; NCR Khan Quest

set bVMQ05a to 1

set iObjTrack to iObjTrack +1

set fTimer to .05

elseif ((GetObjectiveCompleted VMQ05 35 || GetObjectiveCompleted VMQ05 36) && bVMQ05b == 0) ; NCR Omerta Quest

set bVMQ05b to 1

set iObjTrack to iObjTrack +1

set fTimer to .05

elseif GetQuestCompleted VMQYesMan01 && (bYesMan01 == 0)

set bYesMan01 to 1

set iObjTrack to iObjTrack +1

set fTimer to .05

elseif GetQuestCompleted VMQYesMan02 && (bYesMan02 == 0)

set bYesMan02 to 1

set iObjTrack to iObjTrack +1

set fTimer to .05

endif

if GetReputationThreshold RepNVCaesarsLegion 2 == 6 && player.getitemcount vMarkOfCaesar > 0 && iObjTrack < 3

set VMQCaesarFail.iObjTrack to 3

set VMQCaesarFail.ftimer to .5

endif

if iObjTrack == 1 && fTimer >= 1 && GetObjectiveDisplayed VMQCaesarFail 5 == 0

setObjectiveDisplayed VMQCaesarFail 5 1

setStage VMQCaesarFail 1

set fTimer to 0

elseif iObjTrack > 1 && fTimer >= 1 <<I think changing the iObjTrack condition here from 1 to like 4 or 5 will work

setObjectiveCompleted VMQCaesarFail 5 1

setobjectiveDisplayed VMQCaesarFail 10 1

setObjectiveCompleted VMQCaesarFail 10 1

set fTimer to 0

setstage VMQCaesarFail 5

endif

end

 

So any ideas? Will that work?

Edited by shockwave171
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...