Change end year of scenario from default?

Moderator: Pocus

Post Reply
Bombax
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 256
Joined: Sat Jul 02, 2016 1:44 pm

Change end year of scenario from default?

Post by Bombax »

Hi folks,

Is anyone able to advise on how to change the end year of a a scenario, e.g. from the default to say 100 AD?

Thanks,
Jay.
Surt
General - King Tiger
General - King Tiger
Posts: 3860
Joined: Thu May 21, 2020 9:50 pm

Re: Change end year of scenario from default?

Post by Surt »

You need to change SCENARIO.BSF
If you change the scenario name you need to add a translation somewhere.
I copied ALIASES.csv from base game to my DATA and added it after the other scenario names.

Code: Select all

	gTurnInfos.dateFirstTurn = -814; // date of the first turn in years
	gTurnInfos.durationTurns = 1268; // how many **turns** 453 CE
Start in -814 and run for 1268 year to 453 CE
There are 10 kind of hard problems in computer science, naming, cache invalidations and off-by-one errors.
There are also 10 kinds of people, those who understand binary and those who do not.
Bombax
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 256
Joined: Sat Jul 02, 2016 1:44 pm

Re: Change end year of scenario from default?

Post by Bombax »

Many thanks Surt, that works perfectly! 8) 8) 8)
Post Reply

Return to “MOD”