4
Fork 0

Moved message refs from questfunctions

remove-levelsystem
Eddoursul 4 months ago
parent 3c1e9dc5a5
commit 759b95b557
  1. BIN
      Levelsystem message refs.esp
  2. BIN
      scripts/_00e_a1_devoursoulsc.pex
  3. BIN
      scripts/_00e_a1_qyraistancesc.pex
  4. BIN
      scripts/_00e_a1_skaraggstancesc.pex
  5. BIN
      scripts/_00e_a2_eldritchbloodplayersc.pex
  6. BIN
      scripts/_00e_a2_ghostwalksc.pex
  7. BIN
      scripts/_00e_a2_riftsc.pex
  8. BIN
      scripts/_00e_phasmalist_transmute.pex
  9. BIN
      scripts/_00e_questfunctions.pex
  10. 4
      source/scripts/_00e_a1_devoursoulsc.psc
  11. 8
      source/scripts/_00e_a1_qyraistancesc.psc
  12. 8
      source/scripts/_00e_a1_skaraggstancesc.psc
  13. 21
      source/scripts/_00e_a2_eldritchbloodplayersc.psc
  14. 21
      source/scripts/_00e_a2_ghostwalksc.psc
  15. 10
      source/scripts/_00e_a2_riftsc.psc
  16. 4
      source/scripts/_00e_phasmalist_transmute.psc
  17. 20
      source/scripts/_00e_questfunctions.psc

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -12,7 +12,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster)
(PlayerREF as _00E_Game_TalentControlSC).SetTalentRecoveryTime(_00E_A1_DevourSoul, 0)
Return
ElseIf !akTarget.IsDead()
Levelsystem._00E_Levelsystem_sEnemyHasToBeDead.Show()
_00E_Levelsystem_sEnemyHasToBeDead.Show()
(PlayerREF as _00E_Game_TalentControlSC).SetTalentRecoveryTime(_00E_A1_DevourSoul, 0)
Return
Else
@ -127,7 +127,7 @@ EndFunction
Actor Caster
Actor Target
_00E_QuestFunctions Property Levelsystem Auto
Message Property _00E_Levelsystem_sEnemyHasToBeDead Auto
Actor Property PlayerREF Auto

@ -17,7 +17,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster)
akCaster.RemoveSpell(_00E_A1_QyraiStanceDisplay03)
akCaster.RemovePerk(_00E_A1_QyranianStanceBlockPerk)
akCaster.RemovePerk(_00E_A1_QyranianStanceEnemyCritPerk)
Debug.Notification(Levelsystem._00E_Levelsystem_sAbilityStanceQyrai.GetName() + " " + Levelsystem._00E_Levelsystem_sAbilityStanceEnded.GetName())
Debug.Notification(_00E_Levelsystem_sAbilityStanceQyrai.GetName() + " " + _00E_Levelsystem_sAbilityStanceEnded.GetName())
_00E_DispelStance.Play(akCaster)
Else
@ -60,7 +60,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster)
NPCKillSwordSpinM.Play(akCaster)
GhostFXShader.Play(akCaster)
Debug.Notification(Levelsystem._00E_Levelsystem_sAbilityStanceQyrai.GetName() + " " + Levelsystem._00E_Levelsystem_sAbilityStanceStarted.GetName())
Debug.Notification(_00E_Levelsystem_sAbilityStanceQyrai.GetName() + " " + _00E_Levelsystem_sAbilityStanceStarted.GetName())
Utility.Wait(4)
GhostFXShader.Stop(akCaster)
@ -110,7 +110,9 @@ EndFunction
int iIndex
_00E_QuestFunctions Property Levelsystem Auto
Message Property _00E_Levelsystem_sAbilityStanceStarted Auto
Message Property _00E_Levelsystem_sAbilityStanceEnded Auto
Message Property _00E_Levelsystem_sAbilityStanceQyrai Auto
Actor Property PlayerREF Auto

