Page 1 of 1

Game ends 1945

Posted: Thu Jun 04, 2015 11:17 am
by male1965
Hi, In the earlier patches you could choose whwther the game ends 1945 or not. In the latest version it isn“t possible (Grand Strategy 1.12 3.0). Does anyone know if there is an easy way to change it? Thanks in advance

Re: Game ends 1945

Posted: Thu Jun 04, 2015 10:37 pm
by duncanr
there is not an easy way - lots of work

Re: Game ends 1945

Posted: Sun Jun 07, 2015 4:12 pm
by male1965
Hi again,

Could you still explain how to change this? Thanks

Re: Game ends 1945

Posted: Sun Jun 07, 2015 4:51 pm
by Peter Stauffenberg
You need to change quite a few Java class files. Then you need a Java decompiler and where to make the changes.

One reason this is a big task is that quite a few variables are setup as arrays where each year is a separate entry in the matrix. So you need to expand the variable definitions to allow for more years. Some variables read data from general.txt and then you need to add new entries for 1946, 1947 etc.

You will also notice the tech trees max out so you will have to add tech level 7,8 etc. That means altering quite a few txt files and even adding new unit images for the extra techs.

The current victory conditions have to be turned off and replaced with some different ones.

And so on. This risk of bugs trying to do this is high.