Skip to content

Zero Hour rebuilt from EA's source: x64, Direct3D 11, VS2022/CMake, ~60 original bugs fixed, an AI that builds a base. Bring your own game.

feat(data): vehicles turn a quarter faster, never under 120 deg/s

Olcay Seygan7ac0c44c026b
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 23f648fc3..6034c5b51 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -47,7 +47,8 @@ found and fixed — EA's own, not port damage.**
- Sent a short way behind itself, a tank backs up. It used to spin round on the spot and drive off nose first every time. Anything sent within three lengths behind it now reverses at a bit under half speed, and so does a car that has a reverse gear. A Humvee sent a long way behind does a three-point turn instead of pirouetting in its own length. Cars used to reverse at full speed; they now back up at 45% of it.
- A car turns no tighter than a car can. EA turned a Quad Cannon round in less than its own length about its rear axle, so its middle swung sideways at twice the speed it drove. A car's turn is held to a circle one and a half lengths across at speed, and only when that circle cannot reach the spot it was sent to does it crawl round a tight one instead, so it still gets everywhere it used to. Without a reverse gear that costs time: a Quad Cannon sent 50 behind itself takes 4.8 seconds where it took 2.2.
- A vehicle that had just parked used to start its next move with a lurch, and arrived crabbing sideways into its spot. Both are gone.
-- Players told us the tanks felt sluggish off the line, and they were right. Every vehicle you can build, on all three sides and in all nine generals' armies, now pulls away and brakes a quarter harder than it did. A Crusader is at full speed 1.17 seconds after the order instead of 1.37, an Overlord after 1.27 instead of 1.5, and a Humvee sent across a short stretch of ground arrives an eighth of a second sooner. Top speeds and turning are unchanged, and soldiers, aircraft and boats are untouched. Replays recorded before this change will not play back.
+- Players told us the tanks felt sluggish off the line, and they were right. Every vehicle you can build, on all three sides and in all nine generals' armies, now pulls away and brakes a quarter harder than it did. A Crusader is at full speed 1.17 seconds after the order instead of 1.37, an Overlord after 1.27 instead of 1.5, and a Humvee sent across a short stretch of ground arrives an eighth of a second sooner. Top speeds are unchanged, and soldiers, aircraft and boats are untouched. Replays recorded before this change will not play back.
+- They turn faster as well. Every vehicle you can build swings round a quarter faster than it did, and none turns slower than 120 degrees a second, so the Overlord gains most: sent somewhere straight behind it, an Overlord is rolling at speed 2.5 seconds after the order where it took 4.4, and a Crusader after 1.77 seconds instead of 1.93. The Emperor comes round twice as fast as before, the SCUD Launcher more than that. Turrets turn exactly as they did. Replays recorded before this change will not play back, and this version cannot join a game hosted on an older one.
- Groups get where they are going as fast as before. Twenty Crusaders crossing a generated map arrived on average within 3% of the old time over eight maps, and the last of them a fifth of a second later. A replay recorded before this change plays back differently.
## Soldiers turn and stop on their feet
diff --git a/GeneralsMD/Code/BuildFingerprint.manifest b/GeneralsMD/Code/BuildFingerprint.manifest
index 3328d5d80..253cb9150 100644
--- a/GeneralsMD/Code/BuildFingerprint.manifest
+++ b/GeneralsMD/Code/BuildFingerprint.manifest
@@ -217,6 +217,7 @@ Data/Scenarios/v240_md.txt
Data/Scenarios/v240_tank.txt
Data/Scenarios/vehicleaccel.txt
Data/Scenarios/vehiclelean.txt
+Data/Scenarios/vehicleturn.txt
Data/Scenarios/vision.txt
Data/Scenarios/wreckcheck.txt
Data/Scripts/SkirmishScripts.scb
diff --git a/GeneralsMD/Code/Data/INI/BalanceReforged.ini b/GeneralsMD/Code/Data/INI/BalanceReforged.ini
index 92ad7bc48..e21a786dd 100644
--- a/GeneralsMD/Code/Data/INI/BalanceReforged.ini
+++ b/GeneralsMD/Code/Data/INI/BalanceReforged.ini
@@ -546,241 +546,329 @@ End
; Braking than it had: a Crusader is at 99% of top speed 35 frames after the order where it took 41
; (Scenarios/vehicleaccel.txt, -tracemove 57). The "was" comments
; give the number before that. The Listening Outpost's Acceleration and every vehicle after it kept
-; EA's numbers until then and get the same quarter on top of them ("EA" comments). Speed and TurnRate
-; are untouched. Aircraft taxiing, infantry, boats and the campaign's civilian cars are left alone.
+; EA's numbers until then and get the same quarter on top of them ("EA" comments). Speed is
+; untouched. Aircraft taxiing, infantry, boats and the campaign's civilian cars are left alone.
+;
+; The same vehicles turn faster too: TurnRate and TurnRateDamaged are a quarter above EA's, and never
+; below 120 degrees a second. The quarter alone left the Overlord at 75, and its sluggishness was the
+; turn, not the start: a tank pivots on the spot at half its TurnRate (TREAD_PIVOT_SHARE in
+; Locomotor.cpp), so EA's 60 swung it round at 30 degrees a second. The floor reaches the Overlord
+; family, the SCUD Launcher (EA: 50) and the 90-degree trucks, dozers and Nuke Cannon, and it also
+; lifts their TurnRateDamaged, which EA had set below TurnRate. Sent to a point straight behind it
+; (Scenarios/vehicleturn.txt), an Overlord reaches 90% of top speed on the new heading 74 frames after
+; the order where it took 131; a Crusader 53 where it took 58. Turret turn rates are separate and
+; untouched.
Locomotor TomahawkLocomotor
Acceleration = 31.25 ; was 25
AccelerationDamaged = 31.25 ; was 25
Braking = 50 ; was 40
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor CrusaderLocomotor
Acceleration = 31.25 ; was 25
AccelerationDamaged = 31.25 ; was 25
Braking = 50 ; was 40
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor MilitiaTankLocomotor
Acceleration = 31.25 ; was 25
AccelerationDamaged = 31.25 ; was 25
Braking = 50 ; was 40
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor BasicTankLocomotor
Acceleration = 31.25 ; was 25
AccelerationDamaged = 31.25 ; was 25
Braking = 50 ; was 40
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor DragonLocomotor
Acceleration = 31.25 ; was 25
AccelerationDamaged = 31.25 ; was 25
Braking = 50 ; was 40
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor InfernoLocomotor
Acceleration = 31.25 ; was 25
AccelerationDamaged = 31.25 ; was 25
Braking = 50 ; was 40
+ TurnRate = 150 ; EA: 120
+ TurnRateDamaged = 120 ; EA: 90
End
Locomotor BattleMasterLocomotor
Acceleration = 26.25 ; was 21
AccelerationDamaged = 26.25 ; was 21
Braking = 41.25 ; was 33
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor Tank_BattleMasterLocomotor
Acceleration = 30 ; was 24
AccelerationDamaged = 30 ; was 24
Braking = 48.75 ; was 39
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor NuclearBattleMasterLocomotor
Acceleration = 36.25 ; was 29
AccelerationDamaged = 36.25 ; was 29
Braking = 58.75 ; was 47
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor Tank_NuclearBattleMasterLocomotor
Acceleration = 36.25 ; was 29
AccelerationDamaged = 36.25 ; was 29
Braking = 58.75 ; was 47
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor Nuke_FusionBattleMasterLocomotor
Acceleration = 47.5 ; was 38
AccelerationDamaged = 47.5 ; was 38
Braking = 75 ; was 60
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor ScorpionLocomotor
Acceleration = 45 ; was 36
AccelerationDamaged = 45 ; was 36
Braking = 71.25 ; was 57
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor MarauderLocomotor
Acceleration = 41.25 ; was 33
AccelerationDamaged = 41.25 ; was 33
Braking = 66.25 ; was 53
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor GattlingTankLocomotor
Acceleration = 45 ; was 36
AccelerationDamaged = 45 ; was 36
Braking = 71.25 ; was 57
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor HumveeLocomotor
Acceleration = 75 ; was 60
AccelerationDamaged = 75 ; was 60
Braking = 107.5 ; was 86
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor AvengerLocomotor
Acceleration = 37.5 ; was 30
AccelerationDamaged = 37.5 ; was 30
Braking = 53.75 ; was 43
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor QuadCannonLocomotor
Acceleration = 50 ; was 40
AccelerationDamaged = 50 ; was 40
Braking = 71.25 ; was 57
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor TroopCrawlerLocomotor
Acceleration = 50 ; was 40
AccelerationDamaged = 50 ; was 40
Braking = 71.25 ; was 57
+ TurnRate = 150 ; EA: 120
+ TurnRateDamaged = 150 ; EA: 120
End
Locomotor BombTruckLocomotor
Acceleration = 62.5 ; was 50
AccelerationDamaged = 62.5 ; was 50
Braking = 88.75 ; was 71
+ TurnRate = 120 ; EA: 90
+ TurnRateDamaged = 120 ; EA: 60
End
Locomotor BattleBusLocomotor
Acceleration = 72.5 ; was 58
AccelerationDamaged = 72.5 ; was 58
Braking = 116.25 ; was 93
+ TurnRate = 120 ; EA: 90
+ TurnRateDamaged = 120 ; EA: 60
End
Locomotor ListeningOutpostLocomotor
Acceleration = 25 ; EA: 20
AccelerationDamaged = 20 ; EA: 16
Braking = 71.25 ; was 57
+ TurnRate = 120 ; EA: 90
+ TurnRateDamaged = 120 ; EA: 90
End
Locomotor OverlordLocomotor
Acceleration = 18.75 ; EA: 15
AccelerationDamaged = 18.75 ; EA: 15
Braking = 62.5 ; EA: 50
+ TurnRate = 120 ; EA: 60
+ TurnRateDamaged = 120 ; EA: 60
End
Locomotor NuclearOverlordLocomotor
Acceleration = 37.5 ; EA: 30
AccelerationDamaged = 37.5 ; EA: 30
Braking = 62.5 ; EA: 50
+ TurnRate = 120 ; EA: 60
+ TurnRateDamaged = 120 ; EA: 60
End
Locomotor Tank_OverlordLocomotor
Acceleration = 18.75 ; EA: 15
AccelerationDamaged = 18.75 ; EA: 15
Braking = 62.5 ; EA: 50
+ TurnRate = 120 ; EA: 60
+ TurnRateDamaged = 120 ; EA: 60
End
Locomotor Nuke_FusionOverlordLocomotor
Acceleration = 37.5 ; EA: 30
AccelerationDamaged = 37.5 ; EA: 30
Braking = 62.5 ; EA: 50
+ TurnRate = 120 ; EA: 80
+ TurnRateDamaged = 120 ; EA: 80
End
Locomotor ChinaNukeCannonLocomotor
Acceleration = 37.5 ; EA: 30
AccelerationDamaged = 10 ; EA: 8
Braking = 62.5 ; EA: 50
+ TurnRate = 120 ; EA: 90
+ TurnRateDamaged = 120 ; EA: 60
End
Locomotor ChinaVehicleDozerLocomotor
Acceleration = 37.5 ; EA: 30
AccelerationDamaged = 10 ; EA: 8
Braking = 62.5 ; EA: 50
+ TurnRate = 120 ; EA: 90
+ TurnRateDamaged = 120 ; EA: 60
End
Locomotor AmericaVehicleDozerLocomotor
Acceleration = 37.5 ; EA: 30
AccelerationDamaged = 10 ; EA: 8
Braking = 62.5 ; EA: 50
+ TurnRate = 120 ; EA: 90
+ TurnRateDamaged = 120 ; EA: 60
End
Locomotor SupplyTruckLocomotor
Acceleration = 300 ; EA: 240
AccelerationDamaged = 225 ; EA: 180
Braking = 62.5 ; EA: 50
+ TurnRate = 120 ; EA: 90
+ TurnRateDamaged = 120 ; EA: 60
End
Locomotor SentryLocomotor
Acceleration = 75 ; EA: 60
AccelerationDamaged = 75 ; EA: 60
Braking = 75 ; EA: 60
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor ScudLauncherLocomotor
Acceleration = 200 ; EA: 160
AccelerationDamaged = 150 ; EA: 120
Braking = 62.5 ; EA: 50
+ TurnRate = 120 ; EA: 50
+ TurnRateDamaged = 120 ; EA: 45
End
Locomotor TechnicalLocomotor
Acceleration = 125 ; EA: 100
AccelerationDamaged = 125 ; EA: 100
Braking = 62.5 ; EA: 50
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor RocketBuggyLocomotor
Acceleration = 112.5 ; EA: 90
AccelerationDamaged = 100 ; EA: 80
Braking = 62.5 ; EA: 50
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor RadarVanLocomotor
Acceleration = 62.5 ; EA: 50
AccelerationDamaged = 62.5 ; EA: 50
Braking = 62.5 ; EA: 50
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor ToxinTruckLocomotor
Acceleration = 125 ; EA: 100
AccelerationDamaged = 125 ; EA: 100
Braking = 125 ; EA: 100
+ TurnRate = 225 ; EA: 180
+ TurnRateDamaged = 225 ; EA: 180
End
Locomotor CombatBikeGroundLocomotor
Acceleration = 112.5 ; EA: 90
AccelerationDamaged = 100 ; EA: 80
Braking = 75 ; EA: 60
+ TurnRate = 150 ; EA: 120
+ TurnRateDamaged = 150 ; EA: 120
End
Locomotor CombatBikeCliffLocomotor
Acceleration = 112.5 ; EA: 90
AccelerationDamaged = 100 ; EA: 80
Braking = 75 ; EA: 60
+ TurnRate = 150 ; EA: 120
+ TurnRateDamaged = 150 ; EA: 120
End
Locomotor CombatBikeTerroristGroundLocomotor
Acceleration = 85 ; EA: 68
AccelerationDamaged = 75 ; EA: 60
Braking = 75 ; EA: 60
+ TurnRate = 150 ; EA: 120
+ TurnRateDamaged = 150 ; EA: 120
End
Locomotor CombatBikeTerroristCliffLocomotor
Acceleration = 62.5 ; EA: 50
AccelerationDamaged = 50 ; EA: 40
Braking = 75 ; EA: 60
+ TurnRate = 150 ; EA: 120
+ TurnRateDamaged = 150 ; EA: 120
End
; ---- missile defence: flares on the Air Force General's aircraft, a hard-kill charge on the tanks ---
diff --git a/GeneralsMD/Code/Data/Scenarios/vehicleturn.txt b/GeneralsMD/Code/Data/Scenarios/vehicleturn.txt
new file mode 100644
index 000000000..ccd767a20
--- /dev/null
+++ b/GeneralsMD/Code/Data/Scenarios/vehicleturn.txt
@@ -0,0 +1,42 @@
+# Five main tanks, each alone in its own lane 200 apart, sent 400 west over the open grass of the small
+# generated map. They spawn facing east, so the order is straight behind them and far enough that
+# none backs up to it: each has to come round 180 degrees and then drive off. For the vehicle
+# TurnRate in BalanceReforged.ini. -tracemove follows one unit, so it takes one run per tank: 57 is
+# the Crusader, 58 the Battlemaster, 59 the Overlord, 60 the Scorpion, 61 the Paladin. The number is
+# the first MOVETRACE frame whose forward speed (last column) reaches 90% of top speed (seventh),
+# counted from the order on frame 60.
+#
+# generals.exe -headless -quickstart -noshellmap -observer -multiInstance -noFPSLimit
+# -randommap 1 2 small -autoskirmish 2 -takeover
+# -side 0 FactionAmerica -side 1 FactionChina -seed 1 -maxframes 1000
+# -scenario vehicleturn -tracemove 57 -logPrefix vehicleturn57_
+#
+# The Overlord runs in the last lane: at y 850, the lane vehicleaccel.txt gives it, the path detours
+# round blocked ground and the heading never settles on west. The Battlemaster's and Paladin's points
+# are moved by the pathfinder on this seed, so their arrive lines report none.
+#
+# Measured 2026-10-06, frames from the order, before / after TurnRate +25% with a floor of 120
+# (90% counts only once the heading is within 15 degrees of west):
+# starts rolling Crusader 33 / 28, Battlemaster 32 / 27, Overlord 86 / 46, Scorpion 34 / 29, Paladin 34 / 29
+# 90% of top Crusader 58 / 53, Battlemaster 57 / 52, Overlord 131 / 74, Scorpion 57 / 52, Paladin 59 / 54
+# arrival Crusader 447 / 442, Overlord 706 / 653, Scorpion 352 / 346
+#
+# See mobstress.txt for the line grammar.
+
+30 spawn 0 AmericaTankCrusader 1 700 450
+30 spawn 0 ChinaTankBattleMaster 1 700 650
+30 spawn 0 ChinaTankOverlord 1 700 1450
+30 spawn 0 GLATankScorpion 1 700 1050
+30 spawn 0 AmericaTankPaladin 1 700 1250
+
+60 move 0 AmericaTankCrusader 300 450
+60 move 0 ChinaTankBattleMaster 300 650
+60 move 0 ChinaTankOverlord 300 1450
+60 move 0 GLATankScorpion 300 1050
+60 move 0 AmericaTankPaladin 300 1250
+
+60 arrive 0 AmericaTankCrusader 300 450 10
+60 arrive 0 ChinaTankBattleMaster 300 650 10
+60 arrive 0 ChinaTankOverlord 300 1450 10
+60 arrive 0 GLATankScorpion 300 1050 10
+60 arrive 0 AmericaTankPaladin 300 1250 10