@ -18,7 +18,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster)
akCaster.RemoveSpell(_00E_A1_SkaraggStanceDisplay02)
akCaster.RemoveSpell(_00E_A1_SkaraggStanceDisplay03)
Debug.Notification(Levelsystem._00E_Levelsystem_sAbilityStanceSkaragg.GetName() + " " + Levelsystem._00E_Levelsystem_sAbilityStanceEnded.GetName())
Debug.Notification(_00E_Levelsystem_sAbilityStanceSkaragg.GetName() + " " + _00E_Levelsystem_sAbilityStanceEnded.GetName())
_00E_DispelStance.Play(akCaster)
Else
@ -63,7 +63,7 @@ Event OnEffectStart(Actor akTarget, Actor akCaster)
_00E_A1_SkaraggStanceSound.Play(akCaster)
GhostRedFXShader.Play(akCaster)
Debug.Notification(Levelsystem._00E_Levelsystem_sAbilityStanceSkaragg.GetName() + " " + Levelsystem._00E_Levelsystem_sAbilityStanceStarted.GetName())
Debug.Notification(_00E_Levelsystem_sAbilityStanceSkaragg.GetName() + " " + _00E_Levelsystem_sAbilityStanceStarted.GetName())
Utility.Wait(4)
GhostRedFXShader.Stop(akCaster)
@ -94,7 +94,9 @@ EndFunction
int iIndex
_00E_QuestFunctions Property Levelsystem Auto
Message Property _00E_Levelsystem_sAbilityStanceStarted Auto
Message Property _00E_Levelsystem_sAbilityStanceEnded Auto
Message Property _00E_Levelsystem_sAbilityStanceSkaragg Auto
Perk Property _00E_A1_SkaraggStanceResistPerk Auto
Perk Property _00E_A1_SkaraggStanceDamagePerk Auto

@ -186,7 +186,7 @@ Function SelectEnemy(Actor iVictim)
MarkFrenzyTargetVictim(iVictim)
iFrezyAttackTargetMarked = True
Else
Levelsystem._00E_Levelsystem_sEnemyAlreadyMarked.Show()
_00E_Levelsystem_sEnemyAlreadyMarked.Show()
MAGFail.Play(PlayerREF)
EndIf
Else
@ -203,7 +203,7 @@ Function MarkFrenzyVictim(Actor iFrenzyVictim)
MarkingRuneREF = iFrenzyVictim.PlaceAtMe(_00E_A2_EldritchBloodMarkedRune, 1)
A2_EldritchBlood_Rune.ForceRefTo(MarkingRuneREF)
A2_EldritchBlood_Victim.ForceRefTo(iFrenzyVictim)
Levelsystem._00E_Levelsystem_sEldritchBloodVictimMarked.Show()
_00E_Levelsystem_sEldritchBloodVictimMarked.Show()
_00E_A2_EldritchBloodMarkedFXS.Play(iFrenzyVictim)
iFrenzyVictim.AddSpell(_00E_A2_EldritchBloodAbMarkedVictimSP)
_00E_A2_GhostwalkSelectM.Play(PlayerREF)
@ -215,7 +215,7 @@ Function MarkFrenzyTargetVictim(Actor iFrenzyTargetVictim)
MarkingVictimRuneREF = iFrenzyTargetVictim.PlaceAtMe(_00E_A2_EldritchBloodMarkedTargetRune, 1)
A2_EldritchBlood_VictimRune.ForceRefTo(MarkingVictimRuneREF)
A2_EldritchBlood_VictimTarget.ForceRefTo(iFrenzyTargetVictim)
Levelsystem._00E_Levelsystem_sEldritchBloodAttackTargetMarked.Show()
_00E_Levelsystem_sEldritchBloodAttackTargetMarked.Show()
_00E_A2_EldritchBloodMarkedVictimFXS.Play(iFrenzyTargetVictim)
iFrenzyTargetVictim.AddSpell(_00E_A2_EldritchBloodAbMarkedVictimTargetSP)
_00E_A2_GhostwalkSelectM.Play(PlayerREF)
@ -231,7 +231,7 @@ Function UnmarkEnemy(Actor iVictim)
A2_EldritchBlood_Victim.Clear()
MarkingRuneREF.Disable()
iFrenzyTargetMarked = False
Levelsystem._00E_Levelsystem_sEldritchBloodVictimMarkingRemoved.Show()
_00E_Levelsystem_sEldritchBloodVictimMarkingRemoved.Show()
iVictim.RemoveSpell(_00E_A2_EldritchBloodAbMarkedVictimSP)
_00E_A2_EldritchBloodMarkedFXS.Stop(iVictim)
_00E_A2_GhostwalkDeselectM.Play(PlayerREF)
@ -241,7 +241,7 @@ Function UnmarkEnemy(Actor iVictim)
A2_EldritchBlood_VictimTarget.Clear()
MarkingVictimRuneREF.Disable()
iFrezyAttackTargetMarked = False
Levelsystem._00E_Levelsystem_sEldritchBloodAttackVictimMarkingRemoved.Show()
_00E_Levelsystem_sEldritchBloodAttackVictimMarkingRemoved.Show()
iVictim.RemoveSpell(_00E_A2_EldritchBloodAbMarkedVictimTargetSP)
_00E_A2_EldritchBloodMarkedVictimFXS.Stop(iVictim)
_00E_A2_GhostwalkDeselectM.Play(PlayerREF)
@ -255,12 +255,12 @@ bool Function IsTargetValid(Actor CheckVictim)
If CheckVictim.IsInFaction(PlayerAlliesFaction)
Return False
ElseIf CheckVictim.HasKeyword(MagicNoEldritchBlood)
Levelsystem._00E_Levelsystem_sAbilityEnemyLevelTooHigh.Show()
_00E_Levelsystem_sAbilityEnemyLevelTooHigh.Show()
Return False
Elseif CheckVictim == PlayerREF
Return False
Elseif EnemyLevelTooHigh(CheckVictim)
Levelsystem._00E_Levelsystem_sAbilityEnemyLevelTooHigh.Show()
_00E_Levelsystem_sAbilityEnemyLevelTooHigh.Show()
Return False
Else
Return True
@ -306,7 +306,12 @@ Bool iFrezyAttackTargetMarked
_00E_A2_EldritchBloodPlayerMarkSC A2_EldritchBlood_PlayerForScript
_00E_QuestFunctions Property Levelsystem Auto
Message Property _00E_Levelsystem_sEnemyAlreadyMarked Auto
Message Property _00E_Levelsystem_sEldritchBloodVictimMarked Auto
Message Property _00E_Levelsystem_sEldritchBloodAttackTargetMarked Auto
Message Property _00E_Levelsystem_sAbilityEnemyLevelTooHigh Auto
Message Property _00E_Levelsystem_sEldritchBloodVictimMarkingRemoved Auto
Message Property _00E_Levelsystem_sEldritchBloodAttackVictimMarkingRemoved Auto
GlobalVariable Property _00E_A2_EldritchBloodGlobal Auto
GlobalVariable Property PlayerLevel Auto

