parent
055101e9e5
commit
23f4c63c5e
32 changed files with 12 additions and 563 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 |
@ -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 |
@ -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 |
@ -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 |
@ -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…
Reference in new issue