4
Fork 0

Removed unused scripts

remove-levelsystem
Eddoursul 4 months ago
parent 055101e9e5
commit 23f4c63c5e
  1. BIN
      scripts/_00e_a0_banksystemdevactivator.pex
  2. BIN
      scripts/_00e_a3_mage_firespheresc.pex
  3. BIN
      scripts/_00e_bardsongtriggerscript.pex
  4. BIN
      scripts/_00e_fs_a3_mage_thaumaturgicshieldsc.pex
  5. BIN
      scripts/_00e_fs_a3_magepsioniccastsc.pex
  6. BIN
      scripts/_00e_fs_nqr01_pitfightersc.pex
  7. BIN
      scripts/_00e_mq03_konstantindisablefireme.pex
  8. BIN
      scripts/_00e_mq11c_gatefailsavesc.pex
  9. BIN
      scripts/_00e_mq12b_sc12_killtriggersc.pex
  10. BIN
      scripts/_00e_nq09_tombriddleactivatorscript.pex
  11. BIN
      scripts/_00e_nq_g_07_faintonhit.pex
  12. BIN
      scripts/_00e_posessionfxscript.pex
  13. BIN
      scripts/_00e_scenestartscript.pex
  14. BIN
      scripts/_00e_test_companionpanelsc.pex
  15. BIN
      scripts/_00e_test_script01.pex
  16. BIN
      scripts/_00e_testmagiceffect.pex
  17. 14
      source/scripts/_00e_a0_banksystemdevactivator.psc
  18. 56
      source/scripts/_00e_a3_mage_firespheresc.psc
  19. 3
      source/scripts/_00e_bardsongtriggerscript.psc
  20. 6
      source/scripts/_00e_fs_a3_mage_thaumaturgicshieldsc.psc
  21. 29
      source/scripts/_00e_fs_a3_magepsioniccastsc.psc
  22. 6
      source/scripts/_00e_fs_nqr01_pitfightersc.psc
  23. 3
      source/scripts/_00e_mq03_konstantindisablefireme.psc
  24. 44
      source/scripts/_00e_mq11c_gatefailsavesc.psc
  25. 2
      source/scripts/_00e_mq12b_sc12_killtriggersc.psc
  26. 165
      source/scripts/_00e_nq09_tombriddleactivatorscript.psc
  27. 9
      source/scripts/_00e_nq_g_07_faintonhit.psc
  28. 1
      source/scripts/_00e_posessionfxscript.psc
  29. 8
      source/scripts/_00e_scenestartscript.psc
  30. 144
      source/scripts/_00e_test_companionpanelsc.psc
  31. 53
      source/scripts/_00e_test_script01.psc
  32. 32
      source/scripts/_00e_testmagiceffect.psc

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -1,14 +0,0 @@
scriptName _00E_A0_BankSystemDevActivator extends ObjectReference
Quest Property BankQuest auto
EVENT onActivate (objectReference akActionRef)
game.shakeCamera(afStrength = 0.25, afDuration = 0.25)
utility.wait(0.65)
game.shakeCamera(afStrength = 0.5, afDuration = 0.5)
utility.wait(0.5)
(BankQuest as _00E_A0_BankSystemQuest).Call()
ENDevent

@ -1,56 +0,0 @@
Scriptname _00E_A3_Mage_FireSphereSC extends ObjectReference
Import _00E_TalentLibrary
;=====================================================================================
; EVENTS
;=====================================================================================
Event OnInit()
fFireExplosionDamage =
EndEvent
Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)
If (akAggressor as actor) && (Utility.RandomInt(1, 100) <= fThrowBackChance)
Debug.MessageBox("_00E_FS_A3_Mage_ThaumaturgicShieldSC Cool 2.")
akAttacker = akAggressor as Actor
If (akSource as Spell)
ReflectSpell(akSource as Spell)
Elseif (akSource.HasKeyword(WeapTypeBow))
ReflectArrow(akSource as Weapon)
EndIf
Endif
EndEvent
;=====================================================================================
; FUNCTIONS
;=====================================================================================
Function ReflectSpell(Spell spSpellToReflect)
EndFunction
Function ReflectArrow(Weapon wpBow)
EndFunction
;=====================================================================================
; PROPERTIES
;=====================================================================================
float fFireExplosionDamage
Spell Property _00E_FS_A3_Mage_FireSphereSP Auto

