Removed obsolete scripts
This commit is contained in:
parent
acad9fc22e
commit
132fd01acf
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,12 +0,0 @@
|
||||
Scriptname _00E_MQ08TriggerTempleScene extends ObjectReference
|
||||
|
||||
Event OnTriggerEnter(ObjectReference akActionRef)
|
||||
if MQ08_IntoTheDeep.GetStage() >= 75 && akActionRef == Game.GetPlayer()
|
||||
MQ08_IntoTheDeep.SetStage(90)
|
||||
MQ08_IntoTheDeep_SceneTempleOutside.Start()
|
||||
EndIf
|
||||
EndEvent
|
||||
|
||||
|
||||
Quest Property MQ08_IntoTheDeep Auto
|
||||
Scene Property MQ08_IntoTheDeep_SceneTempleOutside Auto
|
@ -1,18 +0,0 @@
|
||||
ScriptName _SAG_TIF__02002903 Extends TopicInfo hidden
|
||||
|
||||
;-- Variables ---------------------------------------
|
||||
|
||||
;-- Properties --------------------------------------
|
||||
ReferenceAlias Property Opponent Auto
|
||||
|
||||
;-- Functions ---------------------------------------
|
||||
|
||||
; Skipped compiler generated GetState
|
||||
|
||||
; Skipped compiler generated GotoState
|
||||
|
||||
Function Fragment_0(ObjectReference akSpeakerRef)
|
||||
Actor akSpeaker = akSpeakerRef as Actor
|
||||
Opponent.ForceRefTo(akSpeaker as ObjectReference)
|
||||
(Self.GetOwningQuest() as _sag_playcards_mainscript).OpenCardInterface()
|
||||
EndFunction
|
@ -1,115 +0,0 @@
|
||||
ScriptName PPNInventoryMonitor Extends ReferenceAlias
|
||||
|
||||
;-- Variables ---------------------------------------
|
||||
Int renamed_potions = 0
|
||||
Int user_config = 0
|
||||
|
||||
;-- Properties --------------------------------------
|
||||
FormList Property PPNExempted Auto
|
||||
|
||||
;-- Functions ---------------------------------------
|
||||
|
||||
; Skipped compiler generated GetState
|
||||
|
||||
; Skipped compiler generated GotoState
|
||||
|
||||
Function rename_potion(Potion it)
|
||||
String name = it.GetName()
|
||||
Int user = jmap.valueType(user_config, name)
|
||||
If user == 6
|
||||
name = jmap.getStr(user_config, name, "")
|
||||
it.SetName(name)
|
||||
jformmap.setStr(renamed_potions, it as Form, name)
|
||||
Return
|
||||
ElseIf user != 0
|
||||
Return
|
||||
EndIf
|
||||
If it.isFood() || it.GetNumEffects() < 2 || PPNExempted.Find(it as Form) >= 0
|
||||
Return
|
||||
EndIf
|
||||
Int exempted = jdb.solveObj(".ProperPotionNames.exempted", 0)
|
||||
If jformmap.hasKey(exempted, it as Form)
|
||||
Return
|
||||
EndIf
|
||||
name = jformmap.getStr(renamed_potions, it as Form, "")
|
||||
If name != ""
|
||||
Return
|
||||
EndIf
|
||||
Int parts = jvalue.retain(jarray.object(), "")
|
||||
Int i = it.GetNumEffects()
|
||||
While i > 0
|
||||
i -= 1
|
||||
name = it.GetNthEffectMagicEffect(i).GetName()
|
||||
Int len = stringutil.GetLength(name)
|
||||
If stringutil.GetNthChar(name, len - 1) == "*"
|
||||
name = stringutil.SubString(name, 0, len - 2)
|
||||
EndIf
|
||||
jarray.addStr(parts, name, -1)
|
||||
EndWhile
|
||||
name = ""
|
||||
i = jarray.count(parts)
|
||||
While i > 1
|
||||
i -= 1
|
||||
name += jarray.getStr(parts, i, "")
|
||||
If i == 1
|
||||
name += " & "
|
||||
Else
|
||||
name += ", "
|
||||
EndIf
|
||||
EndWhile
|
||||
name += jarray.getStr(parts, 0, "")
|
||||
If it.IsPoison()
|
||||
name += " (Poison)"
|
||||
Else
|
||||
name += " (Potion)"
|
||||
EndIf
|
||||
it.SetName(name)
|
||||
jformmap.setStr(renamed_potions, it as Form, name)
|
||||
jvalue.release(parts)
|
||||
EndFunction
|
||||
|
||||
Function initialize()
|
||||
Potion it
|
||||
Int exempted = jdb.solveObj(".ProperPotionNames.exempted", 0)
|
||||
If exempted == 0
|
||||
jdb.solveObjSetter(".ProperPotionNames.exempted", jformmap.object(), True)
|
||||
exempted = jdb.solveObj(".ProperPotionNames.exempted", 0)
|
||||
Debug.Trace("Proper Potion Names is exempting some well-known DLC and mod potions. Errors here are safe.", 0)
|
||||
it = Game.GetFormFromFile(102131, "Dawnguard.esm") as Potion
|
||||
If it != None
|
||||
jformmap.setInt(exempted, it as Form, 1)
|
||||
EndIf
|
||||
it = Game.GetFormFromFile(80157, "Dawnguard.esm") as Potion
|
||||
If it != None
|
||||
jformmap.setInt(exempted, it as Form, 1)
|
||||
EndIf
|
||||
it = Game.GetFormFromFile(88606, "Dawnguard.esm") as Potion
|
||||
If it != None
|
||||
jformmap.setInt(exempted, it as Form, 1)
|
||||
EndIf
|
||||
Debug.Trace("Proper Potion names is done filing exemptions.", 0)
|
||||
EndIf
|
||||
If PPNExempted == None
|
||||
PPNExempted = Game.GetFormFromFile(7561, "ProperPotionNames.esp") as FormList
|
||||
EndIf
|
||||
renamed_potions = jvalue.releaseAndRetain(renamed_potions, jformmap.object(), "ProperPotionNames")
|
||||
user_config = jvalue.releaseAndRetain(user_config, jvalue.readFromFile("ppnconfig.json"), "ProperPotionNames")
|
||||
Actor target = Self.GetActorRef()
|
||||
Int i = target.GetNumItems()
|
||||
While i > 0
|
||||
i -= 1
|
||||
it = target.GetNthForm(i) as Potion
|
||||
If it != None
|
||||
Self.rename_potion(it)
|
||||
EndIf
|
||||
EndWhile
|
||||
EndFunction
|
||||
|
||||
Event OnInit()
|
||||
Self.initialize()
|
||||
EndEvent
|
||||
|
||||
Event OnPlayerLoadGame()
|
||||
Debug.MessageBox((Self as PPNInventoryMonitor) as String)
|
||||
Self.initialize()
|
||||
EndEvent
|
@ -1,69 +0,0 @@
|
||||
ScriptName QF_NQ08_000C9364 Extends Quest hidden
|
||||
|
||||
;-- Variables ---------------------------------------
|
||||
|
||||
;-- Properties --------------------------------------
|
||||
ReferenceAlias Property Alias_Casket Auto
|
||||
ReferenceAlias Property Alias_ShrineXMarker Auto
|
||||
ReferenceAlias Property Alias_Sillas Auto
|
||||
ReferenceAlias Property Alias_TrigBox_StartQuest Auto
|
||||
|
||||
;-- Functions ---------------------------------------
|
||||
|
||||
; Skipped compiler generated GetState
|
||||
|
||||
; Skipped compiler generated GotoState
|
||||
|
||||
Function Fragment_7()
|
||||
Self.SetObjectiveCompleted(31, True)
|
||||
Self.SetObjectiveCompleted(30, True)
|
||||
Self.SetObjectiveDisplayed(35, True, False)
|
||||
EndFunction
|
||||
|
||||
Function Fragment_14()
|
||||
Self.SetObjectiveCompleted(30, True)
|
||||
Self.SetObjectiveDisplayed(31, True, False)
|
||||
EndFunction
|
||||
|
||||
Function Fragment_1()
|
||||
Quest __temp = Self as Quest
|
||||
_00e_nq08_functions kmyQuest = __temp as _00e_nq08_functions
|
||||
kmyQuest.StartCasketScene()
|
||||
Self.SetObjectiveDisplayed(10, True, False)
|
||||
EndFunction
|
||||
|
||||
Function Fragment_13()
|
||||
Self.SetObjectiveCompleted(20, True)
|
||||
Self.SetObjectiveDisplayed(25, True, False)
|
||||
EndFunction
|
||||
|
||||
Function Fragment_4()
|
||||
Alias_Sillas.GetActorReference().EvaluatePackage()
|
||||
EndFunction
|
||||
|
||||
Function Fragment_8()
|
||||
Self.SetObjectiveCompleted(35, True)
|
||||
Self.SetObjectiveDisplayed(40, True, False)
|
||||
EndFunction
|
||||
|
||||
Function Fragment_0()
|
||||
Quest __temp = Self as Quest
|
||||
_00e_nq08_functions kmyQuest = __temp as _00e_nq08_functions
|
||||
Alias_Sillas.GetActorReference().EvaluatePackage()
|
||||
EndFunction
|
||||
|
||||
Function Fragment_2()
|
||||
Self.SetObjectiveCompleted(10, True)
|
||||
Self.SetObjectiveDisplayed(20, True, False)
|
||||
EndFunction
|
||||
|
||||
Function Fragment_6()
|
||||
Self.SetObjectiveCompleted(25, True)
|
||||
Self.SetObjectiveDisplayed(30, True, False)
|
||||
Alias_Sillas.GetActorReference().EvaluatePackage()
|
||||
EndFunction
|
||||
|
||||
Function Fragment_10()
|
||||
Self.SetObjectiveCompleted(40, True)
|
||||
Self.SetObjectiveDisplayed(45, True, False)
|
||||
EndFunction
|
@ -1,42 +0,0 @@
|
||||
ScriptName SF__00E_MQ03_PathOfHopeScene_01007888 Extends Scene hidden
|
||||
|
||||
;-- Variables ---------------------------------------
|
||||
|
||||
;-- Properties --------------------------------------
|
||||
Sound Property Boom Auto
|
||||
ObjectReference Property DoorForOpening Auto
|
||||
Actor Property Konstantin Auto
|
||||
ObjectReference Property Steam Auto
|
||||
Explosion Property _00E_MQ03_KonstantinExplosionNoDamage Auto
|
||||
|
||||
;-- Functions ---------------------------------------
|
||||
|
||||
; Skipped compiler generated GetState
|
||||
|
||||
; Skipped compiler generated GotoState
|
||||
|
||||
Function Fragment_23()
|
||||
Game.DisablePlayerControls(True, True, True, True, False, True, True, False, 0)
|
||||
Game.SetPlayerAIDriven(True)
|
||||
EndFunction
|
||||
|
||||
Function Fragment_5()
|
||||
Konstantin.placeAtMe(_00E_MQ03_KonstantinExplosionNoDamage as Form, 1, False, False)
|
||||
Boom.play(Konstantin as ObjectReference)
|
||||
EndFunction
|
||||
|
||||
Function Fragment_33()
|
||||
Self.GetOwningQuest().SetStage(46)
|
||||
EndFunction
|
||||
|
||||
Function Fragment_19()
|
||||
Steam.enable(False)
|
||||
DoorForOpening.Lock(False, False)
|
||||
DoorForOpening.activate(Game.GetPlayer() as ObjectReference, False)
|
||||
EndFunction
|
||||
|
||||
Function Fragment_30()
|
||||
Game.EnablePlayerControls(True, True, True, True, True, True, True, True, 0)
|
||||
Game.SetPlayerAIDriven(False)
|
||||
Self.GetOwningQuest().SetStage(41)
|
||||
EndFunction
|
@ -1,32 +0,0 @@
|
||||
ScriptName SF__00E_NQ02_TempleThieveryS_01002452 Extends Scene hidden
|
||||
|
||||
;-- Variables ---------------------------------------
|
||||
|
||||
;-- Properties --------------------------------------
|
||||
Actor Property Camera Auto
|
||||
ObjectReference Property CameraActor Auto
|
||||
ObjectReference Property CameraActor2 Auto
|
||||
ObjectReference Property CameraMarker Auto
|
||||
ObjectReference Property CameraMarker3 Auto
|
||||
GlobalVariable Property CutsceneProperty Auto
|
||||
Actor Property Jael Auto
|
||||
Actor Property NewProperty Auto
|
||||
Actor Property Vildas Auto
|
||||
|
||||
;-- Functions ---------------------------------------
|
||||
|
||||
Function Fragment_28()
|
||||
; Empty function
|
||||
EndFunction
|
||||
|
||||
; Skipped compiler generated GetState
|
||||
|
||||
; Skipped compiler generated GotoState
|
||||
|
||||
Function Fragment_0()
|
||||
Debug.Notification("Cutscene läuft.")
|
||||
EndFunction
|
||||
|
||||
Function Fragment_43()
|
||||
CutsceneProperty.SetValue(0 as Float)
|
||||
EndFunction
|
Loading…
Reference in New Issue
Block a user