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): nuke and scud storm side by side scenario and shots
Olcay Seygan538ae00bd458
diff --git a/GeneralsMD/Code/Data/Cinema/swpair_nuke.txt b/GeneralsMD/Code/Data/Cinema/swpair_nuke.txtnew file mode 100644index 000000000..0e7f2fb36--- /dev/null+++ b/GeneralsMD/Code/Data/Cinema/swpair_nuke.txt@@ -0,0 +1,8 @@+# Scenarios/swpair.txt, the nuke: wide enough that the whole ring town round 1500,3450 sits in the+# frame out to the supply centre at 340, so the centre dying first and the destruction moving out+# to each ring reads. A little flatter than nukefade's overhead so the buildings stand up against the+# ground and the warp has edges to bend. Held, no move, so a side by side lines up.+#+# ...the scenario's switches... -cinema swpair_nuke -video 200 650 swpair_nuke -maxframes 660++0.5 cut 1500 3450 1.6 -45 -16diff --git a/GeneralsMD/Code/Data/Cinema/swpair_scud.txt b/GeneralsMD/Code/Data/Cinema/swpair_scud.txtnew file mode 100644index 000000000..8018e2d5d--- /dev/null+++ b/GeneralsMD/Code/Data/Cinema/swpair_scud.txt@@ -0,0 +1,7 @@+# Scenarios/swpair.txt, the Scud Storm on the block round 950,3850, framed like nukewarp (zoom 1.0,+# pitch -10, heading -45) so the pull and the ring wave sit over buildings and the nine impacts+# spread inside the frame. Held, no move, so a side by side lines up.+#+# ...the scenario's switches... -cinema swpair_scud -video 1000 1450 swpair_scud -maxframes 1460++0.5 cut 950 3850 1.0 -45 -10diff --git a/GeneralsMD/Code/Data/Scenarios/swpair.txt b/GeneralsMD/Code/Data/Scenarios/swpair.txtnew file mode 100644index 000000000..85df9756e--- /dev/null+++ b/GeneralsMD/Code/Data/Scenarios/swpair.txt@@ -0,0 +1,44 @@+# The nuke and the Scud Storm on Twilight Flame, each on its own American town, far enough apart+# that neither touches the other's, for a side by side of the two blasts. The nuke's town is laid+# out in rings round 1500,3450 (command centre, then power plants at 130, barracks and Patriots at+# 240, a strategy centre and a supply centre at 340) so destruction spreading outward has something+# to reach at each distance. The Scud Storm's block sits round 950,3850, about 690 from the nuke.+#+# Nuke called at 100, lands about 264. Scud Storm called at 700, lands from about 1080 to 1155+# (blastcheck and explreel measured 378 to 455 frames from call to first impact).+#+# generals.exe -win -borderless -xres 1920 -yres 1080 -msaa 0 -particlecap 5000 -fps 120+# -noFPSLimit -quickstart -noshellmap -observer -multiInstance+# -map "Maps\Twilight Flame\Twilight Flame.map" -autoskirmish 3 -takeover+# -side 0 FactionAmerica -side 1 FactionChina -side 2 FactionGLA -seed 7 -scenario swpair+# -cinema swpair_nuke -video 200 650 swpair_nuke -maxframes 660 -logPrefix swpair_nuke_+# the same with -cinema swpair_scud -video 1000 1450 swpair_scud -maxframes 1460 -logPrefix swpair_scud_++# the superweapons at the starts, the silo powered+10 spawn 1 ChinaNuclearMissileLauncher 1 start1:0:200+10 spawn 1 ChinaPowerPlant 3 start1:260:-40 90+10 spawn 2 GLAScudStorm 1 start2:0:200++# the nuke's town, ring by ring+20 spawn 0 AmericaCommandCenter 1 1500 3450+20 spawn 0 AmericaPowerPlant 1 1630 3450+20 spawn 0 AmericaPowerPlant 1 1370 3450+20 spawn 0 AmericaPowerPlant 1 1500 3580+20 spawn 0 AmericaPowerPlant 1 1500 3320+20 spawn 0 AmericaBarracks 1 1670 3620+20 spawn 0 AmericaBarracks 1 1330 3620+20 spawn 0 AmericaBarracks 1 1670 3280+20 spawn 0 AmericaBarracks 1 1330 3280+20 spawn 0 AmericaPatriotBattery 1 1740 3450+20 spawn 0 AmericaPatriotBattery 1 1260 3450+20 spawn 0 AmericaStrategyCenter 1 1500 3110+20 spawn 0 AmericaSupplyCenter 1 1160 3450++# the Scud Storm's block+20 spawn 0 AmericaWarFactory 1 950 3850+20 spawn 0 AmericaPowerPlant 1 830 3800+20 spawn 0 AmericaPowerPlant 1 950 3720+20 spawn 0 AmericaBarracks 1 1070 3920++100 power 1 ChinaNuclearMissileLauncher 1500 3450+700 power 2 GLAScudStorm 950 3850