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(data): worker shoes gives speed only, no cash per load
Olcay Seygan72c486d3ce79
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex d0e960999..2b7b2d90c 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -843,7 +843,7 @@ A third pass went through the generals' powers, promotions and unit abilities.- That bar is now the work itself. A worker used to reset it to empty at the very moment it finished and then walk away, so every trip looked like it left mid-handover; and after taking its last box it stood at the pile for one more full loading cycle, taking nothing. It leaves the instant the load is done - which is a little more money per trip, on every worker you own.- A worker loads in one go instead of a box at a time. It used to take one, wait a loading cycle, take the next, wait again, and the bar over its head restarted for each of them; now the whole load changes hands once and the wait is that load's worth of time - four boxes cost what four boxes always cost, in one stretch rather than four. Money in the bank is unchanged, which is the point: three headless matches on the same seeds came back within a few percent of what they earned before.- A GLA worker can no longer mint money standing still. Build a stash as close to a supply pile as the game allows and a worker could end up in the gap between them, touching both. It loaded at the pile and unloaded at the stash without taking a step, a $75 box every second, and the popups stacked over its head. Every hand-over now waits until a worker could have walked the gap, so that worker earns what a worker walking the shortest trip earns: with a stash hugging a pile, two workers brought in 101 boxes in a minute before and 50 now. Workers that do walk are untouched; a stash placed so they have to earned exactly the same, box for box, before and after.-- The three sides now mine a supply pile at the same pace. With five GLA workers, three Chinese supply trucks and three Chinooks on one pile, GLA used to bring in 90 dollars a second with the stash beside it and 27 with the stash 250 feet away, China 56 and 47, and the USA 55 at both. Now all three earn between 49 and 60 a second, close or far. A GLA worker carries three boxes a trip and takes longer loading them, a Chinese truck carries six, and the Chinook is untouched. Worker Shoes still adds 8 dollars a box. Replays recorded before this change play out differently.+- The three sides now mine a supply pile at the same pace. With five GLA workers, three Chinese supply trucks and three Chinooks on one pile, GLA used to bring in 90 dollars a second with the stash beside it and 27 with the stash 250 feet away, China 56 and 47, and the USA 55 at both. Now all three earn between 49 and 60 a second, close or far. A GLA worker carries three boxes a trip and takes longer loading them, a Chinese truck carries six, and the Chinook is untouched. Worker Shoes is now speed alone, with no extra dollars a box: with the old bonus on top of three-box loads, five upgraded workers made 72 a second beside the pile against 60 for three Chinooks with Supply Lines. Now they make 66 beside it and 61 at 250 feet. Replays recorded before this change play out differently.- Supply points refill themselves, slowly, and faster the more of a base has grown around them. A warehouse used to be a fixed lump of money that ran out and left the map with nothing to fight over: whoever mined out the middle first had the game, and the second half of every match was played on income neither side could earn any more. Six hundred dollars comes back every forty seconds standing on its own, every twenty with one supply centre built near it, every thirteen with two - up to what the point started with, never past it. A single box was too little to be worth the trip: a hundred dollars every forty seconds is less than the harvester earns going to fetch it, so a mined-out point stayed mined out as far as anybody playing was concerned. Both sides expanding onto the same patch make it richer and then have to decide which of them keeps it.- Your workers tell you a supply point has run dry once a match. With piles refilling, they ran dry again and again, and every time the same worker said so.- Workers stop hesitating on their way in and out. A dock has a queue outside it and a worker treated its place in that queue as a destination: it drove to the spot, stopped dead, waited a frame, drove to the door, stopped again, and only then went in - twice a load, and nearly every load with nothing else queued. With the dock empty it drives straight in. The first version of that also skipped the walk to a supply pile or a GLA stash, which have no door of their own, so a worker a long way off played its loading animation where it stood and was paid anyway. In a four-player test match 72 loads were picked up or dropped off away from the dock, one of them 613 feet from it; now there are none.diff --git a/GeneralsMD/Code/Data/INI/BalanceReforged.ini b/GeneralsMD/Code/Data/INI/BalanceReforged.iniindex c114e639b..f2f15f72c 100644--- a/GeneralsMD/Code/Data/INI/BalanceReforged.ini+++ b/GeneralsMD/Code/Data/INI/BalanceReforged.ini@@ -1387,8 +1387,10 @@ End; 56 and 47, and USA at 55 at both, the Chinook barely caring how far it flies. The GLA worker now; carries three boxes and takes 1.25 s for each, and the Chinese truck six at 1.1 s each, which puts; all three between 49 and 60 a second at both distances (Golden Oasis, one pile, min 1 to 3, seed-; 1). The USA is left as EA made it. Worker Shoes' bonus is paid per load, split by the boxes-; carried, so it goes from 8 to 24 to stay a bonus of 8 a box.+; 1). The USA is left as EA made it. Worker Shoes pays nothing extra per load any more: its speed+; alone takes five upgraded workers to 66 a second beside the pile and 61 at 250, against 60.5 for+; three Chinooks with Supply Lines. Its old cash bonus put them at 72 and 66 (min 1 to 3, upgrades+; done before gathering starts).Object GLAInfantryWorkerReplaceModule ModuleTag_03@@ -1397,7 +1399,7 @@ Object GLAInfantryWorkerBoredTime = 5000BoredRange = 150MaxBoxes = 3 ; EA: 1- UpgradedSupplyBoost = 24 ; EA: 8+ UpgradedSupplyBoost = 0 ; EA: 8SupplyCenterActionDelay = 150SupplyWarehouseActionDelay = 1250 ; EA: 150, per boxSupplyWarehouseScanDistance = 700@@ -1414,7 +1416,7 @@ Object Chem_GLAInfantryWorkerBoredTime = 5000BoredRange = 150MaxBoxes = 3 ; EA: 1- UpgradedSupplyBoost = 24 ; EA: 8+ UpgradedSupplyBoost = 0 ; EA: 8SupplyCenterActionDelay = 150SupplyWarehouseActionDelay = 1250 ; EA: 150, per boxSupplyWarehouseScanDistance = 700@@ -1431,7 +1433,7 @@ Object Demo_GLAInfantryWorkerBoredTime = 5000BoredRange = 150MaxBoxes = 3 ; EA: 1- UpgradedSupplyBoost = 24 ; EA: 8+ UpgradedSupplyBoost = 0 ; EA: 8SupplyCenterActionDelay = 150SupplyWarehouseActionDelay = 1250 ; EA: 150, per boxSupplyWarehouseScanDistance = 700@@ -1448,7 +1450,7 @@ Object Slth_GLAInfantryWorkerBoredTime = 5000BoredRange = 150MaxBoxes = 3 ; EA: 1- UpgradedSupplyBoost = 24 ; EA: 8+ UpgradedSupplyBoost = 0 ; EA: 8SupplyCenterActionDelay = 150SupplyWarehouseActionDelay = 1250 ; EA: 150, per boxSupplyWarehouseScanDistance = 700