Fix boat duplication/disappearing, reduce collision false-positives
Needed to add a UE4SS script to fix the boat duplication issue. Disappearing issue was fixed by disabling and re-enabling when getting back to the boat. Collision false-positives was reduced by ignoring collider position when it is too far off expected X and Y positions. Still not ready for next relase, needs some update migration code.
This commit is contained in:
@@ -5,6 +5,7 @@ set RYB.ColliderOffset to 300
|
||||
set RYB.ColliderOffsetReverse to 350
|
||||
set RYB.ColliderMoveFreq to 0.05
|
||||
set RYB.ColliderZ to 1
|
||||
set RYB.ColliderPosThreshold to 1.0
|
||||
RYBColliderRef.SetActorAlpha 0.0
|
||||
RYBColliderRef.SetActorRefraction 10.0
|
||||
RYBColliderRef.AddSpell MG14JskarInvis
|
||||
|
||||
8
ResultScripts/RYBQuestStage50DisableRefs.psc
Normal file
8
ResultScripts/RYBQuestStage50DisableRefs.psc
Normal file
@@ -0,0 +1,8 @@
|
||||
; RYB Stage 50 Disable Boat and Attachment Refs
|
||||
|
||||
RYBBoatRef.Disable
|
||||
RYBSeatRef.Disable
|
||||
RYBChestRef.Disable
|
||||
RYBLampOnRef.Disable
|
||||
RYBLampOffRef.Disable
|
||||
RYBLadderRef.Disable
|
||||
17
ResultScripts/RYBQuestStage51EnableRefs.psc
Normal file
17
ResultScripts/RYBQuestStage51EnableRefs.psc
Normal file
@@ -0,0 +1,17 @@
|
||||
; RYB Stage 51 Enable Boat and Attachment Refs
|
||||
|
||||
RYBBoatRef.Enable
|
||||
RYBBoatMapMarker.Enable
|
||||
RYBSeatRef.Enable
|
||||
if (RYB.ChestPurchased == 1)
|
||||
RYBChestRef.Enable
|
||||
endif
|
||||
if (RYB.LampPurchased == 1)
|
||||
if (RYB.LampOn == 1)
|
||||
RYBLampOnRef.Enable
|
||||
endif
|
||||
RYBLampOffRef.Enable
|
||||
endif
|
||||
if (RYB.LadderPurchased == 1 && RYB.LadderDeployed == 1)
|
||||
RYBLadderRef.Enable
|
||||
endif
|
||||
Reference in New Issue
Block a user