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(data): shot list for the moving haze proof

Olcay Seygan20d0e7e95268
diff --git a/GeneralsMD/Code/Data/Cinema/geproto_hazemove.txt b/GeneralsMD/Code/Data/Cinema/geproto_hazemove.txt
new file mode 100644
index 000000000..2eb4a434b
--- /dev/null
+++ b/GeneralsMD/Code/Data/Cinema/geproto_hazemove.txt
@@ -0,0 +1,9 @@
+# Haze motion over Scenarios/geproto_hazemove.txt on Golden Oasis. Fixed frames, no camera motion,
+# so whatever moves on screen is the haze or the units. Run with a -video range.
+
+0 hud off
+3 cut 3040 900 1.3 -45 0 # wide, the patches drifting with nothing in frame
+14 cut 3040 900 1.0 -45 0 # play distance: the Comanche comes in and hovers, leaves at 28
+32 cut 3000 950 1.0 -45 0 # the Crusaders cross the bank
+50 cut 3040 900 1.3 -45 0 # wide again for the Raptor's pass
+58 end
diff --git a/GeneralsMD/Code/Data/Scenarios/geproto_hazemove.txt b/GeneralsMD/Code/Data/Scenarios/geproto_hazemove.txt
new file mode 100644
index 000000000..d5a254cf6
--- /dev/null
+++ b/GeneralsMD/Code/Data/Scenarios/geproto_hazemove.txt
@@ -0,0 +1,22 @@
+# The -protoMapLight haze reacting to movers, on the low bank of the oasis on Golden Oasis
+# (Cinema/geproto_hazemove.txt): a Comanche flies in low and hovers, four Crusaders drive across,
+# then a Raptor passes over at cruise height. Nothing is in the frame for the first 10 s, so the
+# wide view shows the patches drifting on their own. Frames here count 30 a second.
+#
+# generals.exe -win -borderless -quickstart -noshellmap -multiInstance -fps 120 -noFPSLimit
+# -particlecap 2500 -map "Maps\Golden Oasis\Golden Oasis.map" -autoskirmish 2 -takeover
+# -observer -side 0 FactionAmerica -side 1 FactionChina -seed 1 -scenario geproto_hazemove
+# -cinema geproto_hazemove -video 180 3480 hazemove -maxframes 3540 [-protoMapLight]
+
+# the helicopter: in low from the south-west at 10 s, hovers over the bank, leaves at 28 s
+300 spawn 0 AmericaVehicleComanche 1 2500 650
+305 move 0 AmericaVehicleComanche 3040 900
+840 move 0 AmericaVehicleComanche 3500 1250
+
+# the tanks: across the bank through the middle of the frame from 30 s
+900 spawn 0 AmericaTankCrusader 4 2600 1150 40
+905 move 0 AmericaTankCrusader 3400 750
+
+# the jet: one pass over the same ground from 49 s
+1470 spawn 0 AmericaJetRaptor 1 2300 400
+1471 move 0 AmericaJetRaptor 3800 1400