@ -1,5 +1,7 @@
Scriptname _00E_A2_GhostwalkSC extends activemagiceffect
; UNUSED
Import _00E_TalentLibrary
Import Utility
@ -223,12 +225,12 @@ Function SelectEnemy(Actor iVictim)
A2_Ghostwalk_Victim.GetActorReference().SetActorValue("Blindness", 100)
A2_Ghostwalk_Victim.GetActorReference().EvaluatePackage()
bTargetMarked = True
Levelsystem._00E_Levelsystem_sEnemyMarked.Show()
_00E_Levelsystem_sEnemyMarked.Show()
_00E_EspionageFXS.Play(iVictim)
iVictim.AddSpell(_00E_A2_GhostwalkAbMarkedSP)
_00E_A2_GhostwalkSelectM.Play(PlayerREF)
Else
Levelsystem._00E_Levelsystem_sEnemyAlreadyMarked.Show()
_00E_Levelsystem_sEnemyAlreadyMarked.Show()
MAGFail.Play(PlayerREF)
EndIf
Else
@ -256,7 +258,7 @@ Function UnmarkEnemy(Actor iVictim)
A2_Ghostwalk_Victim.Clear()
MarkingRuneREF.Disable()
bTargetMarked = False
Levelsystem._00E_Levelsystem_sAbilityMarkingRemoved.Show()
_00E_Levelsystem_sAbilityMarkingRemoved.Show()
iVictim.RemoveSpell(_00E_A2_GhostwalkAbMarkedSP)
A2_Ghostwalk_Victim.GetActorReference().SetActorValue("Blindness", 0)
_00E_EspionageFXS.Stop(iVictim)
@ -274,12 +276,12 @@ bool Function IsTargetValid(Actor CheckVictim)
If CheckVictim.IsInFaction(PlayerAlliesFaction)
Return False
ElseIf CheckVictim.HasKeyword(MagicNoGhostwalk)
Levelsystem._00E_Levelsystem_sAbilityTargetImmune.Show()
_00E_Levelsystem_sAbilityTargetImmune.Show()
Return False
Elseif CheckVictim == PlayerREF
Return False
Elseif IsTargetTooCloseToWall(CheckVictim)
Levelsystem._00E_Levelsystem_sGhostwalkEnemyTooCloseToWall.Show()
_00E_Levelsystem_sGhostwalkEnemyTooCloseToWall.Show()
bTargetCloseToWall = True
Return True
Else
@ -331,7 +333,7 @@ EndFunction
bool Function TargetMarked()
If bTargetMarked == True
Levelsystem._00E_Levelsystem_sEnemyAlreadyMarked.Show()
_00E_Levelsystem_sEnemyAlreadyMarked.Show()
MAGFail.Play(PlayerREF)
Return True
Else
@ -379,7 +381,12 @@ float EndLocZ
Float iPlayerSpeedBefore
_00E_A2_Ghostwalk_PlayerSC A2_Ghostwalk_PlayerForScript
_00E_QuestFunctions Property Levelsystem Auto
Message Property _00E_Levelsystem_sEnemyMarked Auto
Message Property _00E_Levelsystem_sEnemyAlreadyMarked Auto
Message Property _00E_Levelsystem_sAbilityMarkingRemoved Auto
Message Property _00E_Levelsystem_sAbilityTargetImmune Auto
Message Property _00E_Levelsystem_sGhostwalkEnemyTooCloseToWall Auto
ActorBase Property _00E_A2_GhostwalkWallCheck Auto
Actor WallCheckActor

