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:
2025-06-18 00:31:15 -04:00
parent e9e981af44
commit eb8cd50ada
6 changed files with 360 additions and 40 deletions

View File

@@ -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

View 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

View 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