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
docs(cinema): d3d11 object looks before/after scenario and shot list
Olcay Seyganf26720f173dc
diff --git a/GeneralsMD/Code/Data/Cinema/looks4.txt b/GeneralsMD/Code/Data/Cinema/looks4.txtnew file mode 100644index 000000000..e51bcfbdf--- /dev/null+++ b/GeneralsMD/Code/Data/Cinema/looks4.txt@@ -0,0 +1,34 @@+# Scenarios/looks4.txt on Twilight Flame: the four Direct3D 11 object looks of 528b9054 in one GLA+# raid on the Superweapon General's base, paired with the same run under -d3d9 for the before.+# -video 45 1650. Heading 135 here looks south-west: screen up is about (-0.6,-0.8) on the map and+# screen right (-0.8,0.6), so a unit walking east crosses towards the lower left.+#+# 1.5 s the own Colonel Burton walking out of the base, cloaked; GLA workers find him near 16 s+# 18.5 s Jarmen Kell along the north edge of the base, found by the dozers+# 27.0 s the raid from the south-east into the EMP Patriots+# 37.5 s the power plant at 857,2708 as the RPG troopers bring it down+# 44.0 s the Patriots without power++1.5 cut 800 3668 0.35 135 -6+1.5 follow SupW_AmericaInfantryColonelBurton+5.0 shot+9.0 shot+13.0 shot+16.5 shot+18.5 follow GLAInfantryJarmenKell+18.5 zoom 0.42 1+18.5 pitch 6 1+21.0 shot+24.0 shot+27.0 unfollow+27.0 cut 1150 3420 0.6 135 12+30.0 shot+33.0 shot+37.5 cut 930 2930 0.8 135 10+40.0 shot+44.0 cut 990 3290 0.45 135 14+44.0 orbit 15 11+47.0 shot+51.0 shot+54.0 shot+55.0 enddiff --git a/GeneralsMD/Code/Data/Scenarios/looks4.txt b/GeneralsMD/Code/Data/Scenarios/looks4.txtnew file mode 100644index 000000000..13fd33aa2--- /dev/null+++ b/GeneralsMD/Code/Data/Scenarios/looks4.txt@@ -0,0 +1,70 @@+# The four Direct3D 11 object looks of 528b9054 (cloak, revealed, EMP, power outage) as one GLA raid+# on an American base on Twilight Flame, for a before/after against -d3d9. Seat 0 is the Superweapon+# General and the local player (no -observer, so its own stealth draws see-through and its+# detectors reveal), seat 1 the GLA. Seat 0 starts at 537,3188, seat 1 at 1733,4205. The base sits+# on a plateau that ends at x 1100; 1337,2708 beyond it is a separate shelf whose path runs south.+#+# In order:+# frames 60..560 cloak: the own Colonel Burton walks east out of the base along y 3668; GLA+# workers walking the other way find him near frame 480 (the amber pulse).+# frames 300..800 revealed: Jarmen Kell walks west along the north edge of the base under a Spy+# Drone, which finds him. The dozer's detector takes mines only and the Strategy+# Center's is off without its battle plan, so neither does.+# frames 790..1150 EMP: Technicals, Rocket Buggies and Scorpions come in from the south-east and+# the EMP Patriots' spheres stop them.+# frames 1150.. outage: RPG troopers kill the power plant at 857,2708, outside the Patriots'+# 275 reach, near frame 1250, and the base drops from +15 against -13 to +10;+# the three Patriots (the only POWERED kind here) go dark.+#+# generals.exe -win -borderless -xres 1280 -yres 720 -msaa 0 -quickstart -noshellmap -multiInstance+# -particlecap 2500 -map "Maps\Twilight Flame\Twilight Flame.map" -autoskirmish 2 -takeover+# -side 0 FactionAmericaSuperWeaponGeneral -side 1 FactionGLA -seed 7 -scenario looks4+# -cinema looks4 -video 45 1650 looks4_d3d11 -control 8861+# and the same with -d3d9; "reveal" typed over the socket on frame 10 (the console line, not a+# switch), since the camera visits ground seat 0 has not seen.++# the base+20 spawn 0 SupW_AmericaPowerPlant 1 697 3348+20 spawn 0 SupW_AmericaPowerPlant 1 537 3508+# spawned last, so the attack line's first match (newest first) is this plant+20 spawn 0 SupW_AmericaPowerPlant 1 857 2708+20 spawn 0 SupW_AmericaPatriotBattery 1 1017 3188+20 spawn 0 SupW_AmericaPatriotBattery 1 1017 3348+20 spawn 0 SupW_AmericaPatriotBattery 1 857 3508+20 spawn 0 SupW_AmericaStrategyCenter 1 537 2868+20 spawn 0 SupW_AmericaBarracks 1 217 2868+20 spawn 0 SupW_AmericaWarFactory 1 377 3348+20 spawn 0 SupW_AmericaSupplyCenter 1 377 3028+20 spawn 0 SupW_AmericaInfantryRanger 5 600 3100 16+40 move 0 SupW_AmericaInfantryRanger 880 3620+300 move 0 SupW_AmericaVehicleDozer 700 2900+1000 move 0 SupW_AmericaVehicleDozer 537 3000++# cloak: Burton out of the base, the workers coming the other way+20 spawn 0 SupW_AmericaInfantryColonelBurton 1 697 3668+20 spawn 1 GLAInfantryWorker 3 1573 3725 20+30 move 0 SupW_AmericaInfantryColonelBurton 1337 3668+200 move 1 GLAInfantryWorker 1000 3668++# revealed: Jarmen Kell along the north edge+20 spawn 1 GLAInfantryJarmenKell 1 1017 2708+250 spawn 0 SupW_AmericaVehicleSpyDrone 1 760 2770+300 move 1 GLAInfantryJarmenKell 380 2770++# EMP: the raid from the south-east+780 spawn 1 GLAVehicleTechnical 3 1573 3725 40+780 spawn 1 GLAVehicleRocketBuggy 3 1733 3725 40+780 spawn 1 GLATankScorpion 2 1653 3885 50+790 attackmove 1 GLAVehicleTechnical* 700 3250+790 attackmove 1 GLAVehicleRocketBuggy 700 3250+790 attackmove 1 GLATankScorpion 700 3250++# outage: RPG troopers on the plant at 857,2708+1150 spawn 1 GLAInfantryTunnelDefender 10 1017 2708 16+1160 attack 1 GLAInfantryTunnelDefender 0 SupW_AmericaPowerPlant++600 tally 0 SupW_AmericaInfantryColonelBurton+800 tally 1 GLAInfantryJarmenKell+1300 tally 0 SupW_AmericaPowerPlant+1650 tally 0 SupW_AmericaPowerPlant+1650 tally 1 GLAVehicleTechnical*