From 64aa4093ee99131bb2c080e1c0ad1eeb2422f13f Mon Sep 17 00:00:00 2001 From: inkoalawetrust <56005600+inkoalawetrust@users.noreply.github.com> Date: Sat, 2 Nov 2024 11:38:17 +0200 Subject: [PATCH] Fixed the tanks' retreating speed. - Fixed the tank retreating slower than it moves forward for some reason. Now it reverses about as fast as it moves forward, unless User_T72Mode is enabled. --- ZScript/Vehicles/MBT/MBT.zsc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ZScript/Vehicles/MBT/MBT.zsc b/ZScript/Vehicles/MBT/MBT.zsc index b6bb685..bec3e8d 100644 --- a/ZScript/Vehicles/MBT/MBT.zsc +++ b/ZScript/Vehicles/MBT/MBT.zsc @@ -564,7 +564,10 @@ Class MVP_MBT : MVP_BaseVehicle A_QuakeEx (1,1,1,2,0,512,flags:QF_GROUNDONLY,rollintensity:0.2); A_StopSound (CHAN_IDLING); A_StartSound (ActiveSound,CHAN_MOVING,CHANF_LOOPING,attenuation:0.5); + Double RealSpeed = Speed; + If (!User_T72Mode) Speed *= 1.5; KAI_VehicleRetreat (Target,96,512,32,VRF_ZIGZAG,0.25,TankAngleLimit); + Speed = RealSpeed; If (User_CrushMode != CRUSH_NONE) KAI_CrushCorpses(); Int Temp = RetreatLoops; RetreatLoops = 0;