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): note the camera the fog edge view needs

Olcay Seyganbb82d7a290c3
diff --git a/GeneralsMD/Code/Data/Scenarios/geproto_fogedge.txt b/GeneralsMD/Code/Data/Scenarios/geproto_fogedge.txt
index 819e759a3..01eab9e84 100644
--- a/GeneralsMD/Code/Data/Scenarios/geproto_fogedge.txt
+++ b/GeneralsMD/Code/Data/Scenarios/geproto_fogedge.txt
@@ -6,7 +6,9 @@
# generals.exe -win -borderless -quickstart -noshellmap -multiInstance -fps 120 -noFPSLimit
# -particlecap 2500 -map "Maps\Golden Oasis\Golden Oasis.map" -autoskirmish 2 -takeover
# -side 0 FactionAmerica -side 1 FactionChina -seed 1 -scenario geproto_fogedge
-# -camera 2250 3537 -screenshot 600 -maxframes 640 [-protoMapLight]
+# -camera 2000 3537 -screenshot 600 -maxframes 640 [-protoMapLight]
+#
+# At -camera 2250 the whole frame is inside the Humvee's sight; at 2000 the left third is fogged.
30 spawn 0 AmericaVehicleHumvee 1 2000 3537
45 move 0 AmericaVehicleHumvee 2400 3537