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(data): shot lists for the renderer prototype pairs

Olcay Seygane1557d48c270
diff --git a/GeneralsMD/Code/Data/Cinema/geproto_alpine.txt b/GeneralsMD/Code/Data/Cinema/geproto_alpine.txt
new file mode 100644
index 000000000..c4a86a6ab
--- /dev/null
+++ b/GeneralsMD/Code/Data/Cinema/geproto_alpine.txt
@@ -0,0 +1,10 @@
+# Renderer prototype pairs on Alpine Assault over Scenarios/geproto_alpine.txt. Run with a -video
+# range so this clock is the logic frame over 60.
+
+0 hud off
+3 cut 780 900 1.0 0 0
+18 shot # the player's view: the field, the outpost, the rail yard
+18.3 cut 780 900 1.4 0 -16
+20 shot # wider and lower, across the relief
+20.3 cut 760 920 1.0 45 0
+22 shot # the field from the other side
diff --git a/GeneralsMD/Code/Data/Cinema/geproto_glow.txt b/GeneralsMD/Code/Data/Cinema/geproto_glow.txt
new file mode 100644
index 000000000..c201250b7
--- /dev/null
+++ b/GeneralsMD/Code/Data/Cinema/geproto_glow.txt
@@ -0,0 +1,12 @@
+# Team glow close-ups over Scenarios/geproto_glow.txt on Golden Oasis. Run with a -video range so
+# this clock is the logic frame over 60.
+
+0 hud off
+3 cut 2850 3420 0.6 -45 0
+14 shot # the Chinese cluster with the tanks closing on it
+14.3 cut 2700 3360 0.8 -45 0
+16 shot # between the base and the cluster
+16.3 cut 2850 3420 0.6 -45 0
+18 shot # the cluster again
+18.3 cut 2320 3420 0.6 -45 0
+20 shot # the American war factory and the lane
diff --git a/GeneralsMD/Code/Data/Cinema/geproto_oasis.txt b/GeneralsMD/Code/Data/Cinema/geproto_oasis.txt
new file mode 100644
index 000000000..dac2bdaf2
--- /dev/null
+++ b/GeneralsMD/Code/Data/Cinema/geproto_oasis.txt
@@ -0,0 +1,16 @@
+# Renderer prototype pairs on Golden Oasis over Scenarios/geproto_oasis.txt. Run with a -video range
+# so this clock is the logic frame over 60. Each cut has two seconds to settle before its shot.
+
+0 hud off
+3 cut 2750 3230 0.6 -45 0
+18 shot # the fight, close: team colours of both sides
+18.3 cut 2250 3540 1.0 -45 0
+20 shot # the base at play distance
+20.3 cut 2250 3540 1.6 -45 0
+22 shot # the whole base, cliff top left
+22.3 cut 3040 900 1.0 -45 0
+24 shot # the oasis water, banks and palms
+24.3 cut 2792 1357 0.5 0 -36
+26 shot # the long bridge from above, water both sides
+26.3 cut 1860 1370 1.0 0 -36
+28 shot # the cracked-mud approach to the Kandahar bridge
diff --git a/GeneralsMD/Code/Data/Scenarios/geproto_alpine.txt b/GeneralsMD/Code/Data/Scenarios/geproto_alpine.txt
new file mode 100644
index 000000000..03b58c0fa
--- /dev/null
+++ b/GeneralsMD/Code/Data/Scenarios/geproto_alpine.txt
@@ -0,0 +1,21 @@
+# Renderer prototype pairs on Alpine Assault (Cinema/geproto_alpine.txt): the minefx Chinese outpost
+# by the rail yard, two supply trucks shuttling across the field and an American column that reaches
+# the outpost and fights it. Same seed and frames for every switch set.
+#
+# generals.exe -win -borderless -quickstart -noshellmap -multiInstance -fps 120 -noFPSLimit
+# -particlecap 2500 -map "Maps\Alpine Assault\Alpine Assault.map" -autoskirmish 2 -takeover
+# -observer -side 0 FactionChina -side 1 FactionAmerica -seed 1 -scenario geproto_alpine
+# -cinema geproto_alpine -video 180 1380 geproto -maxframes 1440 [-protoXxx]
+
+30 spawn 0 ChinaPowerPlant 1 620 780
+30 spawn 0 ChinaBarracks 1 900 770
+30 spawn 0 ChinaBunker 1 880 1000
+
+30 spawn 0 ChinaVehicleSupplyTruck 2 980 960 40
+40 move 0 ChinaVehicleSupplyTruck 620 940
+600 move 0 ChinaVehicleSupplyTruck 980 960
+
+600 spawn 1 AmericaTankCrusader 3 1020 830 30
+600 spawn 1 AmericaVehicleHumvee 1 1080 830
+610 attackmove 1 AmericaTankCrusader 760 880
+610 attackmove 1 AmericaVehicleHumvee 760 880
diff --git a/GeneralsMD/Code/Data/Scenarios/geproto_glow.txt b/GeneralsMD/Code/Data/Scenarios/geproto_glow.txt
new file mode 100644
index 000000000..408be217d
--- /dev/null
+++ b/GeneralsMD/Code/Data/Scenarios/geproto_glow.txt
@@ -0,0 +1,38 @@
+# geproto_oasis with the fight moved onto the Chinese cluster, for the team glow close-ups
+# (Cinema/geproto_glow.txt). In geproto_oasis the two tank groups never reached 2750,3230 and that
+# frame came back empty ground.
+#
+# generals.exe -win -borderless -quickstart -noshellmap -multiInstance -fps 120 -noFPSLimit
+# -particlecap 2500 -map "Maps\Golden Oasis\Golden Oasis.map" -autoskirmish 2 -takeover
+# -observer -side 0 FactionAmerica -side 1 FactionChina -seed 1 -scenario geproto_glow
+# -cinema geproto_glow -video 180 1560 geproto -maxframes 1620 [-protoTeamGlow]
+
+# the American base
+30 spawn 0 AmericaPowerPlant 1 1950 3380
+30 spawn 0 AmericaPowerPlant 1 2040 3380
+30 spawn 0 AmericaBarracks 1 2160 3380
+30 spawn 0 AmericaWarFactory 1 2320 3370
+30 spawn 0 AmericaAirfield 1 2520 3370
+30 spawn 0 AmericaSupplyCenter 1 1980 3550
+30 spawn 0 AmericaCommandCenter 1 2200 3550
+30 spawn 0 AmericaStrategyCenter 1 2410 3550
+30 spawn 0 AmericaPatriotBattery 1 1950 3720
+30 spawn 0 AmericaParticleCannonUplink 1 2080 3730
+30 spawn 0 AmericaSupplyDropZone 1 2230 3730
+30 spawn 0 AmericaFireBase 1 2350 3720
+30 spawn 0 AmericaWarFactory 1 2480 3730
+30 spawn 0 AmericaPowerPlant 1 2600 3720
+
+# the Chinese cluster
+30 spawn 1 ChinaWarFactory 1 2850 3450
+30 spawn 1 ChinaBarracks 1 2980 3450
+
+# traffic through the base, along the lane between the two rows
+30 spawn 0 AmericaVehicleHumvee 2 1880 3460 30
+300 move 0 AmericaVehicleHumvee 2700 3460
+
+# the fight: Crusaders onto the Chinese cluster, the Battlemasters out to meet them
+30 spawn 0 AmericaTankCrusader 4 2450 3200 40
+30 spawn 1 ChinaTankBattleMaster 4 2900 3330 40
+120 attackmove 0 AmericaTankCrusader 2880 3420
+120 attackmove 1 ChinaTankBattleMaster 2600 3300
diff --git a/GeneralsMD/Code/Data/Scenarios/geproto_oasis.txt b/GeneralsMD/Code/Data/Scenarios/geproto_oasis.txt
new file mode 100644
index 000000000..c8281bbd5
--- /dev/null
+++ b/GeneralsMD/Code/Data/Scenarios/geproto_oasis.txt
@@ -0,0 +1,47 @@
+# Renderer prototype pairs on Golden Oasis (Cinema/geproto_oasis.txt): the shadowbase USA base on
+# the open scrub round 2250,3540 and its Chinese cluster to the east, a tank fight between them,
+# Humvees driving through the base, a Crusader column over the long bridge and another down the
+# cracked-mud approach to the Kandahar bridge. Same seed and frames for every switch set.
+#
+# generals.exe -win -borderless -quickstart -noshellmap -multiInstance -fps 120 -noFPSLimit
+# -particlecap 2500 -map "Maps\Golden Oasis\Golden Oasis.map" -autoskirmish 2 -takeover
+# -observer -side 0 FactionAmerica -side 1 FactionChina -seed 1 -scenario geproto_oasis
+# -cinema geproto_oasis -video 180 1620 geproto -maxframes 1680 [-protoXxx]
+
+# the American base
+30 spawn 0 AmericaPowerPlant 1 1950 3380
+30 spawn 0 AmericaPowerPlant 1 2040 3380
+30 spawn 0 AmericaBarracks 1 2160 3380
+30 spawn 0 AmericaWarFactory 1 2320 3370
+30 spawn 0 AmericaAirfield 1 2520 3370
+30 spawn 0 AmericaSupplyCenter 1 1980 3550
+30 spawn 0 AmericaCommandCenter 1 2200 3550
+30 spawn 0 AmericaStrategyCenter 1 2410 3550
+30 spawn 0 AmericaPatriotBattery 1 1950 3720
+30 spawn 0 AmericaParticleCannonUplink 1 2080 3730
+30 spawn 0 AmericaSupplyDropZone 1 2230 3730
+30 spawn 0 AmericaFireBase 1 2350 3720
+30 spawn 0 AmericaWarFactory 1 2480 3730
+30 spawn 0 AmericaPowerPlant 1 2600 3720
+
+# the Chinese cluster
+30 spawn 1 ChinaWarFactory 1 2850 3450
+30 spawn 1 ChinaBarracks 1 2980 3450
+30 spawn 1 ChinaPowerPlant 1 2850 3600
+30 spawn 1 ChinaPowerPlant 1 2950 3600
+
+# traffic through the base, along the lane between the two rows
+30 spawn 0 AmericaVehicleHumvee 2 1880 3460 30
+300 move 0 AmericaVehicleHumvee 2700 3460
+
+# the fight north of the base
+30 spawn 0 AmericaTankCrusader 4 2450 3200 40
+30 spawn 1 ChinaTankBattleMaster 4 3050 3250 40
+600 attackmove 0 AmericaTankCrusader 2750 3230
+600 attackmove 1 ChinaTankBattleMaster 2750 3230
+
+# a column over the long bridge, and one down the approach to the Kandahar bridge
+30 spawn 0 AmericaTankPaladin 3 2417 893 40
+60 move 0 AmericaTankPaladin 3168 1822
+30 spawn 1 ChinaTankGattling 3 2043 1136 40
+900 move 1 ChinaTankGattling 1471 1859