@ -12,7 +12,8 @@ if !Done && akActionRef == Game.GetPlayer()
If __Config_SameSong == False
__Config_SongIndex = Utility.RandomInt(0, _00E_MUS_Liliath_Songs.GetSize())
EndIf
BardDialogue.StartBardSong(__Config_SongIndex, SpectatorList, __Config_PerformanceStartMarker, __Config_CrowdMarker, __Config_BardActor)
;Non-existing function
;BardDialogue.StartBardSong(__Config_SongIndex, SpectatorList, __Config_PerformanceStartMarker, __Config_CrowdMarker, __Config_BardActor)
If !__Config_OnceOnly
InitializeResetTimer(__Config_GamedaysTillReset)
EndIf

@ -51,7 +51,9 @@ EndFunction
Actor akAttacker
float fThrowBackChance = 100
float fThrowBackChance = 100.0
; The likelihood that a spell will be reflected onto the caster
Spell Property _00E_FS_A3_Mage_ThaumaturgicShieldArrowSP Auto
Spell Property _00E_FS_A3_Mage_ThaumaturgicShieldArrowSP Auto
Keyword Property WeapTypeBow Auto

@ -1,29 +0,0 @@
Scriptname _00E_FS_A3_MagePsionicCastSC extends activemagiceffect
;=====================================================================================
; EVENTS
;=====================================================================================
Event OnEffectStart(Actor akTarget, Actor akCaster)
SetValues()
MAGShoutSprint03.Apply()
MAGShoutSprintFire.Play(PlayerREF)
bDashing = True
RegisterForSingleUpdate(fWaitTimer)
EndEvent
;=====================================================================================
; FUNCTIONS
;=====================================================================================
Function CalculateSpellStrength()
EndFunction
;=====================================================================================
; PROPERTIES
;=====================================================================================
Actor Property PlayerREF Auto

@ -5,9 +5,3 @@ Event OnInit()
Self.StartCombat(Self.GetLinkedRef() as Actor)
EndEvent
Event OnInit()
Self.StartCombat(Self.GetLinkedRef() as Actor)
EndEvent

@ -2,7 +2,8 @@ Scriptname _00E_MQ03_KonstantinDisableFireME extends activemagiceffect
Event OnEffectStart(Actor akTarget, Actor akCaster)
MQ03.StopFire()
;Non-existing function
;MQ03.StopFire()
EndEvent

@ -1,44 +0,0 @@
Scriptname _00E_MQ11c_GateFailsaveSC extends ObjectReference
;=====================================================================================
; EVENTS
;=====================================================================================
Event OnTriggerEnter(ObjectReference akActionRef)
If akActionRef == PlayerREF && !bDone
int MQ11cStage = MQ11c.GetStage()
If MQ11cStage < 70
_00E_MQ11c_SilvergroveCheatMSG.Show()
PlayerREF.MoveTo(MQ11c_SilvergroveGateWardenREF)
return
EndIf
If MQ11cStage < 90
MQ11c.SilvergroveTimeFailsave()
EndIf
If MQ11c_PlayerInSilvergroveRadius.GetValueInt() == 0
MQ11c_PlayerInSilvergroveRadius.SetValueInt(1)
If MQ11cStage < 80
MQ11c.GateUltimateFailsave()
EndIf
EndIf
bDone = true
EndIf
EndEvent
;=====================================================================================
; PROPERTIES
;=====================================================================================
bool bDone = false
Actor Property MQ11c_SilvergroveGateWardenREF Auto
Actor Property PlayerREF Auto
GlobalVariable Property MQ11c_PlayerInSilvergroveRadius Auto
Message Property _00E_MQ11c_SilvergroveCheatMSG Auto
_00E_MQ11c_Functions Property MQ11c Auto

@ -15,7 +15,7 @@ Event OnTriggerEnter(ObjectReference akActionRef)
return
endif
ActorBase ab = ac.GetActorBase()
if ab.IsGhost()
if ac.IsGhost()
if (ab == _00E_MQ12b_NehrimeseSoldierFacade) || (ab == _00E_MQ12b_NehrimeseSoldierFacadeArcher) || (ab == _00E_MQ12b_NehrimeseSoldier01) || (ab == _00E_MQ12b_NehrimeseSoldier02) || (ab == _00E_MQ12b_NehrimeseSoldier03) || (ab == _00E_MQ12b_NehrimeseSoldier04) || (ab == _00E_MQ12b_NehrimeseSoldier05)
ac.KillEssential()
endif

