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: scenarios and shot lists for the missile apex and scud launch films

Olcay Seyganab0984a4ba86
diff --git a/GeneralsMD/Code/Data/Cinema/missileapex_film.txt b/GeneralsMD/Code/Data/Cinema/missileapex_film.txt
new file mode 100644
index 000000000..6e2ec459b
--- /dev/null
+++ b/GeneralsMD/Code/Data/Cinema/missileapex_film.txt
@@ -0,0 +1,12 @@
+# The nuke and the Scud Storm climbing out of the top of the picture, Scenarios/missileapex_film.txt
+# on Twilight Flame. One locked-off frame at full zoom-out (zoom 1 is where StartAtMaxZoom opens the
+# match, 992 over the ground at pitch 0's 37.5 degrees), looking south with both silos low in the
+# picture and both targets 600 further on, so each missile rises off the top edge and comes back down
+# into the frame. The frame does not move: the top edge is what the clip is about.
+#
+# ...the scenario's switches... -cinema missileapex_film -video 100 540 missileapex_film -maxframes 550
+
+1.0 cut 2450 3557 1.0 180 0
+3.5 shot
+11.0 shot
+18.3 end
diff --git a/GeneralsMD/Code/Data/Cinema/scudlaunch_film.txt b/GeneralsMD/Code/Data/Cinema/scudlaunch_film.txt
new file mode 100644
index 000000000..e597755b9
--- /dev/null
+++ b/GeneralsMD/Code/Data/Cinema/scudlaunch_film.txt
@@ -0,0 +1,10 @@
+# The Scud Storm launch close up, Scenarios/scudlaunch_film.txt on Golden Oasis. The Scud Storm sits
+# in the middle of the frame at about half the full zoom-out, looking north with the sun to the
+# right, so each missile's shadow slides off to the left across the scrub as it climbs. A slow push
+# in runs over the launch.
+#
+# ...the scenario's switches... -cinema scudlaunch_film -video 100 330 scudlaunch_film -maxframes 340
+
+1.0 cut 2192 3537 0.55 0 6
+3.4 zoom 0.45 7.5
+11.2 end
diff --git a/GeneralsMD/Code/Data/Scenarios/missileapex_film.txt b/GeneralsMD/Code/Data/Scenarios/missileapex_film.txt
new file mode 100644
index 000000000..6f71dd330
--- /dev/null
+++ b/GeneralsMD/Code/Data/Scenarios/missileapex_film.txt
@@ -0,0 +1,16 @@
+# The nuke and the Scud Storm side by side on open ground in the middle of Twilight Flame, for a
+# film of both missiles leaving the top of the picture at full zoom-out (Cinema/missileapex_film.txt).
+# Seat 2's silo stands left of seat 3's Scud Storm as the camera sees them from the north (heading
+# 180). The Scud Storm fires first and lands about frame 330; the nuke is called at 260, leaves the
+# silo about 40 frames later and lands about frame 440, so the fireball closes the clip.
+#
+# generals.exe -win -borderless -xres 1920 -yres 1080 -fps 120 -noFPSLimit -quickstart -noshellmap
+# -observer -multiInstance -map "Maps\Twilight Flame\Twilight Flame.map" -autoskirmish 4 -takeover
+# -side 0 FactionChina -side 1 FactionGLA -side 2 FactionChina -side 3 FactionGLA -seed 1
+# -scenario missileapex_film -cinema missileapex_film -video 100 540 missileapex_film -maxframes 550
+
+10 spawn 2 ChinaNuclearMissileLauncher 1 2600 3900
+10 spawn 2 ChinaPowerPlant 3 2900 4000 90
+10 spawn 3 GLAScudStorm 1 2300 3900
+40 power 3 GLAScudStorm 2050 3300
+260 power 2 ChinaNuclearMissileLauncher 2850 3300
diff --git a/GeneralsMD/Code/Data/Scenarios/scudlaunch_film.txt b/GeneralsMD/Code/Data/Scenarios/scudlaunch_film.txt
new file mode 100644
index 000000000..214a397a0
--- /dev/null
+++ b/GeneralsMD/Code/Data/Scenarios/scudlaunch_film.txt
@@ -0,0 +1,12 @@
+# One GLA Scud Storm on the open scrub of Golden Oasis (UI-MAP's empty ground at 2192,3537), fired
+# at frame 40 at a point 1200 to the south, for a close film of the launch: the missiles rising and
+# their shadows sliding across the ground (Cinema/scudlaunch_film.txt). The missiles leave the silo
+# from about frame 137.
+#
+# generals.exe -win -borderless -xres 1920 -yres 1080 -fps 120 -noFPSLimit -quickstart -noshellmap
+# -observer -multiInstance -map "Maps\Golden Oasis\Golden Oasis.map" -autoskirmish 2 -takeover
+# -side 0 FactionChina -side 1 FactionGLA -seed 1 -scenario scudlaunch_film
+# -cinema scudlaunch_film -video 100 330 scudlaunch_film -maxframes 340
+
+10 spawn 1 GLAScudStorm 1 2192 3537
+40 power 1 GLAScudStorm 2192 2337