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): a quarter more acceleration and braking for every vehicle

Olcay Seygan8c0c891fc672
diff --git a/CHANGELOG.md b/CHANGELOG.md
index de91bfb63..1a137cc12 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -47,6 +47,7 @@ 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.
- 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 8fa63647e..72345ef66 100644
--- a/GeneralsMD/Code/BuildFingerprint.manifest
+++ b/GeneralsMD/Code/BuildFingerprint.manifest
@@ -210,6 +210,7 @@ Data/Scenarios/v240_heli.txt
Data/Scenarios/v240_hook.txt
Data/Scenarios/v240_md.txt
Data/Scenarios/v240_tank.txt
+Data/Scenarios/vehicleaccel.txt
Data/Scenarios/vehiclelean.txt
Data/Scenarios/vision.txt
Data/Scenarios/wreckcheck.txt
diff --git a/GeneralsMD/Code/Data/INI/BalanceReforged.ini b/GeneralsMD/Code/Data/INI/BalanceReforged.ini
index 3cb5607ad..92ad7bc48 100644
--- a/GeneralsMD/Code/Data/INI/BalanceReforged.ini
+++ b/GeneralsMD/Code/Data/INI/BalanceReforged.ini
@@ -540,129 +540,247 @@ End
; three quarters of a second to stop. The drive that uses them is Locomotor::moveTowardsPositionVehicle.
; A Locomotor block here edits EA's template in place, like an Object block; AccelerationDamaged is
; named because EA's file set it to 1000 too.
+;
+; Players found that 1.2 seconds sluggish, so every ground vehicle a player can build, on all three
+; sides and in every general's army, now has a quarter more Acceleration, AccelerationDamaged and
+; 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.
Locomotor TomahawkLocomotor
- Acceleration = 25
- AccelerationDamaged = 25
- Braking = 40
+ Acceleration = 31.25 ; was 25
+ AccelerationDamaged = 31.25 ; was 25
+ Braking = 50 ; was 40
End
Locomotor CrusaderLocomotor
- Acceleration = 25
- AccelerationDamaged = 25
- Braking = 40
+ Acceleration = 31.25 ; was 25
+ AccelerationDamaged = 31.25 ; was 25
+ Braking = 50 ; was 40
End
Locomotor MilitiaTankLocomotor
- Acceleration = 25
- AccelerationDamaged = 25
- Braking = 40
+ Acceleration = 31.25 ; was 25
+ AccelerationDamaged = 31.25 ; was 25
+ Braking = 50 ; was 40
End
Locomotor BasicTankLocomotor
- Acceleration = 25
- AccelerationDamaged = 25
- Braking = 40
+ Acceleration = 31.25 ; was 25
+ AccelerationDamaged = 31.25 ; was 25
+ Braking = 50 ; was 40
End
Locomotor DragonLocomotor
- Acceleration = 25
- AccelerationDamaged = 25
- Braking = 40
+ Acceleration = 31.25 ; was 25
+ AccelerationDamaged = 31.25 ; was 25
+ Braking = 50 ; was 40
End
Locomotor InfernoLocomotor
- Acceleration = 25
- AccelerationDamaged = 25
- Braking = 40
+ Acceleration = 31.25 ; was 25
+ AccelerationDamaged = 31.25 ; was 25
+ Braking = 50 ; was 40
End
Locomotor BattleMasterLocomotor
- Acceleration = 21
- AccelerationDamaged = 21
- Braking = 33
+ Acceleration = 26.25 ; was 21
+ AccelerationDamaged = 26.25 ; was 21
+ Braking = 41.25 ; was 33
End
Locomotor Tank_BattleMasterLocomotor
- Acceleration = 24
- AccelerationDamaged = 24
- Braking = 39
+ Acceleration = 30 ; was 24
+ AccelerationDamaged = 30 ; was 24
+ Braking = 48.75 ; was 39
End
Locomotor NuclearBattleMasterLocomotor
- Acceleration = 29
- AccelerationDamaged = 29
- Braking = 47
+ Acceleration = 36.25 ; was 29
+ AccelerationDamaged = 36.25 ; was 29
+ Braking = 58.75 ; was 47
End
Locomotor Tank_NuclearBattleMasterLocomotor
- Acceleration = 29
- AccelerationDamaged = 29
- Braking = 47
+ Acceleration = 36.25 ; was 29
+ AccelerationDamaged = 36.25 ; was 29
+ Braking = 58.75 ; was 47
End
Locomotor Nuke_FusionBattleMasterLocomotor
- Acceleration = 38
- AccelerationDamaged = 38
- Braking = 60
+ Acceleration = 47.5 ; was 38
+ AccelerationDamaged = 47.5 ; was 38
+ Braking = 75 ; was 60
End
Locomotor ScorpionLocomotor
- Acceleration = 36
- AccelerationDamaged = 36
- Braking = 57
+ Acceleration = 45 ; was 36
+ AccelerationDamaged = 45 ; was 36
+ Braking = 71.25 ; was 57
End
Locomotor MarauderLocomotor
- Acceleration = 33
- AccelerationDamaged = 33
- Braking = 53
+ Acceleration = 41.25 ; was 33
+ AccelerationDamaged = 41.25 ; was 33
+ Braking = 66.25 ; was 53
End
Locomotor GattlingTankLocomotor
- Acceleration = 36
- AccelerationDamaged = 36
- Braking = 57
+ Acceleration = 45 ; was 36
+ AccelerationDamaged = 45 ; was 36
+ Braking = 71.25 ; was 57
End
Locomotor HumveeLocomotor
- Acceleration = 60
- AccelerationDamaged = 60
- Braking = 86
+ Acceleration = 75 ; was 60
+ AccelerationDamaged = 75 ; was 60
+ Braking = 107.5 ; was 86
End
Locomotor AvengerLocomotor
- Acceleration = 30
- AccelerationDamaged = 30
- Braking = 43
+ Acceleration = 37.5 ; was 30
+ AccelerationDamaged = 37.5 ; was 30
+ Braking = 53.75 ; was 43
End
Locomotor QuadCannonLocomotor
- Acceleration = 40
- AccelerationDamaged = 40
- Braking = 57
+ Acceleration = 50 ; was 40
+ AccelerationDamaged = 50 ; was 40
+ Braking = 71.25 ; was 57
End
Locomotor TroopCrawlerLocomotor
- Acceleration = 40
- AccelerationDamaged = 40
- Braking = 57
+ Acceleration = 50 ; was 40
+ AccelerationDamaged = 50 ; was 40
+ Braking = 71.25 ; was 57
End
Locomotor BombTruckLocomotor
- Acceleration = 50
- AccelerationDamaged = 50
- Braking = 71
+ Acceleration = 62.5 ; was 50
+ AccelerationDamaged = 62.5 ; was 50
+ Braking = 88.75 ; was 71
End
Locomotor BattleBusLocomotor
- Acceleration = 58
- AccelerationDamaged = 58
- Braking = 93
+ Acceleration = 72.5 ; was 58
+ AccelerationDamaged = 72.5 ; was 58
+ Braking = 116.25 ; was 93
End
Locomotor ListeningOutpostLocomotor
- Braking = 57
+ Acceleration = 25 ; EA: 20
+ AccelerationDamaged = 20 ; EA: 16
+ Braking = 71.25 ; was 57
+End
+
+Locomotor OverlordLocomotor
+ Acceleration = 18.75 ; EA: 15
+ AccelerationDamaged = 18.75 ; EA: 15
+ Braking = 62.5 ; EA: 50
+End
+
+Locomotor NuclearOverlordLocomotor
+ Acceleration = 37.5 ; EA: 30
+ AccelerationDamaged = 37.5 ; EA: 30
+ Braking = 62.5 ; EA: 50
+End
+
+Locomotor Tank_OverlordLocomotor
+ Acceleration = 18.75 ; EA: 15
+ AccelerationDamaged = 18.75 ; EA: 15
+ Braking = 62.5 ; EA: 50
+End
+
+Locomotor Nuke_FusionOverlordLocomotor
+ Acceleration = 37.5 ; EA: 30
+ AccelerationDamaged = 37.5 ; EA: 30
+ Braking = 62.5 ; EA: 50
+End
+
+Locomotor ChinaNukeCannonLocomotor
+ Acceleration = 37.5 ; EA: 30
+ AccelerationDamaged = 10 ; EA: 8
+ Braking = 62.5 ; EA: 50
+End
+
+Locomotor ChinaVehicleDozerLocomotor
+ Acceleration = 37.5 ; EA: 30
+ AccelerationDamaged = 10 ; EA: 8
+ Braking = 62.5 ; EA: 50
+End
+
+Locomotor AmericaVehicleDozerLocomotor
+ Acceleration = 37.5 ; EA: 30
+ AccelerationDamaged = 10 ; EA: 8
+ Braking = 62.5 ; EA: 50
+End
+
+Locomotor SupplyTruckLocomotor
+ Acceleration = 300 ; EA: 240
+ AccelerationDamaged = 225 ; EA: 180
+ Braking = 62.5 ; EA: 50
+End
+
+Locomotor SentryLocomotor
+ Acceleration = 75 ; EA: 60
+ AccelerationDamaged = 75 ; EA: 60
+ Braking = 75 ; EA: 60
+End
+
+Locomotor ScudLauncherLocomotor
+ Acceleration = 200 ; EA: 160
+ AccelerationDamaged = 150 ; EA: 120
+ Braking = 62.5 ; EA: 50
+End
+
+Locomotor TechnicalLocomotor
+ Acceleration = 125 ; EA: 100
+ AccelerationDamaged = 125 ; EA: 100
+ Braking = 62.5 ; EA: 50
+End
+
+Locomotor RocketBuggyLocomotor
+ Acceleration = 112.5 ; EA: 90
+ AccelerationDamaged = 100 ; EA: 80
+ Braking = 62.5 ; EA: 50
+End
+
+Locomotor RadarVanLocomotor
+ Acceleration = 62.5 ; EA: 50
+ AccelerationDamaged = 62.5 ; EA: 50
+ Braking = 62.5 ; EA: 50
+End
+
+Locomotor ToxinTruckLocomotor
+ Acceleration = 125 ; EA: 100
+ AccelerationDamaged = 125 ; EA: 100
+ Braking = 125 ; EA: 100
+End
+
+Locomotor CombatBikeGroundLocomotor
+ Acceleration = 112.5 ; EA: 90
+ AccelerationDamaged = 100 ; EA: 80
+ Braking = 75 ; EA: 60
+End
+
+Locomotor CombatBikeCliffLocomotor
+ Acceleration = 112.5 ; EA: 90
+ AccelerationDamaged = 100 ; EA: 80
+ Braking = 75 ; EA: 60
+End
+
+Locomotor CombatBikeTerroristGroundLocomotor
+ Acceleration = 85 ; EA: 68
+ AccelerationDamaged = 75 ; EA: 60
+ Braking = 75 ; EA: 60
+End
+
+Locomotor CombatBikeTerroristCliffLocomotor
+ Acceleration = 62.5 ; EA: 50
+ AccelerationDamaged = 50 ; EA: 40
+ Braking = 75 ; EA: 60
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/vehicleaccel.txt b/GeneralsMD/Code/Data/Scenarios/vehicleaccel.txt
new file mode 100644
index 000000000..8a89dc57d
--- /dev/null
+++ b/GeneralsMD/Code/Data/Scenarios/vehicleaccel.txt
@@ -0,0 +1,37 @@
+# One of each main tank and a Humvee, each alone in its own lane 200 apart, sent 300 east from a
+# standstill over the open grass of the small generated map. They spawn facing east, so no turn
+# holds the speed down and the start is the Acceleration alone. A short run, so getting up to
+# speed and braking at the end are a large share of the arrival frame. For the vehicle
+# Acceleration and Braking in BalanceReforged.ini; add -tracemove 57 (the Crusader) or 59 (the
+# Overlord) for the speed frame by frame.
+#
+# generals.exe -headless -quickstart -noshellmap -observer -multiInstance -noFPSLimit
+# -randommap 1 2 small -autoskirmish 2 -takeover
+# -side 0 FactionAmerica -side 1 FactionChina -seed 1 -maxframes 900
+# -scenario vehicleaccel -logPrefix vehicleaccel_
+#
+# Measured 2026-10-06, frames from the order (frame 60), before / after the quarter more
+# Acceleration and Braking:
+# arrival Crusader 314 / 310, Battlemaster 371 / 368, Scorpion 242 / 238, Humvee 170 / 166
+# 90% of top Crusader 33 / 27, Overlord 37 / 30
+# 99% of top Crusader 41 / 35, Overlord 45 / 38
+# The Overlord's point is blocked on this seed: it stops at (664,915), so it has no arrive line.
+#
+# See mobstress.txt for the line grammar.
+
+30 spawn 0 AmericaTankCrusader 1 400 450
+30 spawn 0 ChinaTankBattleMaster 1 400 650
+30 spawn 0 ChinaTankOverlord 1 400 850
+30 spawn 0 GLATankScorpion 1 400 1050
+30 spawn 0 AmericaVehicleHumvee 1 400 1250
+
+60 move 0 AmericaTankCrusader 700 450
+60 move 0 ChinaTankBattleMaster 700 650
+60 move 0 ChinaTankOverlord 700 850
+60 move 0 GLATankScorpion 700 1050
+60 move 0 AmericaVehicleHumvee 700 1250
+
+60 arrive 0 AmericaTankCrusader 700 450 10
+60 arrive 0 ChinaTankBattleMaster 700 650 10
+60 arrive 0 GLATankScorpion 700 1050 10
+60 arrive 0 AmericaVehicleHumvee 700 1250 10