DIR Return Create A Forum - Home
---------------------------------------------------------
Zerg Hex Forum
HTML https://zerghex.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: Builds & Guides
*****************************************************
#Post#: 2246--------------------------------------------------
Terran Economy Simulator
By: guguizg Date: September 9, 2021, 4:11 pm
---------------------------------------------------------
Hello guys :)
So, as we all know, terran economy is hard to do maths with and
figure out build orders, there are a lot of variables and
different methods of obtaining resources. My idea is to code a
economy simulator, so I can optimize build orders without having
to do it during a game. The results are obviously going to be
theoretical, but I'm trying my hardest to consider every
variable possible.
I'll share now my first version of it. I did it on Excel's VBA
and for now the user interface is not very friendy for non excel
experienced users. Soon I'll realase more user friendly
versions.
Version 1.0
How does it work
The tickspeed of the simulation is 1 tick per second, meaning
that all the data will be updated every second 1 time. On the
"eco" worksheet" you can assign a building to start building by
typing on the second you want it to start the quantity of
buildings you want to start building in that second. The
resources are going to be removed from your bank (it doesnt
check if you will be negative) automatically. After the building
time is complete, you economy will be increased accordingly.
It doesn't work at real time, you have to activate the macro
"simulation" every time you want to update it.
Next version: I'll add army expenses, such as getting marines,
reapers, armory upgrades, walls, wall upgrades, generator
upgrades, etc.
Feel free to send me some feedback.
#Post#: 2247--------------------------------------------------
Re: Terran Economy Simulator
By: guguizg Date: September 9, 2021, 4:59 pm
---------------------------------------------------------
Version 1.1
Implemented the army expenses and army related upgrades. Still
need to fix the energy and wall upgrades scaling up the cost.
Next update: I'll implement terran eco upgrades, such as
Improved Farming and Gas Extraction.
#Post#: 2248--------------------------------------------------
Re: Terran Economy Simulator
By: Ecanos Date: September 9, 2021, 7:23 pm
---------------------------------------------------------
[quote author=guguizg link=topic=245.msg2247#msg2247
date=1631224746]
Version 1.1
Implemented the army expenses and army related upgrades. Still
need to fix the energy and wall upgrades scaling up the cost.
Next update: I'll implement terran eco upgrades, such as
Improved Farming and Gas Extraction.
[/quote]
i think Gas 0f CommandCenter is 60 1gas/s.
#Post#: 2249--------------------------------------------------
Re: Terran Economy Simulator
By: guguizg Date: September 9, 2021, 8:51 pm
---------------------------------------------------------
Yes it is, and it is set to 1 i think. Both the gas and mineral
income are per second, so the start is 12min/60gas and in
seconds that would be 0.2min/1gas.
#Post#: 2250--------------------------------------------------
Re: Terran Economy Simulator
By: guguizg Date: September 9, 2021, 9:07 pm
---------------------------------------------------------
Version 1.2
Implemented the gas extraction upgrades from the contruction
yard and the improved farming too. Both seem to be working.
Solid foundation also works (doubles the gas income produced by
the cyard 300s after cyard is built). Also, improved farming
works not only for new cows and sheep, but also the already
existing sheep and cow.
Next update: I'll calculate the mineral and gas "debt". This is
brough up by the discussion on my "zerg hex science" post about
the terran eco and how long a cow takes to pay for itself. I'll
apply that logic for upgrading sheep farms, getting sheep, cows,
cow farms, gas extractor upgrades and construction yard gas
upgrades too.
Again, feel free to send feedback, suggestions or bug reports :)
#Post#: 2252--------------------------------------------------
Re: Terran Economy Simulator
By: guguizg Date: September 10, 2021, 9:56 pm
---------------------------------------------------------
Version 1.3
Implemente the gas and mineral debts from:
-sheep farm upgrade
-sheep
-cow farm
-cow
-gas extractor
-gas extraction upgrades on contruction yard 1,2 and 3
Next version: I think all of the eco/resources related stuff
from the game has already been implemented and all of the
analysis aspects too, like mineral debt, army value, etc. It's
time to make the simulator user friendly and list all of the
features, with a explanation on how to use it.
*****************************************************