@ -1,165 +0,0 @@
Scriptname _00E_NQ09_TombRiddleActivatorScript extends ObjectReference
bool bBlockTranslation = false
int iCorrectValue = 0
bool bUpDown = true
Event onActivate(objectReference actronaut)
if ( bBlockTranslation == false)
if ( Self.GetBaseObject() == _00E_NQ09_TombRiddleActivator_01 )
MoveObject(_00E_NQ09_TombRiddleActivator_01ref, _00E_NQ09_TombRiddleActivator_01_MUPref, _00E_NQ09_TombRiddleActivator_01_MDOWNref, 1)
elseif ( Self.GetBaseObject() == _00E_NQ09_TombRiddleActivator_02 )
MoveObject(_00E_NQ09_TombRiddleActivator_02ref, _00E_NQ09_TombRiddleActivator_02_MUPref, _00E_NQ09_TombRiddleActivator_02_MDOWNref, 2)
elseif ( Self.GetBaseObject() == _00E_NQ09_TombRiddleActivator_03 )
MoveObject(_00E_NQ09_TombRiddleActivator_03ref, _00E_NQ09_TombRiddleActivator_03_MUPref, _00E_NQ09_TombRiddleActivator_03_MDOWNref, 3)
elseif ( Self.GetBaseObject() == _00E_NQ09_TombRiddleActivator_04 )
MoveObject(_00E_NQ09_TombRiddleActivator_04ref, _00E_NQ09_TombRiddleActivator_04_MUPref, _00E_NQ09_TombRiddleActivator_04_MDOWNref, 4)
elseif ( Self.GetBaseObject() == _00E_NQ09_TombRiddleActivator_05 )
MoveObject(_00E_NQ09_TombRiddleActivator_05ref, _00E_NQ09_TombRiddleActivator_05_MUPref, _00E_NQ09_TombRiddleActivator_05_MDOWNref, 5)
elseif ( Self.GetBaseObject() == _00E_NQ09_TombRiddleActivator_06 )
MoveObject(_00E_NQ09_TombRiddleActivator_06ref, _00E_NQ09_TombRiddleActivator_06_MUPref, _00E_NQ09_TombRiddleActivator_06_MDOWNref, 6)
elseif ( Self.GetBaseObject() == _00E_NQ09_TombRiddleActivator_07 )
MoveObject(_00E_NQ09_TombRiddleActivator_07ref, _00E_NQ09_TombRiddleActivator_07_MUPref, _00E_NQ09_TombRiddleActivator_07_MDOWNref, 7)
endif
endif
EndEvent
Event OnTranslationComplete()
bBlockTranslation = false;
int soundcont_MoveEnd = _00E_OBJDwemerGearsStuck.Play(Self)
CheckRiddle()
EndEvent
Function CheckRiddle()
;Solution
if ( NQ09Script.bCorrect == false )
if ( NQ09Script.iRight1 == 1 )
if ( NQ09Script.iRight2 == 0 )
if ( NQ09Script.iRight3 == 1 )
if ( NQ09Script.iRight4 == 1 )
if ( NQ09Script.iRight5 == 1 )
if ( NQ09Script.iRight6 == 0 )
if ( NQ09Script.iRight7 == 1 )
NQ09.SetStage(50)
NQ09Script.bCorrect = true
NQ09Script.OpenSecretPassage()
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
EndIf
Endif
Endfunction
Function MoveObject(ObjectReference Object, objectReference MarkerUP, objectReference MarkerDOWN, int Type)
; MOVE
if (bUpDown == true)
bUpDown = false
Object.TranslateToRef( MarkerUP, 0.05 )
else
bUpDown = true
Object.TranslateToRef( MarkerDOWN, 0.05 )
endif
if (bUpDown == false)
if ( Type == 1 )
;Debug.MessageBox("1")
NQ09Script.iRight1 = 1
elseif ( Type == 2 )
;Debug.MessageBox("2")
NQ09Script.iRight2 = 1
elseif( Type == 3 )
;Debug.MessageBox("3")
NQ09Script.iRight3 = 1
elseif ( Type == 4 )
;Debug.MessageBox("4")
NQ09Script.iRight4 = 1
elseif ( Type == 5 )
;Debug.MessageBox("5")
NQ09Script.iRight5 = 1
elseif( Type == 6 )
;Debug.MessageBox("6")
NQ09Script.iRight6 = 1
elseif( Type == 7 )
;Debug.MessageBox("7")
NQ09Script.iRight7 = 1
endif
elseif(bUpDown == true)
if ( Type == 1 )
NQ09Script.iRight1 = 0
elseif( Type == 2 )
NQ09Script.iRight2 = 0
elseif( Type == 3 )
NQ09Script.iRight3 = 0
elseif ( Type == 4 )
NQ09Script.iRight4 = 0
elseif( Type == 5 )
NQ09Script.iRight5 = 0
elseif( Type == 6 )
NQ09Script.iRight6 = 0
elseif( Type == 7 )
NQ09Script.iRight7 = 0
endif
endif
EndFunction
_00E_NQ09_Functions Property NQ09Script Auto ;ACCESS TO QUEST SCRIPT
Quest Property NQ09 auto
Sound Property _00E_OBJDwemerGearsStuck Auto
Activator Property _00E_NQ09_TombRiddleActivator_01 Auto
Activator Property _00E_NQ09_TombRiddleActivator_02 Auto
Activator Property _00E_NQ09_TombRiddleActivator_03 Auto
Activator Property _00E_NQ09_TombRiddleActivator_04 Auto
Activator Property _00E_NQ09_TombRiddleActivator_05 Auto
Activator Property _00E_NQ09_TombRiddleActivator_06 Auto
Activator Property _00E_NQ09_TombRiddleActivator_07 Auto
objectReference property _00E_NQ09_TombRiddleActivator_01ref auto
objectReference property _00E_NQ09_TombRiddleActivator_02ref auto
objectReference property _00E_NQ09_TombRiddleActivator_03ref auto
objectReference property _00E_NQ09_TombRiddleActivator_04ref auto
objectReference property _00E_NQ09_TombRiddleActivator_05ref auto
objectReference property _00E_NQ09_TombRiddleActivator_06ref auto
objectReference property _00E_NQ09_TombRiddleActivator_07ref auto
objectReference property _00E_NQ09_TombRiddleActivator_01_MUPref auto
objectReference property _00E_NQ09_TombRiddleActivator_02_MUPref auto
objectReference property _00E_NQ09_TombRiddleActivator_03_MUPref auto
objectReference property _00E_NQ09_TombRiddleActivator_04_MUPref auto
objectReference property _00E_NQ09_TombRiddleActivator_05_MUPref auto
objectReference property _00E_NQ09_TombRiddleActivator_06_MUPref auto
objectReference property _00E_NQ09_TombRiddleActivator_07_MUPref auto
objectReference property _00E_NQ09_TombRiddleActivator_01_MDOWNref auto
objectReference property _00E_NQ09_TombRiddleActivator_02_MDOWNref auto
objectReference property _00E_NQ09_TombRiddleActivator_03_MDOWNref auto
objectReference property _00E_NQ09_TombRiddleActivator_04_MDOWNref auto
objectReference property _00E_NQ09_TombRiddleActivator_05_MDOWNref auto
objectReference property _00E_NQ09_TombRiddleActivator_06_MDOWNref auto
objectReference property _00E_NQ09_TombRiddleActivator_07_MDOWNref auto

