Post by dorn on Jul 16, 2019 5:55:24 GMT -6
v1.05b
There is still issue than in some cases several technologies are skipped and technology advancedment in that field is blocked for decades. And the probability of such thing is not so small as anything in 0.1 % means it is probable at that game as there are more than 400 hundreds of technologies.
But after that Increased electronic computing power (1957 tech) is being researched skipping 4 technologies with 80 % probability of selection.
note: I do not know how it works but if it is as I think it is probability 20 % ^ 4 probability ... 0.16 %.
But it does mean my technology advancement in field Fire control is stuck for next 17 years, practically 19 years as the 17th and 18th year there is 50 % penalty. I think it is just too long for RTW period.
Save included
Game2_193803.7z (332.68 KB)
Next 5 technologies has 80 % to be choosen and it is year 1938 to new formula:
x ... probability to be choosen tech (from ResearchArea2.dat)
y = 1 - x .... probability to be skipped
year = actual year
yearT = year of tech (from ResearchArea2.dat)
ynew = y * c/MAX((yearT - year);c)
xnew = 1 - ynew
c ... it is coefficent from which years in future probability of skipping tech is adjusted - in this example I suggest 3 but it is up to finetunning
So in 1938 it would be:
TECH 1 - 1942 80%; 1 - 20 % (3/MAX(1942-1938);3) = 15 % (4 years tech ahead)
TECH 2 - 1946 80%; 1 - 20 % (3/MAX(1946-1938);3) = 7.5 % (8 years tech ahead)
TECH 3 - 1948 80%; 1 - 20 % (3/MAX(1948-1938);3) = 6 % (10 years tech ahead)
TECH 4 - 1954 80%; 1 - 20 % (3/MAX(1954-1938);3) = 3.75 % (16 years tech ahead)
TECH 5 - 1957 80%; 1 - 20 % (3/MAX(1957-1938);3) it is final tech
However if the year is 1946 than in same example it would be:
TECH 1 - 1942 80%; 1 - 20 % (3/MAX(1942-1946);3) = 20 %
TECH 2 - 1946 80%; 1 - 20 % (3/MAX(1946-1946);3) = 20 %
TECH 3 - 1948 80%; 1 - 20 % (3/MAX(1948-1946);3) = 20 % (2 years ahead, which is less than 3 ... c)
TECH 4 - 1954 80%; 1 - 20 % (3/MAX(1954-1946);3) = 7.5 % (8 years tech ahead)
TECH 5 - 1957 80%; 1 - 20 % (3/MAX(1957-1946);3) it is final tech
Or than could be some other function, probably some better when as time progress in future skipping probability decrease by small amount and it is beeing higher as it is more in future. This example function decreased skipping probability by 1/4 just after 1 year from variable "c".
There is still issue than in some cases several technologies are skipped and technology advancedment in that field is blocked for decades. And the probability of such thing is not so small as anything in 0.1 % means it is probable at that game as there are more than 400 hundreds of technologies.
Example from game:
3/1938 - I have just research Stereoscopic rangefinder (1906 tech) in field Fire control so I have all tech up to Improved optics quality (1933 tech).But after that Increased electronic computing power (1957 tech) is being researched skipping 4 technologies with 80 % probability of selection.
note: I do not know how it works but if it is as I think it is probability 20 % ^ 4 probability ... 0.16 %.
But it does mean my technology advancement in field Fire control is stuck for next 17 years, practically 19 years as the 17th and 18th year there is 50 % penalty. I think it is just too long for RTW period.
Save included
Game2_193803.7z (332.68 KB)
Suggestion:
To make skipping tech dependent on time meaning technologies with research time more in future has decreased probability of skipping which has effect that they will be no large gap in technology research
If I understand it well than the value after "Y/N" is probability of technology is choosen to be researched. I would suggest some mechanismus when next technology is skipped than another technology has some bonus to be skipped.
eg. Next 5 technologies has 80 % to be choosen and it is year 1938 to new formula:
x ... probability to be choosen tech (from ResearchArea2.dat)
y = 1 - x .... probability to be skipped
year = actual year
yearT = year of tech (from ResearchArea2.dat)
ynew = y * c/MAX((yearT - year);c)
xnew = 1 - ynew
c ... it is coefficent from which years in future probability of skipping tech is adjusted - in this example I suggest 3 but it is up to finetunning
So in 1938 it would be:
TECH 1 - 1942 80%; 1 - 20 % (3/MAX(1942-1938);3) = 15 % (4 years tech ahead)
TECH 2 - 1946 80%; 1 - 20 % (3/MAX(1946-1938);3) = 7.5 % (8 years tech ahead)
TECH 3 - 1948 80%; 1 - 20 % (3/MAX(1948-1938);3) = 6 % (10 years tech ahead)
TECH 4 - 1954 80%; 1 - 20 % (3/MAX(1954-1938);3) = 3.75 % (16 years tech ahead)
TECH 5 - 1957 80%; 1 - 20 % (3/MAX(1957-1938);3) it is final tech
However if the year is 1946 than in same example it would be:
TECH 1 - 1942 80%; 1 - 20 % (3/MAX(1942-1946);3) = 20 %
TECH 2 - 1946 80%; 1 - 20 % (3/MAX(1946-1946);3) = 20 %
TECH 3 - 1948 80%; 1 - 20 % (3/MAX(1948-1946);3) = 20 % (2 years ahead, which is less than 3 ... c)
TECH 4 - 1954 80%; 1 - 20 % (3/MAX(1954-1946);3) = 7.5 % (8 years tech ahead)
TECH 5 - 1957 80%; 1 - 20 % (3/MAX(1957-1946);3) it is final tech
Or than could be some other function, probably some better when as time progress in future skipping probability decrease by small amount and it is beeing higher as it is more in future. This example function decreased skipping probability by 1/4 just after 1 year from variable "c".