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): china mine field on tournament desert sand for led shots

Olcay Seygan2406222b0193
diff --git a/GeneralsMD/Code/Data/Cinema/minefx_desert.txt b/GeneralsMD/Code/Data/Cinema/minefx_desert.txt
new file mode 100644
index 000000000..62565a5c8
--- /dev/null
+++ b/GeneralsMD/Code/Data/Cinema/minefx_desert.txt
@@ -0,0 +1,13 @@
+# Scenarios/minefx_desert.txt from the player's own camera: no camera verb, so the view keeps the
+# zoom, heading and tilt the match opened with, parked on the field by -camera 1020 1250. Three stills
+# over two seconds once the mines sit; the -video range holds every frame between.
+#
+# generals.exe -win -borderless -xres 1920 -yres 1080 -msaa 0 -quickstart -noshellmap
+# -multiInstance -fps 120 -noFPSLimit -particlecap 2500
+# -map "Maps\Tournament Desert\Tournament Desert.map" -autoskirmish 2 -takeover
+# -side 0 FactionChina -side 1 FactionAmerica -seed 1 -camera 1020 1250
+# -scenario minefx_desert -cinema minefx_desert -video 170 250 minefx_desert -maxframes 260
+
+6.0 shot
+7.0 shot
+8.0 shot
diff --git a/GeneralsMD/Code/Data/Scenarios/minefx_desert.txt b/GeneralsMD/Code/Data/Scenarios/minefx_desert.txt
new file mode 100644
index 000000000..a8b30656c
--- /dev/null
+++ b/GeneralsMD/Code/Data/Scenarios/minefx_desert.txt
@@ -0,0 +1,21 @@
+# China mine LEDs on sand, the desert counterpart of minefx_player (Alpine Assault grass): two
+# standard and two EMP mine fields on the open ground north of the Tournament Desert crossroads, two
+# supply trucks driving past for sight and traffic. Seen from the player's own camera, no camera verb
+# (Cinema/minefx_desert.txt). The LEDs blink on 8 frames in about 52, so frames 170 to 250 hold a lit
+# frame of each colour.
+#
+# generals.exe -win -borderless -xres 1920 -yres 1080 -msaa 0 -quickstart -noshellmap
+# -multiInstance -fps 120 -noFPSLimit -particlecap 2500
+# -map "Maps\Tournament Desert\Tournament Desert.map" -autoskirmish 2 -takeover
+# -side 0 FactionChina -side 1 FactionAmerica -seed 1 -camera 1020 1250
+# -scenario minefx_desert -cinema minefx_desert -video 170 250 minefx_desert -maxframes 260
+
+# the field
+30 spawn 0 ChinaStandardMine 1 940 1230
+30 spawn 0 ChinaEMPMine 1 1060 1230
+30 spawn 0 ChinaStandardMine 1 1000 1190
+30 spawn 0 ChinaEMPMine 1 1000 1290
+
+# traffic past the field
+30 spawn 0 ChinaVehicleSupplyTruck 2 1260 1180 40
+40 move 0 ChinaVehicleSupplyTruck 760 1180