Can you make turns take less than a year?

Drakken

Warlord
Joined
Feb 6, 2002
Messages
130
Location
Chicago
I am making an epic game and was hoping to make the latter turns take less than a year to complete. I changed values in the xml file to fractions like .25 years but i got some errors.

What did modders do for WWII scenarios in the past? Did the game only last 7 or 8 turns or did the years not match up with the scenario?

Thanks in advance for any insight!!!!
 
Drakken said:
I am making an epic game and was hoping to make the latter turns take less than a year to complete. I changed values in the xml file to fractions like .25 years but i got some errors.

What did modders do for WWII scenarios in the past? Did the game only last 7 or 8 turns or did the years not match up with the scenario?

Thanks in advance for any insight!!!!

Yes, you can. Check the modding manual in the Utilities forum.
 
Ok... so I read the modding manual and it says you can do it, but I haven't been able to find an example xml document that shows how to format the year with months or seasons. Is there an xml document you can point to as an example with time flow slower than years?

Thanks again in advance...
 
Open your WBS file in notepad and one of the first lines is Calendar=..... Change that to read Calendar=CALENDAR_MONTHS or CALENDAR_SEASONS. They are pre-defined calendars. Months is months obviously, and seasons is the four seasons.

Also, in the in-depth WBS file analysis it clearly explains the tag and what can be used, and most importantly where to find the definitions of the calendars so you can create your own.

Dale
 
It almost seems like we're getting to the point where one might as well ask:

Is there a way to freeze time in the xml files?
 
Woah wait, is it possible to go from years, to months, to seasons within a game through the XML? (BC would be years, AD would be months, future would work into seasons kinda stuff)

Because that is something speed modifiers are currently looking for.
 
I don't have time to try it now, but has anyone attempted to change the game to MONTHS or SEASONS as described above, and simply use multiples of 12 or 4 (respectively) when they want years, and cut it down when they want to move into seasons?
 
Doskei said:
I don't have time to try it now, but has anyone attempted to change the game to MONTHS or SEASONS as described above, and simply use multiples of 12 or 4 (respectively) when they want years, and cut it down when they want to move into seasons?

it doesn't work....

unfortunately :(

I was planning to make the game using month only at final, but we can't. The calendar that use month forget the part in the game speed where the years are incremented.
It works like 1 turn = 1 month
nothing possible to change :(

(disgusted :( the thing I dream for long time to see going back in my games... that and the manhattan project that need to be built by all civilization that want to use nuclear weapons (but i will do it one day :p))
 
Ralendil--I think you're wrong... Can't you just change the turn INCREMENT to 12 (if you're in months) .... I mean, the default increments the BC by 40 years...there's no reason that we can't increment it by whole numbers as well... right?
 
I've been thinking about if there would be a way to make the game change from CALENDAR_DEFAULT to CALENDAR_SEASONS/CALENDAR_MONTHS, lets say that after 600 turns, so you would use years, where you could use the increment from the start, and then redefine the calendar afterworth
 
Sofus said:
I've been thinking about if there would be a way to make the game change from CALENDAR_DEFAULT to CALENDAR_SEASONS/CALENDAR_MONTHS, lets say that after 600 turns, so you would use years, where you could use the increment from the start, and then redefine the calendar afterworth

I have not found the solution to this yet (havent spent too much time looking tho...but I believe this would be somethign only a .PY file could handle as you would need an IF statement.
 
I appreciate all of the input. so far everything I have tried has failed. I am not a programmer however. I hope someone figures out the problem. For now I just play the long epic games witha timeline that does not completely match my gamespeed.
 
I haven't seen his scenario but I'm sure it's just a modified WBS file (when it comes to changing years to seasons)

Apparently you can't edit it from xml files, I tried and it always gave me errors
 
My "Age of Discovery" mod (which as mentioned uses two seasons (turns) per year) has the WBS defining calendar=CALENDAR_SEASONS and then a simple edit to xml file containing the calendar definitions (can't remember which file, and not in front of home PC to find out). All I did was delete the two entries for autumn and spring.

Dale

PS: I conclude it would therefore be possible to edit an existing definition any way you wish, so you could create Monday, Tuesday Wednesday, etc, Sunday for one of the calendar definitions and then call it from the WBS.
 
Dale said:
My "Age of Discovery" mod (which as mentioned uses two seasons (turns) per year) has the WBS defining calendar=CALENDAR_SEASONS and then a simple edit to xml file containing the calendar definitions (can't remember which file, and not in front of home PC to find out). All I did was delete the two entries for autumn and spring.

Dale

PS: I conclude it would therefore be possible to edit an existing definition any way you wish, so you could create Monday, Tuesday Wednesday, etc, Sunday for one of the calendar definitions and then call it from the WBS.

But can you then get turns lasting more then a year?
 
Thanks Dale but I think your game stays with the same timeline throughout the scenario. We are looinig to change from years in the early game to seasons or even shorter in the late game. I would even find it acceptable to do seasons for the entire game if I could make the early game skip like 80 seasons at a time and then slow down proportionately...
 
Mujadaddy said:
Ralendil--I think you're wrong... Can't you just change the turn INCREMENT to 12 (if you're in months) .... I mean, the default increments the BC by 40 years...there's no reason that we can't increment it by whole numbers as well... right?

It doesn't work, I modded the WBS file to use calendar=seasons, and it used seasons alright, just 1 season/turn instead of 40 seasons for the first set of turns then 25 seasons..etc grrr!
 
Haven't tested it but perhaps gc.getGame().setGameTurn(int newturn) at the start of every turn could be used to change the time to what you want but (hopefully) nothing else.
 
Back
Top Bottom