From 82403af3b3c7b46bb6bce3fd37cd771d0dc37dfc Mon Sep 17 00:00:00 2001 From: mugg91 Date: Sun, 17 Nov 2024 22:12:34 +0100 Subject: [PATCH] [changed] movement speed of boats --- Entities/Vehicles/Boats/Dinghy.as | 2 +- Entities/Vehicles/Boats/LongBoat.as | 2 +- Entities/Vehicles/Boats/WarBoat/WarBoat.as | 2 +- Entities/Vehicles/Common/BoatCommon.as | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Entities/Vehicles/Boats/Dinghy.as b/Entities/Vehicles/Boats/Dinghy.as index b22ff5874..496bb31c4 100644 --- a/Entities/Vehicles/Boats/Dinghy.as +++ b/Entities/Vehicles/Boats/Dinghy.as @@ -9,7 +9,7 @@ void onInit(CBlob@ this) AddIconToken("$store_inventory$", "InteractionIcons.png", Vec2f(32, 32), 28); Vehicle_Setup(this, - 250.0f, // move speed + 240.0f, // move speed 0.31f, // turn speed Vec2f(0.0f, -2.5f), // jump out velocity true // inventory access diff --git a/Entities/Vehicles/Boats/LongBoat.as b/Entities/Vehicles/Boats/LongBoat.as index 39ff0a91c..e3ce899cb 100644 --- a/Entities/Vehicles/Boats/LongBoat.as +++ b/Entities/Vehicles/Boats/LongBoat.as @@ -8,7 +8,7 @@ const int sail_index = 0; void onInit(CBlob@ this) { Vehicle_Setup(this, - 300.0f, // move speed + 270.0f, // move speed 0.18f, // turn speed Vec2f(0.0f, -2.5f), // jump out velocity true // inventory access diff --git a/Entities/Vehicles/Boats/WarBoat/WarBoat.as b/Entities/Vehicles/Boats/WarBoat/WarBoat.as index e6fe7ed5a..c40c6d2c8 100644 --- a/Entities/Vehicles/Boats/WarBoat/WarBoat.as +++ b/Entities/Vehicles/Boats/WarBoat/WarBoat.as @@ -10,7 +10,7 @@ void onInit(CBlob@ this) { Vehicle_Setup(this, - 307.0f, // move speed + 320.0f, // move speed 0.47f, // turn speed Vec2f(0.0f, -5.0f), // jump out velocity true // inventory access diff --git a/Entities/Vehicles/Common/BoatCommon.as b/Entities/Vehicles/Common/BoatCommon.as index 612d3b936..628020b47 100644 --- a/Entities/Vehicles/Common/BoatCommon.as +++ b/Entities/Vehicles/Common/BoatCommon.as @@ -138,8 +138,7 @@ void onTick(CBlob@ this) } // rear splash - - if (this.isInWater() && this.getShape().vellen > 2.0f) + if (this.isInWater() && this.getShape().vellen > 2.2f) { Vec2f pos = this.getPosition(); f32 side = this.isFacingLeft() ? this.getWidth() : -this.getWidth();