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
docs(cinema): scenarios and shot lists for the 2.4.0 video
Olcay Seyganfbb28f3bb6d5
diff --git a/GeneralsMD/Code/Data/Cinema/v240_heli.txt b/GeneralsMD/Code/Data/Cinema/v240_heli.txtnew file mode 100644index 000000000..4ebf78617--- /dev/null+++ b/GeneralsMD/Code/Data/Cinema/v240_heli.txt@@ -0,0 +1,12 @@+# The 2.4.0 video's helicopter takes over Scenarios/v240_heli.txt on Fortress Avalanche: the+# backward flight over the left lake (frames 140 to 310), the strafe past the Overlord (375 to 540)+# and the gattling Helix with the Crusader circling it (900 to 1110). Each camera stands where the+# helicopter films' did relative to its subject.++4.6 cut 1850 2125 0.24 0 0+4.7 follow AmericaVehicleComanche+12.5 cut 1000 2000 0.24 180 4+12.6 follow SupW_AmericaVehicleComanche+30.0 cut 3300 2000 0.3 0 4+30.1 follow ChinaVehicleHelix+37.2 enddiff --git a/GeneralsMD/Code/Data/Cinema/v240_hook.txt b/GeneralsMD/Code/Data/Cinema/v240_hook.txtnew file mode 100644index 000000000..7eb6a04d6--- /dev/null+++ b/GeneralsMD/Code/Data/Cinema/v240_hook.txt@@ -0,0 +1,7 @@+# The 2.4.0 video's opening, wide: Scenarios/v240_hook.txt on Fortress Avalanche, the three armies+# meeting on 1000,2100 under the nuke, the particle beam and the SCUD storm. Slow push-in and turn.++26.0 cut 1000 2100 0.75 45 8+26.1 zoom 0.6 24+26.1 orbit 15 24+50.3 enddiff --git a/GeneralsMD/Code/Data/Cinema/v240_hook2.txt b/GeneralsMD/Code/Data/Cinema/v240_hook2.txtnew file mode 100644index 000000000..481239557--- /dev/null+++ b/GeneralsMD/Code/Data/Cinema/v240_hook2.txt@@ -0,0 +1,5 @@+# The 2.4.0 video's opening, close and low from the other side: the same match as v240_hook.txt,+# looking the opposite way over the American line, held still so the fight crosses the frame.++26.0 cut 1000 2100 0.45 -135 14+50.3 enddiff --git a/GeneralsMD/Code/Data/Cinema/v240_md.txt b/GeneralsMD/Code/Data/Cinema/v240_md.txtnew file mode 100644index 000000000..6bcc298b0--- /dev/null+++ b/GeneralsMD/Code/Data/Cinema/v240_md.txt@@ -0,0 +1,10 @@+# The 2.4.0 video's missile defence takes over Scenarios/v240_md.txt on Fortress Avalanche. Each+# camera stands where the missile defence film's did relative to its fight, cut a second or so+# before the fight starts. The Raptor camera looks north with the right lake behind the Stinger Site.++4.0 cut 1000 1990 0.2 0 6+4.1 follow AmericaTankAvenger+10.0 cut 3300 1930 0.2 0 6+10.1 follow AmericaTankPaladin+18.5 cut 2870 1930 0.24 0 0+23.5 enddiff --git a/GeneralsMD/Code/Data/Cinema/v240_tank.txt b/GeneralsMD/Code/Data/Cinema/v240_tank.txtnew file mode 100644index 000000000..47ee517dc--- /dev/null+++ b/GeneralsMD/Code/Data/Cinema/v240_tank.txt@@ -0,0 +1,9 @@+# The 2.4.0 video's tank takes over Scenarios/v240_tank.txt on Fortress Avalanche: the Marauder+# passing the Troop Crawlers (frames 190 to 390) and the Crusader pulling away, braking and backing+# up (400 to 700).++6.3 cut 1000 2000 0.2 0 6+6.4 follow GLATankMarauder+13.3 cut 850 2400 0.15 0 8+13.4 follow AmericaTankCrusader+23.6 enddiff --git a/GeneralsMD/Code/Data/Scenarios/v240_heli.txt b/GeneralsMD/Code/Data/Scenarios/v240_heli.txtnew file mode 100644index 000000000..1aee989c9--- /dev/null+++ b/GeneralsMD/Code/Data/Scenarios/v240_heli.txt@@ -0,0 +1,34 @@+# Three helicopter moments for the 2.4.0 video in the green middle of Fortress Avalanche, each far+# enough from the others not to meet: a Comanche sent 300 behind itself over the left lake, a SupW+# Comanche ordered across in front of the Overlord it is shooting on the grass west of it, and a+# gattling Helix with a Crusader driving circles round it on the grass east of the right lake.+#+# generals.exe -win -xres 1920 -yres 1080 -msaa 0 -quickstart -noshellmap -observer -multiInstance+# -particlecap 2500 -map "Maps\Fortress Avalanche\Fortress Avalanche.map" -autoskirmish 2+# -takeover -side 0 FactionAmerica -side 1 FactionChina -seed 7 -scenario v240_heli+# -cinema v240_heli -video 140 1110 v240_heli -maxframes 1120+#+# The spacing inside each moment is helislide.txt's and helixturret.txt's.++30 spawn 0 AmericaVehicleComanche 1 1850 2125+150 move 0 AmericaVehicleComanche 1550 2125++30 spawn 1 ChinaTankOverlord 1 1120 2120+30 spawn 0 SupW_AmericaVehicleComanche 1 1000 2000+330 attack 0 SupW_AmericaVehicleComanche 1 ChinaTankOverlord+390 move 0 SupW_AmericaVehicleComanche 1240 2000++30 spawn 1 ChinaVehicleHelix 1 3300 2000+40 shiftupgrade 1 ChinaVehicleHelix Upgrade_ChinaHelixGattlingCannon+700 spawn 0 AmericaTankCrusader 1 3400 2000+720 attack 1 ChinaVehicleHelix 0 AmericaTankCrusader+740 move 0 AmericaTankCrusader 3371 2071+800 move 0 AmericaTankCrusader 3300 2100+860 move 0 AmericaTankCrusader 3229 2071+920 move 0 AmericaTankCrusader 3200 2000+980 move 0 AmericaTankCrusader 3229 1929+1040 move 0 AmericaTankCrusader 3300 1900+1100 move 0 AmericaTankCrusader 3371 1929++1100 tally 0 AmericaTankCrusader+1100 tally 1 ChinaTankOverlorddiff --git a/GeneralsMD/Code/Data/Scenarios/v240_hook.txt b/GeneralsMD/Code/Data/Scenarios/v240_hook.txtnew file mode 100644index 000000000..28a98c0f8--- /dev/null+++ b/GeneralsMD/Code/Data/Scenarios/v240_hook.txt@@ -0,0 +1,63 @@+# The opening shot of the 2.4.0 video: trailer_chaos.txt's three armies, general's powers and three+# superweapons moved to the open grass in the west of Fortress Avalanche, a bright map, by the same+# offset (-135,-1596) for every unit and target, so the fight centres on 1000,2100 instead of+# Twilight Flame's 1135,3696. The superweapons and command centres stay at the start positions.+#+# generals.exe -win -xres 1920 -yres 1080 -msaa 0 -quickstart -noshellmap -observer -multiInstance+# -particlecap 5000 -map "Maps\Fortress Avalanche\Fortress Avalanche.map" -autoskirmish 3+# -takeover -side 0 FactionAmerica -side 1 FactionChina -side 2 FactionGLA -seed 7+# -scenario v240_hook -cinema v240_hook -video 800 1500 v240_hook -maxframes 1510++10 spawn 0 AmericaParticleCannonUplink 1 start0:0:-200+10 spawn 0 AmericaPowerPlant 3 start0:-260:40 90+10 spawn 0 AmericaCommandCenter 1 start0:240:60+10 spawn 1 ChinaNuclearMissileLauncher 1 start1:0:200+10 spawn 1 ChinaPowerPlant 3 start1:260:-40 90+10 spawn 1 ChinaCommandCenter 1 start1:-260:60+10 spawn 2 GLAScudStorm 1 start2:0:200+10 spawn 2 GLACommandCenter 1 start2:-260:0++30 spawn 0 AmericaTankCrusader 12 655 1824 36+30 spawn 0 AmericaTankPaladin 6 565 1924 40+30 spawn 0 AmericaVehicleTomahawk 4 555 1784 40+30 spawn 0 AmericaTankMicrowave 3 725 1734 40+30 spawn 0 AmericaInfantryRanger 16 745 1884 18+30 spawn 0 AmericaVehicleComanche 6 565 1704 60+30 spawn 0 AmericaJetRaptor 4 505 1654 70+30 spawn 1 ChinaTankOverlord 5 1345 2384 50+30 spawn 1 ChinaTankBattleMaster 10 1265 2444 40+30 spawn 1 ChinaTankGattling 5 1425 2304 36+30 spawn 1 ChinaTankDragon 4 1245 2324 36+30 spawn 1 ChinaVehicleInfernoCannon 4 1405 2464 40+30 spawn 1 ChinaInfantryRedguard 16 1195 2414 18+30 spawn 1 ChinaVehicleHelix 3 1465 2454 60+30 spawn 1 ChinaJetMIG 4 1515 2524 70+30 spawn 2 GLATankScorpion 10 1325 1804 36+30 spawn 2 GLATankMarauder 5 1405 1844 40+30 spawn 2 GLAVehicleRocketBuggy 6 1265 1734 32+30 spawn 2 GLAVehicleQuadCannon 4 1385 1734 36+30 spawn 2 GLAVehicleToxinTruck 3 1465 1784 36+30 spawn 2 GLAVehicleTechnical 6 1245 1864 30+30 spawn 2 GLAInfantryRebel 16 1315 1904 18+60 attackmove 0 * 1000 2100+60 attackmove 1 * 1000 2100+60 attackmove 2 * 1000 2100++600 spawn 0 AmericaTankCrusader 8 655 1824 36+600 spawn 0 AmericaTankPaladin 4 565 1924 40+600 spawn 1 ChinaTankBattleMaster 8 1265 2444 40+600 spawn 1 ChinaTankOverlord 3 1345 2384 50+600 spawn 2 GLATankScorpion 8 1325 1804 36+600 spawn 2 GLATankMarauder 3 1405 1844 40+630 attackmove 0 * 1000 2100+630 attackmove 1 * 1000 2100+630 attackmove 2 * 1000 2100++450 power 0 AmericaCommandCenter 1000 2100 SuperweaponSpectreGunship+560 power 0 AmericaCommandCenter 845 2004 SuperweaponA10ThunderboltMissileStrike+640 power 1 ChinaCommandCenter 1165 2104 Early_SuperweaponChinaCarpetBomb+700 power 2 GLACommandCenter 1015 1964 SuperweaponAnthraxBomb++830 power 1 ChinaNuclearMissileLauncher 925 2194+930 power 0 AmericaParticleCannonUplink 945 2144+930 power 2 GLAScudStorm 1065 2044diff --git a/GeneralsMD/Code/Data/Scenarios/v240_md.txt b/GeneralsMD/Code/Data/Scenarios/v240_md.txtnew file mode 100644index 000000000..03e956544--- /dev/null+++ b/GeneralsMD/Code/Data/Scenarios/v240_md.txt@@ -0,0 +1,31 @@+# Three of missiledefence.txt's fights moved to the green middle of Fortress Avalanche and run one+# after another, so a single camera films each in one run: an Avenger under five Tank Hunters on the+# open grass west of the left lake, a Paladin under four Rocket Buggies on the grass east of the+# right lake, and two King Raptors making passes over a Stinger Site south of the right lake. Each+# fight keeps missiledefence.txt's own spacing; only the place and the start frame changed.+#+# generals.exe -win -xres 1920 -yres 1080 -msaa 0 -quickstart -noshellmap -observer -multiInstance+# -particlecap 2500 -map "Maps\Fortress Avalanche\Fortress Avalanche.map" -autoskirmish 2+# -takeover -side 0 FactionAmerica -side 1 FactionGLA -seed 7 -scenario v240_md+# -cinema v240_md -video 120 700 v240_md -maxframes 710+#+# Takes: Avenger 128 to 200, Paladin and buggies 322 to 375, Raptors 578 to 685.++30 spawn 0 AmericaTankAvenger 1 1000 1950+30 spawn 1 ChinaInfantryTankHunter 5 1000 2200 18+60 attack 1 ChinaInfantryTankHunter 0 AmericaTankAvenger++230 spawn 0 AmericaTankPaladin 1 3300 1900+230 spawn 1 GLAVehicleRocketBuggy 4 3300 2200 30+260 attackmove 1 GLAVehicleRocketBuggy 3300 1900++30 spawn 1 GLAStingerSite 1 2850 1800+380 spawn 0 AirF_AmericaJetRaptor 2 1950 1800 40+410 move 0 AirF_AmericaJetRaptor 3750 1800+410 shiftmove 0 AirF_AmericaJetRaptor 1950 1800+410 shiftmove 0 AirF_AmericaJetRaptor 3750 1800++60 tally 0 AmericaTankAvenger+400 tally 0 AmericaTankAvenger+400 tally 0 AmericaTankPaladin+700 tally 0 AirF_AmericaJetRaptordiff --git a/GeneralsMD/Code/Data/Scenarios/v240_tank.txt b/GeneralsMD/Code/Data/Scenarios/v240_tank.txtnew file mode 100644index 000000000..abd361513--- /dev/null+++ b/GeneralsMD/Code/Data/Scenarios/v240_tank.txt@@ -0,0 +1,23 @@+# Two tank moments for the 2.4.0 video on the open grass in the west of Fortress Avalanche:+# driveby.txt's Marauder sent past four Troop Crawlers with no attack order, then a Crusader 300+# further north that pulls away east, brakes, and is sent 90 behind itself.+#+# generals.exe -win -xres 1920 -yres 1080 -msaa 0 -quickstart -noshellmap -observer -multiInstance+# -particlecap 2500 -map "Maps\Fortress Avalanche\Fortress Avalanche.map" -autoskirmish 2+# -takeover -side 0 FactionAmerica -side 1 FactionChina -seed 1 -scenario v240_tank+# -cinema v240_tank -video 190 700 v240_tank -maxframes 710+#+# Since 2.4.0 the Marauder's turret turns and fires on the move, and the Crusader backs up where it+# used to spin round on the spot.++5 spawn 0 GLATankMarauder 1 750 2000+20 spawn 1 ChinaVehicleTroopCrawler 4 1000 2100 14+30 playermove 0 GLATankMarauder 1250 2000++400 spawn 0 AmericaTankCrusader 1 800 2400+430 move 0 AmericaTankCrusader 1000 2400+560 move 0 AmericaTankCrusader 910 2400++20 tally 1 ChinaVehicleTroopCrawler+400 tally 1 ChinaVehicleTroopCrawler+700 tally 0 AmericaTankCrusader