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(turkiye): economy on par, kizilelma and akinci trimmed
Olcay Seygan37ad95f4cf3a
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 3ef9d5971..3120bce25 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -140,8 +140,9 @@ found and fixed — EA's own, not port damage.**- Once something sees for it, the artillery is what kills. A Firtina shell does 200 where it lands and 60 out to 35, every 7 seconds, where it did 150 inside 10, less than an Altay. A Sakarya salvo is six rockets of 70 each with a 30 blast, every 14 seconds. The Sakarya never hit anything before: its rockets left the launcher level and went nowhere, and it now aims them up the way the Firtina does. Four Battlemasters or sixteen Rangers marching straight at two Firtinas and their spotter, the same 3500 in money, die before they get there. Crusaders and Scorpions get through with one to three tanks left. Come at the guns from the side with that money in tanks and the tanks win seven fights in eight, so a raid on the flank or a dead spotter is how a gun line falls.- Sight is what Turkiye pays for. The Bayraktar is the artillery's real eye, 550 from the air, and costs 900 instead of 500. The Cobra sees 250 instead of 400 and is a fast car with five seats, no longer the cheapest spotter. The Radar Tower costs 800 instead of 400 and draws 3 power. The spotter team sees 500, has 200 health, moves faster and hides while it stands still. The free Spy Satellite Scan is gone, and the Sungur gunner sees 200 instead of 300.- Combat Engineers build the base in place of a dozer. They are infantry, so they can be shot and run over. The Barracks' Mine Kit lets them bury mines, and the Factory's Reinforced Hull, which used to be called the Armor Pack, gives the Kirpi and the Altay 20% more health.+- Turkiye pays its way. The other sides earn beside their gatherers, America from drop zones and GLA from black markets; Turkiye had only its trucks, and those cost 700 and drove 10% slower than China's. The truck is 600 and full speed now, and every Supply Center pays 20 every 2 seconds, what a Black Market pays. A Hard Turkish computer earned 77% of what America's did per minute and now earns 85%; against China it went from 50% to 72% and against GLA from 32% to 42%. In forty-minute games on Twilight Flame it now beats America six games in six, up from four in six, and China four in six, up from two.- The engineers dig in at the front. The Siper is a bunker for five infantry, 500, that goes up wherever an engineer stands: the army moves up, digs a Siper, spots and shells. Mehmetcik inside it hold off infantry and Sungur gunners hold off tanks. It takes the place of the air defense site, a Chinese gattling cannon that fired at everything. The Patriot battery is now called Hisar and is the base's one fixed air defense.-- The Korkut is air defense and nothing else. Its cannons reach 350 into the air and no longer fire at the ground, where they used to outrange the Altay; three Korkut that cut down eight Rangers without a scratch now lose to them, and still shoot down three Comanches untouched. The Kizilelma's missiles hit the ground as well as the air, and it costs 1800 instead of 2200. The Akinci drops its own bomb, one a sortie; it had been dropping the Aurora's.+- The Korkut is air defense and nothing else. Its cannons reach 350 into the air and no longer fire at the ground, where they used to outrange the Altay; three Korkut that cut down eight Rangers without a scratch now lose to them, and still shoot down three Comanches untouched. The Kizilelma's missiles hit the ground as well as the air, and it costs 1800 instead of 2200. It carried 380 health on a Raptor's frame and shot a Raptor down in 29 seconds while the Raptor needed 86 for it; at the Raptor's 160 the duel is even and the dearer jet loses on price. The Akinci drops its own bomb, one a sortie; it had been dropping the Aurora's. With 420 health no ground air defense paid for itself against it. At 200 a Gattling Tank or a Missile Defender beats it for the money and a Quad Cannon breaks even.- Every Turkish unit has its own command bar with only buttons that work: no drone buttons on the Altay and the Cobra, no TOW on the Cobra, no rocket pods on the Bayraktar, no flash-bang switch on the Mehmetcik. The Barracks sells Capture Building, so the Mehmetcik's capture button works.- Turkiye's first rank buys its own power, a Minefield a cargo plane sows wherever you point, beside the Spy Drone and Fuel Resupply, which keeps the drones over the target longer. Rank 3 offers a loitering munition that dives on whatever it is pointed at, Electronic Blinding, which shuts every enemy radar in the area off for 30 seconds, and Rapid Deployment, six Mehmetcik and two Sungur gunners by parachute. The top rank buys the Swarm Strike: ten munitions over a wide circle, each on a different target and the most expensive first, so a column of tanks loses its tanks and the riflemen walking beside them are left standing. Beside it sit the Fire Mission, 36 heavy shells from off the map, and the Commando Raid, a Maroon Beret and two spotter teams dropped behind the enemy's lines. The American Paradrop, Leaflet Drop, Spectre gunship and CIA intelligence are gone from the Headquarters and the power bar.- Two engineers on one building put it up in half the time, three in a third.diff --git a/GeneralsMD/Code/Data/INI/TurkiyeReforged.ini b/GeneralsMD/Code/Data/INI/TurkiyeReforged.iniindex f78ef8674..55efe68c6 100644--- a/GeneralsMD/Code/Data/INI/TurkiyeReforged.ini+++ b/GeneralsMD/Code/Data/INI/TurkiyeReforged.ini@@ -108,7 +108,10 @@ Object TurkiyePowerPlantDisplayName = OBJECT:TurkiyePowerPlantEnd-; The Supply Center's free gatherer is a Turkiye supply truck.+; The Supply Center's free gatherer is a Turkiye supply truck. Turkiye has no supply drop zone,+; hacker or black market, so the center itself pays a trickle, a black market's: 20 every 2+; seconds. Without it a Hard Turkiye AI earned 77% of what America's did per minute, 50% of China's+; and 32% of GLA's.ObjectReskin TurkiyeSupplyCenter AmericaSupplyCenterEnd@@ -117,6 +120,13 @@ Object TurkiyeSupplyCenterSide = TurkiyeDisplayName = OBJECT:TurkiyeSupplyCenterCommandSet = TurkiyeSupplyCenterCommandSet+ AddModule+ Behavior = AutoDepositUpdate ModuleTag_TurkiyeIncome+ DepositTiming = 2000+ DepositAmount = 20+ InitialCaptureBonus = 0+ End+ EndReplaceModule ModuleTag_12Behavior = SpawnBehavior ModuleTag_12_TurkiyeSpawnNumber = 1@@ -433,8 +443,7 @@ EndObject TurkiyeVehicleSupplyTruckSide = TurkiyeDisplayName = OBJECT:TurkiyeVehicleSupplyTruck- SpeedScale = 0.9- BuildCost = 700+ BuildCost = 600BuildTime = 12.0VisionRange = 200ShroudClearingRange = 200@@ -994,8 +1003,8 @@ Object TurkiyeJetAkinciEndReplaceModule ModuleTag_02Body = ActiveBody ModuleTag_02_Turkiye- MaxHealth = 420.0- InitialHealth = 420.0+ MaxHealth = 200.0+ InitialHealth = 200.0EndEndEnd@@ -1019,8 +1028,8 @@ Object TurkiyeJetKizilelmaEndReplaceModule ModuleTag_02Body = ActiveBody ModuleTag_02_Turkiye- MaxHealth = 380.0- InitialHealth = 380.0+ MaxHealth = 160.0+ InitialHealth = 160.0EndEndEnd@@ -1028,9 +1037,10 @@ End; ==== Spawned by name =============================================================================; Nothing builds the ones below from a button. The American data spawns them by name: a pilot-; out of a dead vehicle, the drones an upgrade adds, the planes, paratroopers' chutes and the-; gunship of the generals' powers. ThingFactory::newObject makes the Turkiye copy whenever one of-; them is made for a Turkiye player.+; out of a dead vehicle, the Spy Drone power's drone, the cargo plane of the minefield and the+; drops, and the chutes. ThingFactory::newObject makes the Turkiye copy whenever one of them is+; made for a Turkiye player. The battle, scout and hellfire drones, the A-10, the Spectre, the B-3+; and the B-52 had copies here too; no Turkish button, power or science reaches them any more.ObjectReskin TurkiyeInfantryPilot AmericaInfantryPilotEnd@@ -1039,27 +1049,6 @@ Object TurkiyeInfantryPilotSide = TurkiyeEnd-ObjectReskin TurkiyeVehicleBattleDrone AmericaVehicleBattleDrone-End--Object TurkiyeVehicleBattleDrone- Side = Turkiye-End--ObjectReskin TurkiyeVehicleScoutDrone AmericaVehicleScoutDrone-End--Object TurkiyeVehicleScoutDrone- Side = Turkiye-End--ObjectReskin TurkiyeVehicleHellfireDrone AmericaVehicleHellfireDrone-End--Object TurkiyeVehicleHellfireDrone- Side = Turkiye-End-ObjectReskin TurkiyeVehicleSpyDrone AmericaVehicleSpyDroneEnd@@ -1067,34 +1056,6 @@ Object TurkiyeVehicleSpyDroneSide = TurkiyeEnd-ObjectReskin TurkiyeJetA10Thunderbolt AmericaJetA10Thunderbolt-End--Object TurkiyeJetA10Thunderbolt- Side = Turkiye-End--ObjectReskin TurkiyeJetSpectreGunship AmericaJetSpectreGunship-End--Object TurkiyeJetSpectreGunship- Side = Turkiye-End--ObjectReskin TurkiyeJetB3 AmericaJetB3-End--Object TurkiyeJetB3- Side = Turkiye-End--ObjectReskin TurkiyeJetB52 AmericaJetB52-End--Object TurkiyeJetB52- Side = Turkiye-End-ObjectReskin TurkiyeJetCargoPlane AmericaJetCargoPlaneEnd