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.

docs(cinema): gunfire effects before/after scenario and shot list

Olcay Seygan6bcdd9f8ee47
diff --git a/GeneralsMD/Code/Data/Cinema/gunfx.txt b/GeneralsMD/Code/Data/Cinema/gunfx.txt
new file mode 100644
index 000000000..81546d325
--- /dev/null
+++ b/GeneralsMD/Code/Data/Cinema/gunfx.txt
@@ -0,0 +1,10 @@
+# Scenarios/gunfx.txt on Twilight Flame: the three-way fight on the middle ground, held at close to
+# the game's own zoom and let run, a slow orbit so the tracers cross the frame at changing angles.
+# Shots at the fight's peak for the log; the clip itself is -video 120 420.
+
+0.5 cut 1110 3720 0.65 -45 0
+5.0 orbit 25 12
+6.0 shot
+9.0 shot
+12.0 shot
+15.0 shot
diff --git a/GeneralsMD/Code/Data/Scenarios/gunfx.txt b/GeneralsMD/Code/Data/Scenarios/gunfx.txt
new file mode 100644
index 000000000..033bbfe1c
--- /dev/null
+++ b/GeneralsMD/Code/Data/Scenarios/gunfx.txt
@@ -0,0 +1,28 @@
+# Gunfire effects clip (5e2d6b8b): a three-way fight of rifles, machine gun vehicles and tanks on the
+# open ground between the Twilight Flame starts, so tracers, muzzle flashes, bullet impacts and tank
+# shell tracers are all in one frame. America from the west, China from the north-east, the GLA
+# from the south; all three attack-move onto the middle and meet within a few seconds.
+#
+# generals.exe -borderless -win -xres 1280 -yres 720 -msaa 0 -quickstart -noshellmap -observer
+# -multiInstance -particlecap 2500 -map "Maps\Twilight Flame\Twilight Flame.map" -autoskirmish 3
+# -takeover -side 0 FactionAmerica -side 1 FactionChina -side 2 FactionGLA -seed 7
+# -scenario gunfx -cinema gunfx -video 120 420 gunfx -maxframes 500
+
+20 spawn 0 AmericaInfantryRanger 10 930 3700 16
+20 spawn 0 AmericaVehicleHumvee 3 880 3760 34
+20 spawn 0 AmericaTankCrusader 3 1000 3660 40
+20 spawn 0 AmericaTankPaladin 2 990 3740 40
+
+20 spawn 1 ChinaInfantryRedguard 10 1230 3850 16
+20 spawn 1 ChinaTankGattling 3 1280 3880 36
+20 spawn 1 ChinaTankBattleMaster 3 1180 3810 40
+20 spawn 1 ChinaTankOverlord 1 1220 3830 50
+
+20 spawn 2 GLAInfantryRebel 10 1230 3540 16
+20 spawn 2 GLAVehicleTechnical 3 1290 3510 34
+20 spawn 2 GLAVehicleQuadCannon 2 1220 3480 36
+20 spawn 2 GLATankScorpion 3 1200 3590 40
+
+40 attackmove 0 * 1135 3696
+40 attackmove 1 * 1135 3696
+40 attackmove 2 * 1135 3696