Add fix for boat drag water-walking

This commit is contained in:
2025-06-19 08:11:52 -04:00
parent c25499b41e
commit f81be1833b
6 changed files with 6 additions and 4 deletions

View File

@@ -14,6 +14,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- The Row spell is now a touch spell and has a lock icon instead of damage fatigue icon - The Row spell is now a touch spell and has a lock icon instead of damage fatigue icon
- (this is needed so the spell does not make a noise or visual effect when cast) - (this is needed so the spell does not make a noise or visual effect when cast)
- Reduced the amount of false-positives with collision detection so the boat shouldn't get grounded in water as often - Reduced the amount of false-positives with collision detection so the boat shouldn't get grounded in water as often
- Increased height boat needs to be to be considered on land so it can be dragged in the water while water-walking
## 0.1.1 ## 0.1.1

View File

@@ -185,7 +185,7 @@ OverboardDistance (300) - Distance before "overboard" triggers<br>
<br> <br>
Miscellaneous Enchantments:<br> Miscellaneous Enchantments:<br>
SummonDistance (350) - Distance boat appears when summoned<br> SummonDistance (350) - Distance boat appears when summoned<br>
LandZThreshold (10) - Height above water considered "on land"<br> LandZThreshold (40) - Height above water considered "on land"<br>
WaterLevelZ (0) - Base water level<br> WaterLevelZ (0) - Base water level<br>
DeltaSmoothingFactor (0.1) - Sensitivity of frame rate compensation<br> DeltaSmoothingFactor (0.1) - Sensitivity of frame rate compensation<br>
<br> <br>

View File

@@ -172,7 +172,7 @@ OverboardDistance (300) - Distance before "overboard" triggers
[b]Miscellaneous Enchantments:[/b] [b]Miscellaneous Enchantments:[/b]
SummonDistance (350) - Distance boat appears when summoned SummonDistance (350) - Distance boat appears when summoned
LandZThreshold (10) - Height above water considered "on land" LandZThreshold (40) - Height above water considered "on land"
WaterLevelZ (0) - Base water level WaterLevelZ (0) - Base water level
DeltaSmoothingFactor (0.1) - Sensitivity of frame rate compensation DeltaSmoothingFactor (0.1) - Sensitivity of frame rate compensation

View File

@@ -16,7 +16,7 @@ set RYB.RowSpellDuration to 1.5
set RYB.OverboardDistance to 300 set RYB.OverboardDistance to 300
set RYB.TurnRateAcceleration to 0.15 set RYB.TurnRateAcceleration to 0.15
set RYB.TurnRateDeceleration to 0.92 set RYB.TurnRateDeceleration to 0.92
set RYB.LandZThreshold to 10 set RYB.LandZThreshold to 40
set RYB.WaterLevelZ to 0 set RYB.WaterLevelZ to 0
set RYB.HighUpdateRate to 0.0166 set RYB.HighUpdateRate to 0.0166
set RYB.MediumUpdateRate to 0.1 set RYB.MediumUpdateRate to 0.1

Binary file not shown.

View File

@@ -66,7 +66,7 @@ float FrameTurnRate
float CurrentTurnRate ; the actual turn rate being applied this frame (decayed or accelerated version of FrameTurnRate) float CurrentTurnRate ; the actual turn rate being applied this frame (decayed or accelerated version of FrameTurnRate)
float TurnRateAcceleration ; how quickly turn rate ramps up (default: 0.15) float TurnRateAcceleration ; how quickly turn rate ramps up (default: 0.15)
float TurnRateDeceleration ; how quickly turn rate decays when not turning (default: 0.92) float TurnRateDeceleration ; how quickly turn rate decays when not turning (default: 0.92)
float LandZThreshold ; Z position that the boat must be above to be considered on land (default: 10) float LandZThreshold ; Z position that the boat must be above to be considered on land (default: 40)
float WaterLevelZ ; Z position of the water level (default: 0) float WaterLevelZ ; Z position of the water level (default: 0)
float RowTimer ; current time left before stopping rowing float RowTimer ; current time left before stopping rowing
@@ -312,6 +312,7 @@ begin GameMode
if (ModVersion < 0.2) if (ModVersion < 0.2)
set ModVersion to 0.2 set ModVersion to 0.2
set ColliderPosThreshold to 1.0 set ColliderPosThreshold to 1.0
set LandZThreshold to 40.0
endif endif
if (Resetting == -1) if (Resetting == -1)