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): mine field scenario and shot list for the minefx flare check

Olcay Seygan5784ab41ab98
diff --git a/GeneralsMD/Code/Data/Cinema/minefx.txt b/GeneralsMD/Code/Data/Cinema/minefx.txt
new file mode 100644
index 000000000..4ca243274
--- /dev/null
+++ b/GeneralsMD/Code/Data/Cinema/minefx.txt
@@ -0,0 +1,4 @@
+# minefx scenario on Alpine Assault: four China mines round 760,900, close and a little high.
+0 hud off
+0 cut 760 900 0.22 -45 20
+1.0 cut 760 900 0.22 -45 20
diff --git a/GeneralsMD/Code/Data/Scenarios/minefx.txt b/GeneralsMD/Code/Data/Scenarios/minefx.txt
new file mode 100644
index 000000000..61e483709
--- /dev/null
+++ b/GeneralsMD/Code/Data/Scenarios/minefx.txt
@@ -0,0 +1,7 @@
+# China mine field for the MineFX flare check (soft particles, D3D11 against -d3d9), Alpine Assault.
+# Seat 0 owns the mines, so the local player sees its own stealthed mines and their blink.
+30 spawn 0 ChinaStandardMine 1 700 900
+30 spawn 0 ChinaEMPMine 1 820 900
+30 spawn 0 ChinaStandardMine 1 760 860
+30 spawn 0 ChinaEMPMine 1 760 940
+30 spawn 0 ChinaInfantryRedguard 1 760 1010