XStationCube
Chieftain
For a while now, I've been working on a custom mod for BTS which adds new game speeds, world sizes and difficulties. One of the new game speeds is called Insanity and lasts 20,000 turns. I just finished a test game with this speed and noticed a few issues with it:
1. No inflation (Fixed)
2. No war weariness (Fixed)
3. Workers not being able to finish construction of certain improvements (Forts and Oil Wells)
Now, for this game speed, I have iBuildPercent in the Civ4GameSpeedInfo XML file set to 4000 and this appears to be causing the problem. With a single worker building an Oil Well, the game says it will take 267 turns to finish, and when the worker gets close to finishing (~20 turns away), the number of turns to completion jumps up to something like 399. As a further test, I used world builder to put 700+ workers onto an oil tile to build a well. The game said it would only take one turn, but after pressing the "Build" button, the number jumped to 2. On the next turn it went down to 1, only to go back up to 2 on the turn after that.
So, I played around with the value of iBuildPercent and found that if it is decreased to about 3200, the problem vanishes. And if it is increased beyond 4000, the problem starts happening to other "cheaper" improvements like plantations and pastures.
I cannot find any reason for why this is happening (Although I'm not very experienced with coding), so does anyone have any idea why this occurs? If you like I could upload my mod in its present state, if you need it.
Also, is it possible to modify the game so as to allow for weeks per turn instead of months per turn? I know that there is CALENDAR_WEEKS, but this does not allow for variable numbers of weeks per turn like CALENDAR_DEFAULT allows for variable numbers of months per turn.
1. No inflation (Fixed)
2. No war weariness (Fixed)
3. Workers not being able to finish construction of certain improvements (Forts and Oil Wells)
Now, for this game speed, I have iBuildPercent in the Civ4GameSpeedInfo XML file set to 4000 and this appears to be causing the problem. With a single worker building an Oil Well, the game says it will take 267 turns to finish, and when the worker gets close to finishing (~20 turns away), the number of turns to completion jumps up to something like 399. As a further test, I used world builder to put 700+ workers onto an oil tile to build a well. The game said it would only take one turn, but after pressing the "Build" button, the number jumped to 2. On the next turn it went down to 1, only to go back up to 2 on the turn after that.
So, I played around with the value of iBuildPercent and found that if it is decreased to about 3200, the problem vanishes. And if it is increased beyond 4000, the problem starts happening to other "cheaper" improvements like plantations and pastures.
I cannot find any reason for why this is happening (Although I'm not very experienced with coding), so does anyone have any idea why this occurs? If you like I could upload my mod in its present state, if you need it.
Also, is it possible to modify the game so as to allow for weeks per turn instead of months per turn? I know that there is CALENDAR_WEEKS, but this does not allow for variable numbers of weeks per turn like CALENDAR_DEFAULT allows for variable numbers of months per turn.