@ -1,9 +0,0 @@
Scriptname _00E_NQ_G_07_FaintOnHit extends activemagiceffect
Event OnEffectStart(Actor akTarget, Actor akCaster)
NQ_G_07.Faint(akTarget)
EndEvent
_00E_NQ_G_07_Functions Property NQ_G_07 Auto

@ -28,7 +28,6 @@ Sound Property _00E_VisionGlimpseWhisperM Auto
_00E_FXPosessedMaleEyeEffect.Play(selfRef, -1)
endif
endif
;if sex is female (currently not returned) play debug text to say this is now working
if myActorBase.GetSex() == 1
if (selfRef.GetSleepState() == 3)

@ -5,13 +5,13 @@ Scriptname _00E_SceneStartScript extends ObjectReference
;=====================================================================================
Event OnTrigger(ObjectReference akActionRef)
if(DoOnce == 0)
if(DoOnce == False)
if(QuestForScene.GetStage() == QueststageForStart)
Debug.Trace("Queststage ok")
if(akActionRef == Game.GetPlayer())
DoOnce = 1
DoOnce = True
StartScene.Start()
if StartScene.IsPlaying()
@ -27,12 +27,10 @@ endevent
; PROPERTIES
;=====================================================================================
bool Done
bool DoOnce
Scene Property StartScene Auto
Quest Property QuestForScene Auto
Int Property QueststageForStart Auto
{Which stage is necessary for the triggerbox to take effect?}
Actor Property TriggerActor = PlayerREF Auto
{Which actor shall trigger the scene to begin? Default: Player}

