Tech Tree test script
Posted: 24 Aug 2019, 18:27
I wrote a tech tree calculator that
- Calculates total research time
- Checks if any items are unresearchable
- Ratio of researchPower to researchPoints
I couldn't get the tech-tree-chart-generator script to work but I don't think it calculates total research time, just visualizes the dependencies.
I uploaded it to my Github
Maybe I can attempt to make a pull request to add it to the Warzone tools dir. I don't know Git that well and it would be a good exercise for me to accomplish. Part of the reason I'm working on this stuff is to gain familiarity with Git. Uploading files with commits is easy but integrating and working with others is ???
EDIT:
I'm unable to verify the calculations, it appears WZ is not calculating research times properly...
For example, in T1 full base a player can research the first armor upgrade R-Vehicle-Metals01 that has 1800 researchPoints and it takes 85 seconds to research.
1800/85 = ~21 and this makes sense because the research module has 7 researchPoints and a research facility has 14.
Everything is fine so far...
But then when I research the first research upgrade R-Struc-Research-Upgrade01, the research time for R-Vehicle-Metals01 goes from 85 seconds --> 69 seconds which implies 1800/69 = ~26
How does a research center go from 21 researchPoints to 26 if all research upgrades increase research rate by 30 or 30%???? (21*1.3 = 27 not 26)
Even though all research upgrades increase research by 30 or 30% it would appear as if they're actually increasing by 25% based on the actual research times
To clarify, R-Vehicle-Metals01 takes:
85 seconds with research center and module (1800/85 = 21)
69 seconds with research center and first upgrade (1800/69 = 26)
56 seconds with research center and second upgrade (1800/56 = 32)
49 seconds with research center and third upgrade (1800/49 = 36)
but
21 * .3 = 27
21 * .3 + 27 = 33
21 * .3 + 33 = 40
so it doesn't appear the research upgrade values of 30 are actually 30%....
- Calculates total research time
- Checks if any items are unresearchable
- Ratio of researchPower to researchPoints
I couldn't get the tech-tree-chart-generator script to work but I don't think it calculates total research time, just visualizes the dependencies.
I uploaded it to my Github
Maybe I can attempt to make a pull request to add it to the Warzone tools dir. I don't know Git that well and it would be a good exercise for me to accomplish. Part of the reason I'm working on this stuff is to gain familiarity with Git. Uploading files with commits is easy but integrating and working with others is ???
EDIT:
I'm unable to verify the calculations, it appears WZ is not calculating research times properly...
For example, in T1 full base a player can research the first armor upgrade R-Vehicle-Metals01 that has 1800 researchPoints and it takes 85 seconds to research.
1800/85 = ~21 and this makes sense because the research module has 7 researchPoints and a research facility has 14.
Everything is fine so far...
But then when I research the first research upgrade R-Struc-Research-Upgrade01, the research time for R-Vehicle-Metals01 goes from 85 seconds --> 69 seconds which implies 1800/69 = ~26
How does a research center go from 21 researchPoints to 26 if all research upgrades increase research rate by 30 or 30%???? (21*1.3 = 27 not 26)
Even though all research upgrades increase research by 30 or 30% it would appear as if they're actually increasing by 25% based on the actual research times
To clarify, R-Vehicle-Metals01 takes:
85 seconds with research center and module (1800/85 = 21)
69 seconds with research center and first upgrade (1800/69 = 26)
56 seconds with research center and second upgrade (1800/56 = 32)
49 seconds with research center and third upgrade (1800/49 = 36)
but
21 * .3 = 27
21 * .3 + 27 = 33
21 * .3 + 33 = 40
so it doesn't appear the research upgrade values of 30 are actually 30%....