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.
C++ cmakecnccommand-and-conquercppdirectx11game-enginegame-preservationgeneralsrtssage-enginex64zero-hour
test(cinema): jet break-off footage, four takes over jetbreak_film
Olcay Seygan70abad32516a
diff --git a/GeneralsMD/Code/Data/Cinema/jetbreak_headon.txt b/GeneralsMD/Code/Data/Cinema/jetbreak_headon.txtnew file mode 100644index 000000000..d707c14be--- /dev/null+++ b/GeneralsMD/Code/Data/Cinema/jetbreak_headon.txt@@ -0,0 +1,16 @@+# The Raptor's run in Scenarios/jetbreak_film.txt on Twilight Flame from the target's side: looking+# west (heading 90) over the Overlord at the jet coming in, recorded at 120 a second for a half-speed+# cut. It fires about 7.4 s and banks away south (left of frame) at 7.7 s before it reaches the tank;+# the jet's height carries it up the frame, away from the tank, so the gap reads no smaller than it+# is. A first take looking at 2120,3290 left the Overlord under the bottom edge.+#+# generals.exe -win -borderless -xres 1920 -yres 1080 -fps 120 -noFPSLimit -particlecap 2500+# -quickstart -noshellmap -observer -multiInstance -map "Maps\Twilight Flame\Twilight Flame.map"+# -autoskirmish 2 -takeover -side 0 FactionAmerica -side 1 FactionChina -seed 7+# -scenario jetbreak_film -cinema jetbreak_headon -recordfps 120 -video 400 620 jb_headon+# -wav 400 620 jb_headon -maxframes 630++0.0 cut 2190 3240 0.95 90 0+6.6 zoom 0.85 3.6+7.4 shot+8.0 shotdiff --git a/GeneralsMD/Code/Data/Cinema/jetbreak_mig.txt b/GeneralsMD/Code/Data/Cinema/jetbreak_mig.txtnew file mode 100644index 000000000..a5f27ba51--- /dev/null+++ b/GeneralsMD/Code/Data/Cinema/jetbreak_mig.txt@@ -0,0 +1,14 @@+# The MiG's run in Scenarios/jetbreak_film.txt on Twilight Flame, followed from the rear quarter+# (heading -45) so its napalm missiles at 8.05 and 8.4 s and the Battle Master ahead are in one+# frame, then the turn away.+#+# generals.exe -win -borderless -xres 1920 -yres 1080 -fps 120 -noFPSLimit -particlecap 2500+# -quickstart -noshellmap -observer -multiInstance -map "Maps\Twilight Flame\Twilight Flame.map"+# -autoskirmish 2 -takeover -side 0 FactionAmerica -side 1 FactionChina -seed 7+# -scenario jetbreak_film -cinema jetbreak_mig -recordfps 120 -video 360 780 jb_mig+# -wav 360 780 jb_mig -maxframes 790++0.0 cut 1000 3650 0.75 -45 0+1.2 follow ChinaJetMIG+8.1 shot+8.8 shotdiff --git a/GeneralsMD/Code/Data/Cinema/jetbreak_raptor.txt b/GeneralsMD/Code/Data/Cinema/jetbreak_raptor.txtnew file mode 100644index 000000000..0827e4f00--- /dev/null+++ b/GeneralsMD/Code/Data/Cinema/jetbreak_raptor.txt@@ -0,0 +1,16 @@+# The Raptor's run in Scenarios/jetbreak_film.txt on Twilight Flame, ridden from behind the tail+# (heading -90, looking east along its flight) so the Overlord sits ahead of it in frame: missiles+# off the rails from about 7.4 s, the break-off at 7.7 s, and the camera swinging round to the side+# as the jet banks away short of the tank.+#+# generals.exe -win -borderless -xres 1920 -yres 1080 -fps 120 -noFPSLimit -particlecap 2500+# -quickstart -noshellmap -observer -multiInstance -map "Maps\Twilight Flame\Twilight Flame.map"+# -autoskirmish 2 -takeover -side 0 FactionAmerica -side 1 FactionChina -seed 7+# -scenario jetbreak_film -cinema jetbreak_raptor -recordfps 120 -video 300 720 jb_raptor+# -wav 300 720 jb_raptor -maxframes 730++0.0 cut 1000 3300 0.75 -90 0+1.2 follow AmericaJetRaptor+7.4 shot+7.6 orbit 60 3.0+8.5 shotdiff --git a/GeneralsMD/Code/Data/Cinema/jetbreak_wide.txt b/GeneralsMD/Code/Data/Cinema/jetbreak_wide.txtnew file mode 100644index 000000000..7c3e794bb--- /dev/null+++ b/GeneralsMD/Code/Data/Cinema/jetbreak_wide.txt@@ -0,0 +1,17 @@+# The Raptor's break-off over Scenarios/jetbreak_film.txt on Twilight Flame, side on: looking north+# (heading 0) across its lane, so it comes in from the left, fires from range at the Overlord+# driving south and turns away before reaching it. Side on, the jet's height moves it up the frame+# and not along its track, so where it turns against the tank's x is true. Raptor fires about 7.4 s+# and breaks off at 7.7 s (headless log of the same seed). A first take at 2150,3400, zoom 1.15 had+# a ridge filling the frame and the tank under the bottom edge.+#+# generals.exe -win -borderless -xres 1920 -yres 1080 -fps 120 -noFPSLimit -particlecap 2500+# -quickstart -noshellmap -observer -multiInstance -map "Maps\Twilight Flame\Twilight Flame.map"+# -autoskirmish 2 -takeover -side 0 FactionAmerica -side 1 FactionChina -seed 7+# -scenario jetbreak_film -cinema jetbreak_wide -recordfps 120 -video 390 660 jb_wide+# -wav 390 660 jb_wide -maxframes 670++0.0 cut 2180 3220 1.0 0 0+6.5 move 2230 3180 4.5+7.5 shot+9.0 shotdiff --git a/GeneralsMD/Code/Data/Scenarios/jetbreak_film.txt b/GeneralsMD/Code/Data/Scenarios/jetbreak_film.txtnew file mode 100644index 000000000..9b8bcf539--- /dev/null+++ b/GeneralsMD/Code/Data/Scenarios/jetbreak_film.txt@@ -0,0 +1,25 @@+# Scenarios/jetbreak.txt staged for the camera: the same four jets sent head-on at the same four+# tanks, but each tank drives 300 south from the moment the jets are ordered in, the way+# jetpass.txt moves them, so nothing in frame stands still for the camera. Cinema/jetbreak_*.txt+# film it; the command lines are in their headers.++30 spawn 1 ChinaTankOverlord 1 2250 3300+30 spawn 0 AmericaJetRaptor 1 1000 3300+31 move 0 AmericaJetRaptor 4400 3300+30 spawn 1 ChinaTankBattleMaster 1 2200 3650+30 spawn 0 ChinaJetMIG 1 1000 3650+31 move 0 ChinaJetMIG 4400 3650+30 spawn 1 AmericaTankCrusader 1 2200 4000+30 spawn 0 AmericaJetAurora 1 1000 4000+31 move 0 AmericaJetAurora 4400 4000+30 spawn 1 GLATankScorpion 1 2200 4350+30 spawn 0 AmericaJetStealthFighter 1 1000 4350+31 move 0 AmericaJetStealthFighter 4400 4350+100 attack 0 AmericaJetRaptor 1 ChinaTankOverlord+100 move 1 ChinaTankOverlord 2250 3000+100 attack 0 ChinaJetMIG 1 ChinaTankBattleMaster+100 move 1 ChinaTankBattleMaster 2200 3350+100 attack 0 AmericaJetAurora 1 AmericaTankCrusader+100 move 1 AmericaTankCrusader 2200 3700+100 attack 0 AmericaJetStealthFighter 1 GLATankScorpion+100 move 1 GLATankScorpion 2200 4050