@ -1,144 +0,0 @@
Scriptname _00E_Test_CompanionPanelSC extends SKI_WidgetManager
float _scale = 1.0
int _maxEntries = 5
float _fadeInDuration = 250.0
float _fadeOutDuration = 750.0
float _moveDuration = 1000.0
float _removeDuration = 15000.0
string function GetWidgetSource()
return "skyui/followerpanel.swf"
endFunction
string function GetWidgetType()
return "EFFPanel"
endFunction
int function GetVersion()
return 1
endFunction
float property Scale
float function get()
return _scale
endFunction
function set(float a_val)
_scale = a_val
if (Ready)
UpdateWidgetScale()
endIf
endFunction
endProperty
int Property MaxEntries
int function get()
return _maxEntries
endFunction
function set(int a_val)
_maxEntries = a_val
if (Ready)
UpdateMaxEntries()
endIf
endFunction
endProperty
float property FadeInDuration
float function get()
return _fadeInDuration
endFunction
function set(float a_val)
_fadeInDuration = a_val
if (Ready)
UpdateFadeInDuration()
endIf
endFunction
endProperty
float property FadeOutDuration
float function get()
return _fadeOutDuration
endFunction
function set(float a_val)
_fadeOutDuration = a_val
if (Ready)
UpdateFadeOutDuration()
endIf
endFunction
endProperty
float property MoveDuration
float function get()
return _moveDuration
endFunction
function set(float a_val)
_moveDuration = a_val
if (Ready)
UpdateMoveDuration()
endIf
endFunction
endProperty
float property RemoveDuration
float function get()
return _removeDuration
endFunction
function set(float a_val)
_removeDuration = a_val
if (Ready)
UpdateRemoveDuration()
endIf
endFunction
endProperty
; @override SKI_WidgetBase
event OnWidgetReset()
parent.OnWidgetReset()
UpdateWidgetScale()
UpdateMaxEntries()
UpdateFadeInDuration()
UpdateFadeOutDuration()
UpdateMoveDuration()
UpdateRemoveDuration()
endEvent
Function UpdateWidgetScale()
UI.InvokeFloat(HUD_MENU, WidgetRoot + ".setScale", _scale * 100.0)
EndFunction
Function UpdateMaxEntries()
UI.InvokeInt(HUD_MENU, WidgetRoot + ".setEntryCount", _maxEntries)
EndFunction
Function UpdateFadeInDuration()
UI.InvokeFloat(HUD_MENU, WidgetRoot + ".setFadeInDuration", _fadeInDuration / 1000.0)
EndFunction
Function UpdateFadeOutDuration()
UI.InvokeFloat(HUD_MENU, WidgetRoot + ".setFadeOutDuration", _fadeOutDuration / 1000.0)
EndFunction
Function UpdateMoveDuration()
UI.InvokeFloat(HUD_MENU, WidgetRoot + ".setMoveDuration", _moveDuration / 1000.0)
EndFunction
Function UpdateRemoveDuration()
UI.InvokeFloat(HUD_MENU, WidgetRoot + ".setRemoveDuration", _removeDuration)
EndFunction
Function AddActors(Form aForm)
UI.InvokeForm(HUD_MENU, WidgetRoot + ".addPanelActors", aForm)
EndFunction
Function RemoveActors(Form aForm)
UI.InvokeForm(HUD_MENU, WidgetRoot + ".removePanelActors", aForm)
EndFunction

@ -1,53 +0,0 @@
Scriptname _00E_TEST_Script01 extends ObjectReference
Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked)
If (akAggressor as actor) && (Utility.RandomInt(1, 100) <= iThrowBackChance)
Debug.MessageBox("_00E_FS_A3_Mage_ThaumaturgicShieldSC Cool 2.")
akAttacker = akAggressor as Actor
akProjectile.Delete()
If (akSource as Spell)
ReflectSpell(akSource as Spell)
Elseif (akSource.HasKeyword(WeapTypeBow))
ReflectArrow(akSource as Weapon)
EndIf
Endif
EndEvent
;=====================================================================================
; FUNCTIONS
;=====================================================================================
Function ReflectSpell(Spell spSpellToReflect)
EndFunction
Function ReflectArrow(Weapon wpBow)
EndFunction
;=====================================================================================
; PROPERTIES
;=====================================================================================
Actor akAttacker
int iThrowBackChance = 100
; The likelihood that a spell will be reflected onto the caster
Spell Property _00E_FS_A3_Mage_ThaumaturgicShieldArrowSP Auto
Keyword Property WeapTypeBow Auto

@ -1,32 +0,0 @@
Scriptname _00E_TestMagicEffect extends activemagiceffect
Event OnEffectStart(Actor akTarget, Actor akCaster)
float fMagnitude = Self.GetMagnitude()
if getnum
if fMagnitude >= globalChymikumFireTolerance
; Poison effect
; Message, chymikum too potent, need better tolerance
Else
EndIf
EndEvent
;=====================================================================================
; FUNCTIONS
;=====================================================================================
;=====================================================================================
; PROPERTIES
;=====================================================================================
Loading…
Cancel
Save