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.

test(scenario): america, china and gla aura rings on one spot

Olcay Seygan64c3c531020f
diff --git a/GeneralsMD/Code/Data/Cinema/rankringsall.txt b/GeneralsMD/Code/Data/Cinema/rankringsall.txt
new file mode 100644
index 000000000..f51b1c3c4
--- /dev/null
+++ b/GeneralsMD/Code/Data/Cinema/rankringsall.txt
@@ -0,0 +1,17 @@
+# Scenarios/rankringsall.txt: the America, China and GLA leaders' rings, one leader at a time on the
+# same spot, rankauramaresal's framing. Each leader gets the close cut at play zoom, where a -control
+# click at the screen centre selects it (logic frames 380, 1220, 2060), then the pull back to 2.0 at
+# pitch -30 that holds a ring of radius 300, and a still before it drives off.
+
+0.0 hud on
+0.3 cut 3485 3960 1.8 0 0
+9.3 cut 3485 3960 2.0 0 -30
+12.1 shot
+
+14.4 cut 3485 3960 1.8 0 0
+23.3 cut 3485 3960 2.0 0 -30
+26.1 shot
+
+28.4 cut 3485 3960 1.8 0 0
+37.3 cut 3485 3960 2.0 0 -30
+40.1 shot
diff --git a/GeneralsMD/Code/Data/Scenarios/rankringsall.txt b/GeneralsMD/Code/Data/Scenarios/rankringsall.txt
new file mode 100644
index 000000000..b856a3a36
--- /dev/null
+++ b/GeneralsMD/Code/Data/Scenarios/rankringsall.txt
@@ -0,0 +1,45 @@
+# America's, China's and GLA's aura rings (2026-10-26, source d1f62807): three leaders at the top of
+# their ladders take the same spot on the Twilight Flame plateau in turn, so one camera framing,
+# rankauramaresal's, holds each of them. Every 14 s a new leader spawns at 3485,3960 and the last one
+# drives off east. A General of the Army Crusader (grade 28) gives rate of fire, mend, drill,
+# steady, sight, detect and guard; a General Battlemaster (grade 19) guard, drill, steady, rate of
+# fire, mend, capture and pace; a Supreme Liberator Scorpion (grade 20) pace, spoils, mend, capture,
+# rate of fire and steady. Detect has no ring. Each leader brings three infantry walking west and a
+# vehicle driving through the ring. Select each leader with a -control click at the screen centre
+# once Cinema/rankringsall.txt has cut to it (logic frames 380, 1220, 2060); the rings draw only for
+# the owner and allies, so no -observer.
+#
+# generals.exe -win -borderless -xres 1920 -yres 1080 -msaa 0 -quickstart -noshellmap
+# -multiInstance -fps 120 -noFPSLimit -particlecap 2500 -map "Maps\Twilight Flame\Twilight Flame.map"
+# -autoskirmish 2 -takeover -side 0 FactionAmerica -side 1 FactionGLA -seed 1
+# -scenario rankringsall -cinema rankringsall -control 8801 -logPrefix rankrings_d3d11_
+
+10 spawn 0 AmericaTankCrusader 1 3485 3960
+10 spawn 0 AmericaInfantryRanger 3 3620 3880 30
+10 spawn 0 AmericaVehicleHumvee 1 3800 4080
+10 spawn 1 GLAVehicleTechnical 1 start1:200:0
+12 rank 0 AmericaTankCrusader grade 28
+130 move 0 AmericaInfantryRanger 3300 3880
+190 move 0 AmericaVehicleHumvee 3150 4080
+370 move 0 AmericaTankCrusader 3950 4250
+370 move 0 AmericaInfantryRanger 3900 4300
+370 move 0 AmericaVehicleHumvee 3900 4300
+
+430 spawn 0 ChinaTankBattleMaster 1 3485 3960
+430 spawn 0 ChinaInfantryRedguard 3 3620 3880 30
+430 spawn 0 ChinaTankGattling 1 3800 4080
+432 rank 0 ChinaTankBattleMaster grade 19
+550 move 0 ChinaInfantryRedguard 3300 3880
+610 move 0 ChinaTankGattling 3150 4080
+790 move 0 ChinaTankBattleMaster 3950 4250
+790 move 0 ChinaInfantryRedguard 3900 4300
+790 move 0 ChinaTankGattling 3900 4300
+
+850 spawn 0 GLATankScorpion 1 3485 3960
+850 spawn 0 GLAInfantryRebel 3 3620 3880 30
+850 spawn 0 GLAVehicleQuadCannon 1 3800 4080
+852 rank 0 GLATankScorpion grade 20
+970 move 0 GLAInfantryRebel 3300 3880
+1030 move 0 GLAVehicleQuadCannon 3150 4080
+
+1150 tally 0 *