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(cinema): nuke scenario and shot list for the ring fade

Olcay Seyganbef7532b41a8
diff --git a/GeneralsMD/Code/Data/Cinema/nukefade.txt b/GeneralsMD/Code/Data/Cinema/nukefade.txt
new file mode 100644
index 000000000..146647c47
--- /dev/null
+++ b/GeneralsMD/Code/Data/Cinema/nukefade.txt
@@ -0,0 +1,10 @@
+# Scenarios/nukefade.txt: the nuke called at frame 100 on 1500,3450 lands about frame 264 and the
+# burning ground under it is out by about 1260. Held wide and steep, so the ground rings stay whole
+# inside the frame and read as rings over the smoke, with a slow small turn so the frame is not dead.
+# At zoom 1.1 and pitch 14 the ring left the frame within half a second and the smoke covered the
+# rest; pitch +30 is the flat end, not the steep one, and showed the rings edge-on under black sky.
+#
+# ...the scenario's switches... -cinema nukefade -video 200 1440 nukefade -maxframes 1450
+
+0.5 cut 1500 3450 1.7 -45 -24
+6.0 orbit 12 40
diff --git a/GeneralsMD/Code/Data/Scenarios/nukefade.txt b/GeneralsMD/Code/Data/Scenarios/nukefade.txt
new file mode 100644
index 000000000..fdda4f5a9
--- /dev/null
+++ b/GeneralsMD/Code/Data/Scenarios/nukefade.txt
@@ -0,0 +1,17 @@
+# One China nuke on an American outpost on the open ground east of the Twilight Flame fight, nothing
+# else on the field, to film the heat rings and the shockwave fading out over their last frames.
+#
+# 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 2 -takeover
+# -side 0 FactionAmerica -side 1 FactionChina -seed 7 -scenario nukefade -cinema nukefade
+# -video 240 1560 nukefade -maxframes 1580 -logPrefix nukefade_
+
+10 spawn 1 ChinaNuclearMissileLauncher 1 start1:0:200
+10 spawn 1 ChinaPowerPlant 3 start1:260:-40 90
+
+20 spawn 0 AmericaCommandCenter 1 1500 3450
+20 spawn 0 AmericaPowerPlant 2 1380 3520 140
+20 spawn 0 AmericaTankCrusader 4 1600 3380 200
+
+100 power 1 ChinaNuclearMissileLauncher 1500 3450