@ -75,13 +75,13 @@ bool Function IsTargetValid(Actor iTarget)
Float iAllowedLevelDifference = _00E_A1_RiftSP.GetNthEffectMagnitude(3)
If (Target.GetLevel()) >= (PlayerLevel.GetValueInt() + iAllowedLevelDifference as Int)
Levelsystem._00E_Levelsystem_sAbilityEnemyLevelTooHigh.Show()
_00E_Levelsystem_sAbilityEnemyLevelTooHigh.Show()
return False
ElseIf Target.IsDead()
Levelsystem._00E_Levelsystem_sAbilityEnemyHasToBeAlive.Show()
_00E_Levelsystem_sAbilityEnemyHasToBeAlive.Show()
return False
ElseIf Target.HasKeyword(MagicNoRift)
Levelsystem._00E_Levelsystem_sAbilityTargetImmune.Show()
_00E_Levelsystem_sAbilityTargetImmune.Show()
return False
Else
Return True
@ -252,7 +252,9 @@ float iFinalImpact
int iindex
int iRiftDurationSound
_00E_QuestFunctions Property Levelsystem Auto
Message Property _00E_Levelsystem_sAbilityEnemyLevelTooHigh Auto
Message Property _00E_Levelsystem_sAbilityEnemyHasToBeAlive Auto
Message Property _00E_Levelsystem_sAbilityTargetImmune Auto
Actor Target
ObjectReference PlaceMarker

@ -4,7 +4,7 @@ Actor Caster
Actor Target
int SoundHandler
_00E_QuestFunctions Property Levelsystem Auto
Message Property _00E_Levelsystem_sEnemyHasToBeDead Auto
Actor Property PlayerREF Auto
Perk Property _00E_Class_Phasmalist_P08c_Talent_Transmute Auto
@ -25,7 +25,7 @@ SoulGem Property normalLoot Auto
Event OnEffectStart(Actor akTarget, Actor akCaster)
If !akTarget.IsDead()
Levelsystem._00E_Levelsystem_sEnemyHasToBeDead.Show()
_00E_Levelsystem_sEnemyHasToBeDead.Show()
(PlayerREF as _00E_Game_TalentControlSC).SetTalentRecoveryTime(_00E_Phasmalist_A2_TransmuteShout, 0)
Return
Else

@ -38,23 +38,3 @@ EndFunction
;=====================================================================================
bool Property bAllowIdleChatter = True Auto Conditional Hidden ; Set this to true when NPCs shouldn't Idle around
;-------------------------------------TELEPORT SCRIPT-----------------------------------
Message Property _00E_Levelsystem_sAbilityEnemyLevelTooHigh Auto
Message Property _00E_Levelsystem_sAbilityEnemyHasToBeAlive Auto
Message Property _00E_Levelsystem_sEnemyHasToBeDead Auto
Message Property _00E_Levelsystem_sAbilityEnemyTooFarAway Auto
Message Property _00E_Levelsystem_sAbilityTargetImmune Auto
Message Property _00E_Levelsystem_sAbilityMarkingRemoved Auto
Message Property _00E_Levelsystem_sEnemyMarked Auto
Message Property _00E_Levelsystem_sAbilityStanceStarted Auto
Message Property _00E_Levelsystem_sAbilityStanceEnded Auto
Message Property _00E_Levelsystem_sAbilityStanceQyrai Auto
Message Property _00E_Levelsystem_sAbilityStanceSkaragg Auto
Message Property _00E_Levelsystem_sEnemyAlreadyMarked Auto
Message Property _00E_Levelsystem_sEldritchBloodVictimMarked Auto
Message Property _00E_Levelsystem_sEldritchBloodAttackTargetMarked Auto
Message Property _00E_Levelsystem_sEldritchBloodAttackVictimMarkingRemoved Auto
Message Property _00E_Levelsystem_sEldritchBloodVictimMarkingRemoved Auto
Message Property _00E_Levelsystem_sGhostwalkEnemyTooCloseToWall Auto

Loading…
Cancel
Save