|
|
|
@ -26,7 +26,7 @@ Function VisionEffectTimestop(bool bSilent = False, bool bCustomImod = False, bo |
|
|
|
|
_00E_VisionStartTimestopIMOD.Apply() |
|
|
|
|
_00E_VisionImod.ApplyCrossFade(0.25) |
|
|
|
|
EndIf |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PlayerREF.AddSpell(_00E_Vision_TimeSpell, False) |
|
|
|
|
|
|
|
|
|
if !bCustomMusic |
|
|
|
@ -34,10 +34,11 @@ Function VisionEffectTimestop(bool bSilent = False, bool bCustomImod = False, bo |
|
|
|
|
EndIf |
|
|
|
|
|
|
|
|
|
MagRacialBattlecryFire.Play(PlayerREF) |
|
|
|
|
fPlayerSpeedBeforeVision = PlayerREF.GetActorValue("SpeedMult") |
|
|
|
|
fPlayerSpeedBeforeVision = PlayerREF.GetBaseActorValue("SpeedMult") |
|
|
|
|
PlayerREF.SetActorValue("SpeedMult", 35) |
|
|
|
|
UpdateSpeed(PlayerREF) |
|
|
|
|
|
|
|
|
|
VisionSound = 0 |
|
|
|
|
If !bSilent |
|
|
|
|
VisionSound = _00E_VisionLPM.Play(PlayerREF) |
|
|
|
|
EndIf |
|
|
|
@ -58,15 +59,8 @@ EndFunction |
|
|
|
|
|
|
|
|
|
Function VisionEffectTimestopStop(bool bMovementHasBeenLocked = False) |
|
|
|
|
|
|
|
|
|
float fSpeedMultBefore = PlayerREF.GetActorValue("speedMult") |
|
|
|
|
|
|
|
|
|
PlayerREF.SetGhost(False) |
|
|
|
|
Game.DisablePlayerControls() |
|
|
|
|
PlayerREF.SetActorValue("SpeedMult", PlayerSpeed) |
|
|
|
|
PlayerREF.SetGhost(False) |
|
|
|
|
AudioCategoryFST.UnMute() |
|
|
|
|
UpdateSpeed(PlayerREF) |
|
|
|
|
Game.ShowFirstPersonGeometry(True) |
|
|
|
|
|
|
|
|
|
If !bMovementHasBeenLocked |
|
|
|
|
If PlayerVisionFailsaveMarker.GetDistance(PlayerREF) <= 1000 |
|
|
|
@ -76,10 +70,11 @@ Function VisionEffectTimestopStop(bool bMovementHasBeenLocked = False) |
|
|
|
|
EndIf |
|
|
|
|
EndIf |
|
|
|
|
|
|
|
|
|
PlayerREF.SetGhost(False) |
|
|
|
|
Sound.StopInstance(VisionSound) |
|
|
|
|
if VisionSound |
|
|
|
|
Sound.StopInstance(VisionSound) |
|
|
|
|
VisionSound = 0 |
|
|
|
|
endif |
|
|
|
|
MAGConjurePortalClose.Play(PlayerREF) |
|
|
|
|
_00E_SilenceAbruptHighPriority.Remove() |
|
|
|
|
PlayerREF.RemoveSpell(_00E_Vision_TimeSpell) |
|
|
|
|
_00E_VisionShaderParticles.Remove(0.5) |
|
|
|
|
_00E_VisionEndImod.ApplyCrossFade(1) |
|
|
|
@ -92,9 +87,10 @@ Function VisionEffectTimestopStop(bool bMovementHasBeenLocked = False) |
|
|
|
|
|
|
|
|
|
UpdateSpeed(PlayerREF) |
|
|
|
|
Game.EnablePlayerControls() |
|
|
|
|
Game.SetPlayerAIDriven(0) |
|
|
|
|
Game.SetPlayerAIDriven(false) |
|
|
|
|
Game.ShowFirstPersonGeometry(True) |
|
|
|
|
_00E_SilenceAbruptHighPriority.Remove() |
|
|
|
|
PlayerREF.SetGhost(False) |
|
|
|
|
|
|
|
|
|
EndFunction |
|
|
|
|
|
|
|
|
@ -223,7 +219,6 @@ float fPlayerSpeedBeforeVision |
|
|
|
|
ObjectReference Property PlayerVisionStartMarker Auto Hidden |
|
|
|
|
ObjectReference Property PlayerVisionFailsaveMarker Auto |
|
|
|
|
|
|
|
|
|
float PlayerSpeed |
|
|
|
|
int VisionSound |
|
|
|
|
|
|
|
|
|
SPELL Property _00E_Vision_TimeSpell Auto |
|
|
|
|