NerdChieftain
Chieftain
- Joined
- Oct 20, 2010
- Messages
- 12
Hey All,
I have been reading Derek "Kael" Paxton's "Modder's Guide to Civ 5" version 1.00 and studying the game files, what not.
As all programmers should, I decided to make a very small mod and then test it.
So this mod correctly changes the start year to 6000 BC. However, I can't seem to change the turns per increment -- I have been using 1 as a test value, so on turn 2 the change in years would be different.
I feel silly, because it is probably something obvious, like having to state the UpdateDatabase on OnModActivated trigger...
Can anyone help?
Thanks,
NerdChieftain
I have been reading Derek "Kael" Paxton's "Modder's Guide to Civ 5" version 1.00 and studying the game files, what not.
As all programmers should, I decided to make a very small mod and then test it.
So this mod correctly changes the start year to 6000 BC. However, I can't seem to change the turns per increment -- I have been using 1 as a test value, so on turn 2 the change in years would be different.
I feel silly, because it is probably something obvious, like having to state the UpdateDatabase on OnModActivated trigger...
Can anyone help?
Thanks,
NerdChieftain
<GameData>
<!-- The game uses months instead of years for tracking turn length.-->
<!-- To Add 2000 years, we need to be cognizant of the length per turn-->
<GameSpeed_Turns>
<Update>
<Set TurnsPerIncrement="1"/>
<Where GameSpeedType="GAMESPEED_STANDARD" MonthIncrement="480"/>
<!-- 480 months = 40 years, 2000 / 40 years = 50 turns -->
<!-- 500 turns is now 550 turns, 10% longer -->
<Set TurnsPerIncrement="233"/>
<Where GameSpeedType="GAMESPEED_MARATHON" MonthIncrement="180"/>
<!-- 1500 turns is now 1633 turns, 9% longer -->
<Set TurnsPerIncrement="220"/>
<Where GameSpeedType="GAMESPEED_EPIC" MonthIncrement="300"/>
<!-- 750 turns is now 830 turns, 10.7% longer -->
<Set TurnsPerIncrement="83"/>
<Where GameSpeedType="GAMESPEED_QUICK" MonthIncrement="720"/>
<!-- 255 turns is now 288 turns, 13% longer -->
</GameSpeed_Turns>
<Defines>
<Update>
<Set Value="-6000"/>
<Where Name="START_YEAR"/>
</Update>
</Defines>
</GameData>