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.

fix(cinema): frame the trailer battles instead of one edge unit

Olcay Seygan3c05c7f20c6f
diff --git a/GeneralsMD/Code/Data/Cinema/tr_arrival.txt b/GeneralsMD/Code/Data/Cinema/tr_arrival.txt
index 27714338c..fcf5697be 100644
--- a/GeneralsMD/Code/Data/Cinema/tr_arrival.txt
+++ b/GeneralsMD/Code/Data/Cinema/tr_arrival.txt
@@ -1,13 +1,15 @@
-# Trailer: two hundred mixed units filling the point they were sent to, seen from above the point.
-# They cross the whole of Twilight Flame to get there, so the filming starts at 45 seconds.
+# Trailer: two hundred mixed units filling the point they were sent to. The camera sits over the
+# destination, 1135,3900 on Twilight Flame, wide enough to hold the column that is still arriving
+# and the crowd that has already packed itself in.
#
# generals.exe -borderless -msaa 0 -quickstart -noshellmap -multiInstance
# -map "Maps\Twilight Flame\Twilight Flame.map" -autoskirmish 2 -takeover -seed 7 -peacetime 20
# -scenario trailer_arrival -cinema tr_arrival -video 810 1350 tr_arrival -maxframes 1370
#
-# 1733,4405 is slot 1's start on that map, which is where the crowd is sent.
+# They come in from around 537,3600, so heading -45 has them walking into frame from the left.
-27 cut 1135 3900 0.6 0 -30
-28 zoom 0.42 16
-28 orbit 25 16
+26 cut 1080 3860 1.0 -45 -14
+27 zoom 0.85 14
+27 orbit 22 16
+43 pitch -24 3
45 end
diff --git a/GeneralsMD/Code/Data/Cinema/tr_clash.txt b/GeneralsMD/Code/Data/Cinema/tr_clash.txt
index 600adc661..42d9ccbd7 100644
--- a/GeneralsMD/Code/Data/Cinema/tr_clash.txt
+++ b/GeneralsMD/Code/Data/Cinema/tr_clash.txt
@@ -1,17 +1,17 @@
-# Trailer: the middle of a combined-arms fight, ridden from beside a tank and then pulled up over it.
-# No letterbox: the interface goes, the picture stays the full frame.
+# Trailer: the middle of a combined-arms fight, wide enough that both fronts are in one frame, with
+# the second wave from the scenario arriving at frame 930. The look point is the midpoint of the two
+# starts on Twilight Flame, 1135,3696.
#
# generals.exe -borderless -msaa 0 -quickstart -noshellmap -observer -multiInstance
# -particlecap 2500 -map "Maps\Twilight Flame\Twilight Flame.map" -autoskirmish 2 -takeover
# -side 0 FactionAmerica -side 1 FactionChina -seed 7 -scenario trailer_clash
-# -cinema tr_clash -video 780 1320 tr_clash -maxframes 1340
+# -cinema tr_clash -video 900 1440 tr_clash -maxframes 1460
+#
+# Heading -45 puts the American line on the left of the frame and the Chinese on the right. Wider
+# than zoom 1.1 and the unexplored ground round the fight comes into shot as black.
-25 pitch -6 2
-26 follow ChinaTankBattleMaster 10
-26 zoom 0.45 5
-31 orbit 40 10
-36 unfollow
-36 zoom 0.9 5
-36 pitch -18 5
-41 follow AmericaTankCrusader 6
-44 end
+29 cut 1135 3696 1.05 -45 -16
+30 zoom 0.8 14
+30 orbit 28 18
+44 pitch -26 4
+48 end
diff --git a/GeneralsMD/Code/Data/Cinema/tr_corridor.txt b/GeneralsMD/Code/Data/Cinema/tr_corridor.txt
index f963fae4f..cfb27b27c 100644
--- a/GeneralsMD/Code/Data/Cinema/tr_corridor.txt
+++ b/GeneralsMD/Code/Data/Cinema/tr_corridor.txt
@@ -1,15 +1,19 @@
-# Trailer: the column narrowing where the map narrows and opening out again on the other side. The
-# camera rides one tank through it, so the lanes go past the frame rather than the frame past them.
+# Trailer: the column narrowing where Alpine Assault narrows, at the town in the middle of the map.
+# The camera travels down the line of march at about the speed the tanks make, so the lanes form and
+# re-form inside a held frame instead of the frame chasing one tank.
#
# generals.exe -borderless -msaa 0 -quickstart -noshellmap -multiInstance
# -map "Maps\Alpine Assault\Alpine Assault.map" -autoskirmish 2 -takeover -seed 3 -peacetime 20
-# -scenario trailer_corridor -cinema tr_corridor -video 900 1440 tr_corridor -maxframes 1460
+# -scenario trailer_corridor -cinema tr_corridor -video 300 660 tr_corridor -maxframes 680
+#
+# The column spawns around 1363,2266, is ordered off at frame 90 and is sent to 1063,428. It clears
+# the town by second 28, so the old list, which started filming at second 30, was pointed at the
+# ground behind it. The camera drifts about half as fast as the tanks and lets them come through the
+# frame; running it at their own speed put the camera in front of the column by second 20.
-29 pitch -10 2
-29 zoom 0.3 3
-30 follow AmericaTankCrusader 18
-38 orbit 35 10
-48 unfollow
-48 zoom 0.75 4
-48 pitch -24 4
-52 end
+9 cut 1310 1960 1.0 -45 -14
+10 route 12 1260 1780 1210 1620
+10 zoom 0.85 10
+10 orbit 22 12
+20 pitch -24 2
+22 end
diff --git a/GeneralsMD/Code/Data/Cinema/tr_open.txt b/GeneralsMD/Code/Data/Cinema/tr_open.txt
index 734a5db5e..417d4eea0 100644
--- a/GeneralsMD/Code/Data/Cinema/tr_open.txt
+++ b/GeneralsMD/Code/Data/Cinema/tr_open.txt
@@ -1,13 +1,17 @@
-# Trailer, cold open: the guns firing at the moment the two armies meet, from among them.
+# Trailer, cold open: the moment the two lines meet, held from one side of the contact so both
+# fronts stay in frame. The camera is aimed at the midpoint of the two starts, 1135,3696, which is
+# where the armies run into each other around frame 780.
#
# generals.exe -borderless -msaa 0 -quickstart -noshellmap -observer -multiInstance
# -particlecap 2500 -map "Maps\Twilight Flame\Twilight Flame.map" -autoskirmish 2 -takeover
# -side 0 FactionAmerica -side 1 FactionChina -seed 7 -scenario trailer_clash
-# -cinema tr_open -video 690 1050 tr_open -maxframes 1070
+# -cinema tr_open -video 780 1140 tr_open -maxframes 1160
+#
+# No follow. A follow here picked whichever unit of its template happened to be nearest the camera's
+# old look point, which under -observer is the match's opening camera, nowhere near the fight.
-22 pitch -8 2
-22 zoom 0.32 3
-23 follow ChinaVehicleInfernoCannon 7
-30 follow AmericaTankCrusader 5
-30 orbit 25 5
-35 end
+25 cut 1135 3696 0.9 -45 -12
+26 zoom 0.62 10
+26 orbit 20 12
+34 pitch -20 4
+38 end