4
Fork 0

Moved RefreshFace()

remove-levelsystem
Eddoursul 4 months ago
parent 9272916e96
commit 93a5754c0c
  1. BIN
      scripts/_00E_Func_RefreshFace.pex
  2. BIN
      scripts/_00E_TeleportControl.pex
  3. BIN
      scripts/_00e_cqc05_functions.pex
  4. BIN
      scripts/_00e_cqj05_functions.pex
  5. BIN
      scripts/_00e_mq12c_functions.pex
  6. BIN
      scripts/_00e_mq17_functions.pex
  7. BIN
      scripts/_00e_nq_g_07_functions.pex
  8. BIN
      scripts/_00e_questfunctions.pex
  9. 10
      source/scripts/_00E_Func_RefreshFace.psc
  10. 2
      source/scripts/_00E_TeleportControl.psc
  11. 2
      source/scripts/_00e_cqc05_functions.psc
  12. 4
      source/scripts/_00e_cqj05_functions.psc
  13. 2
      source/scripts/_00e_mq12c_functions.psc
  14. 2
      source/scripts/_00e_mq17_functions.psc
  15. 2
      source/scripts/_00e_nq_g_07_functions.psc
  16. 9
      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.

Binary file not shown.

@ -0,0 +1,10 @@
Scriptname _00E_Func_RefreshFace Hidden
Function RefreshFace() Global
String facegen = "bUseFaceGenPreprocessedHeads:General"
Utility.SetINIBool(facegen, False)
Game.GetPlayer().QueueNiNodeUpdate()
Utility.SetINIBool(facegen, True)
EndFunction

@ -14,7 +14,7 @@ Function TeleportPlayer(ObjectReference TeleportTarget)
PlayerREF.MoveTo(TeleportTarget)
TeleportOut()
_00E_QuestFunctions.RefreshFace()
_00E_Func_RefreshFace.RefreshFace()
EndFunction

@ -226,7 +226,7 @@ Function FadeBack()
_00E_Func_AIWalk.PlayerAIWalkStop()
Game.EnablePlayerControls()
Levelsystem.UnlockCamera()
_00E_QuestFunctions.RefreshFace()
_00E_Func_RefreshFace.RefreshFace()
_00E_MC_CaliaREF.UnequipAll()
Utility.Wait(0.1)
_00E_MC_CaliaREF.EquipItem(_00E_Calia_Necklace)

@ -114,7 +114,7 @@ Function FadeOut()
CQJ05_SC03_ShipDoorREF.SetOpen(False)
CQJ05_SC03_ShipDoorREF.BlockActivation(True)
Levelsystem.UnlockCamera()
_00E_QuestFunctions.RefreshFace()
_00E_Func_RefreshFace.RefreshFace()
EndFunction
@ -130,7 +130,7 @@ Function FadeBack()
_00E_Func_AIWalk.PlayerAIWalkStop()
Game.SetPlayerAIDriven(False)
Game.EnablePlayerControls()
_00E_QuestFunctions.RefreshFace()
_00E_Func_RefreshFace.RefreshFace()
EndFunction

@ -350,7 +350,7 @@ EndFunction
Function ActivateBed()
_00E_QuestFunctions.RefreshFace()
_00E_Func_RefreshFace.RefreshFace()
MQ12c_SC2_Bed.Activate(PlayerREF, True)
Game.EnablePlayerControls()
Game.SetPlayerAIDriven(False)

@ -571,7 +571,7 @@ Function EndKiss()
Debug.ToggleCollisions()
; GameHour.SetValue(13.0)
Levelsystem.UnlockCamera()
_00E_QuestFunctions.RefreshFace()
_00E_Func_RefreshFace.RefreshFace()
EndFunction

@ -581,7 +581,7 @@ Function FadeInLying()
AudioCategoryMAG.Unmute()
AudioCategorySFX.Unmute()
Levelsystem.UnlockCamera()
RefreshFace()
_00E_Func_RefreshFace.RefreshFace()
Game.EnablePlayerControls()
SetStage(145)

@ -104,15 +104,6 @@ Function DisableDialogueQuitting() Global
Debug.Notification("Outdated _00E_QuestFunctions replacer detected!")
EndFunction
Function RefreshFace() Global
String facegen = "bUseFaceGenPreprocessedHeads:General"
Utility.SetINIBool(facegen, False)
Game.GetPlayer().QueueNiNodeUpdate()
Utility.SetINIBool(facegen, True)
EndFunction
Function SafeMoveTo(ObjectReference refToMove, ObjectReference targetRef, Bool bFadeIn = False) Global
; A safer way to move an object reference to another ref than just MoveTo.

Loading…
Cancel
Save