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
feat(gameengine): add the trailer shot lists to the cinema data
Olcay Seygan799c43c4d280
diff --git a/GeneralsMD/Code/Data/Cinema/tr_ai.txt b/GeneralsMD/Code/Data/Cinema/tr_ai.txtnew file mode 100644index 000000000..635c360da--- /dev/null+++ b/GeneralsMD/Code/Data/Cinema/tr_ai.txt@@ -0,0 +1,17 @@+# Trailer: four brutal computer players four minutes into a match, seen from the field.+#+# generals.exe -borderless -msaa 0 -quickstart -noshellmap -observer -multiInstance+# -particlecap 2500 -map "Maps\Twilight Flame\Twilight Flame.map" -autoskirmish 4 -teams 2+# -aidiff brutal -seed 7 -side 0 FactionChina -side 1 FactionAmerica -side 2 FactionGLA+# -side 3 FactionChina -cinema tr_ai -video 16200 16740 tr_ai -maxframes 16760+#+# Nothing here is staged: the camera rides whatever the computer players have put on the map.++0 letterbox on+539 pitch -24 2+540 follow ChinaTankBattleMaster 12+540 zoom 0.55 6+548 orbit 50 10+554 unfollow+554 zoom 1.4 4+558 enddiff --git a/GeneralsMD/Code/Data/Cinema/tr_battle.txt b/GeneralsMD/Code/Data/Cinema/tr_battle.txtnew file mode 100644index 000000000..ec913cb33--- /dev/null+++ b/GeneralsMD/Code/Data/Cinema/tr_battle.txt@@ -0,0 +1,18 @@+# Trailer: two mixed armies walking into each other, ridden from inside the column.+#+# generals.exe -borderless -msaa 0 -quickstart -noshellmap -observer -multiInstance+# -particlecap 2500 -map "Maps\Twilight Flame\Twilight Flame.map" -autoskirmish 2 -takeover+# -side 0 FactionAmerica -side 1 FactionChina -seed 7 -scenario crowdbattle+# -cinema tr_battle -video 300 780 tr_battle -maxframes 800+#+# No coordinates: the camera takes whichever Battlemaster is nearest what it is already looking at.++0 letterbox on+9 pitch -22 3+10 follow ChinaTankBattleMaster 12+10 zoom 0.5 6+16 orbit 45 9+22 unfollow+22 zoom 1.3 4+22 pitch -8 4+26 enddiff --git a/GeneralsMD/Code/Data/Cinema/tr_crowd.txt b/GeneralsMD/Code/Data/Cinema/tr_crowd.txtnew file mode 100644index 000000000..838ed3e91--- /dev/null+++ b/GeneralsMD/Code/Data/Cinema/tr_crowd.txt@@ -0,0 +1,13 @@+# Trailer: two hundred units sent to one point, arriving as a crowd instead of a queue.+#+# generals.exe -borderless -msaa 0 -quickstart -noshellmap -multiInstance -randommap 1 2 small+# -autoskirmish 2 -takeover -seed 1 -peacetime 20 -scenario massmove+# -cinema tr_crowd -video 400 900 tr_crowd -maxframes 920+#+# massmove spawns at start0 and sends everything to 700,600 on frame 90.++0 letterbox on+13 cut 700 600 1.5 0 -30+14 zoom 1.0 14+14 orbit 20 16+30 enddiff --git a/GeneralsMD/Code/Data/Cinema/tr_map.txt b/GeneralsMD/Code/Data/Cinema/tr_map.txtnew file mode 100644index 000000000..4bb5dd2dd--- /dev/null+++ b/GeneralsMD/Code/Data/Cinema/tr_map.txt@@ -0,0 +1,14 @@+# Trailer: a pass across a map the game generated from a seed, with a column crossing it.+#+# generals.exe -borderless -msaa 0 -quickstart -noshellmap -observer -multiInstance+# -randommap 1 2 small -autoskirmish 2 -takeover -seed 1 -peacetime 20 -scenario parade+# -cinema tr_map -video 200 620 tr_map -maxframes 640+#+# Same map as Cinema\demo.txt: the column forms up round 700,550 and is sent to 1000,1150.++0 letterbox on+7 cut 700 550 1.6 0 -8+8 route 13 850 750 1000 1150+8 pitch -26 13+8 zoom 1.1 13+21 enddiff --git a/GeneralsMD/Code/Data/Cinema/tr_oasis.txt b/GeneralsMD/Code/Data/Cinema/tr_oasis.txtnew file mode 100644index 000000000..324d3000f--- /dev/null+++ b/GeneralsMD/Code/Data/Cinema/tr_oasis.txt@@ -0,0 +1,12 @@+# Trailer: a low pass over the oasis water and the stone bridge, for the ground detail.+#+# generals.exe -borderless -msaa 0 -quickstart -noshellmap -observer -multiInstance+# -autoskirmish 2 -aidiff easy -seed 5 -map "Maps\Golden Oasis\Golden Oasis.map"+# -cinema tr_oasis -video 300 690 tr_oasis -maxframes 710++0 letterbox on+10 cut 3040 1450 0.75 0 -14+11 route 12 3040 1330 3040 1210 2980 1130+11 zoom 0.5 12+19 orbit -30 5+23 enddiff --git a/GeneralsMD/Code/Data/Cinema/tr_open.txt b/GeneralsMD/Code/Data/Cinema/tr_open.txtnew file mode 100644index 000000000..d47f81139--- /dev/null+++ b/GeneralsMD/Code/Data/Cinema/tr_open.txt@@ -0,0 +1,15 @@+# Trailer, cold open: thirty inferno cannons shelling a parked column.+#+# generals.exe -borderless -msaa 0 -quickstart -noshellmap -multiInstance -particlecap 2500+# -map "Maps\Alpine Assault\Alpine Assault.map" -autoskirmish 2 -takeover+# -side 0 FactionChina -side 1 FactionAmerica -seed 1 -scenario fireball+# -cinema tr_open -video 60 450 tr_open -maxframes 470+#+# The scenario puts the guns at 760,700 and the targets at 760,1000, and opens fire at 2 seconds.++0 letterbox on+2 cut 760 1000 0.45 0 -22+2 orbit 30 12+2 zoom 0.7 12+9 move 760 940 5+14 enddiff --git a/GeneralsMD/Code/Data/Cinema/tr_palms.txt b/GeneralsMD/Code/Data/Cinema/tr_palms.txtnew file mode 100644index 000000000..ef6c0543d--- /dev/null+++ b/GeneralsMD/Code/Data/Cinema/tr_palms.txt@@ -0,0 +1,14 @@+# Trailer: palm shadows on the dunes, the position UI-MAP.md records for object trees.+#+# generals.exe -borderless -msaa 0 -quickstart -noshellmap -observer -multiInstance+# -autoskirmish 2 -aidiff easy -seed 5 -map "Maps\Golden Oasis\Golden Oasis.map"+# -cinema tr_palms -video 300 690 tr_palms -maxframes 710+#+# 2643,3580 is the palm stand; 3040,900 is the oasis water and its stone bridge.++0 letterbox on+10 cut 2643 3580 0.9 0 -18+11 zoom 0.55 12+11 orbit 35 12+19 pitch -30 4+23 enddiff --git a/GeneralsMD/Code/Data/Cinema/tr_watch.txt b/GeneralsMD/Code/Data/Cinema/tr_watch.txtnew file mode 100644index 000000000..b547ded42--- /dev/null+++ b/GeneralsMD/Code/Data/Cinema/tr_watch.txt@@ -0,0 +1,13 @@+# Trailer: the computer players' own match, framed by -autocamera rather than by a shot list.+#+# generals.exe -borderless -msaa 0 -quickstart -noshellmap -observer -multiInstance+# -particlecap 2500 -map "Maps\Twilight Flame\Twilight Flame.map" -autoskirmish 4 -teams 2+# -aidiff brutal -seed 7 -side 0 FactionChina -side 1 FactionAmerica -side 2 FactionGLA+# -side 3 FactionChina -autocamera 6 -cinema tr_watch -video 16200 16740 tr_watch+# -maxframes 16760+#+# No camera verb runs, so the camera stays the one -autocamera moves: every six seconds it jumps to+# wherever the fighting is. The jumps are the cuts.++0 letterbox on+558 end