Europa Universalis IV

Europa Universalis IV

Extended Timeline
Iceman 28 Dec, 2021 @ 9:20am
AD 51 - auto discovers provinces
Firstly, amazing mod! This must have taken absolutely ages, and it is so intricately thought out. Hats off to the designers, great job guys!

I just have a minor annoyance surrounding the year AD 51. As soon as it flips from 31 Dec 50 to 1 Jan 51, the game auto discovers all provinces in Europe. But I don't want that to happen. I deliberately edited the save file at the start of the game to undiscover all the provinces in order to explore manually starting off with only one province visible.

Using an editor on the save files, it seems to be driven by a script that discovers the European provinces based on your religion. The save file on 1 Jan 51 adds: discovery_religion_dates2={ followed by a load of religion IDs and the discovery date of 1 Jan 51 (eg 18=51.1.1) to all of the provinces in Europe.

I have tried many, many work-arounds. Eg I can skip the date on the save file, but then the same thing unavoidably happens with each monthly data refresh (ie if I skip the save file to 2 Jan 51, then exactly the same thing happens just with the trigger date of 1 Feb 51). I have also tried changing my religion to say totemism, hoping that picking a religion from the new world wouldn't trigger the discovery of Europe, but it still does trigger it! I've tried changing to no religion. I've even tried removing my tech group from the list of "discover=" on the individual province files! I've then looked through countless of the mod files in the steamworkshop folder, but it doesn't seem to be in any of them. religion, ages, events, techs, innovations, scripts. I've searched through hundreds of the ones that sound like they ought to be the pertinent files, but it is not there.

I guess my simple question is, where is the file that drives this auto-discovery of Europe based on religion so that I can delete the relevant line? I cannot find it for the life of me, and I don't really want to have to manually trawl through every single one - though I may end up doing that!

EDIT

PS: In case any mod developers read this, I noticed your mod doesn't pull up the description for German Spearmen. Because you have a typo in the file "et_units_l_english" (in the localisation folder). You've put "germanic_spearmenDESCR" but it should be "germanic_spearmanDESCR". I've fixed it in my folder. You should fix this on the main mod.

PPS: Also, if you hover over Governing Capacity, there is an error in the listed breakdown of the total because you've missed out the line: " FROM_TECH_NON_PERC:0 "From Technology: $VAL|=+0$\n" " in the file "technology_l_english" (also in the localisation folder). If you add in this line, this then correctly brings through the "From Technology" figure when you hover over governing capacity box in the game.

I will post both of these points in the bugs discussion too.

Thanks in advance!
Last edited by Iceman; 28 Dec, 2021 @ 9:36am
< >
Showing 1-9 of 9 comments
qweytr  [developer] 28 Dec, 2021 @ 12:26pm 
There is no file about the province auto-discovery. That aspect of the game is not moddable.
Iceman 28 Dec, 2021 @ 12:34pm 
That doesn't make sense though, because something is triggering all provinces in Europe to get discovered as at 51.1.1 - it has to be coded somewhere.

I played through the first 49 years, and it just left everything undiscovered. It's only after AD 51 that it auto-triggers and adds the blanket discoveries to all the provinces with the effective date 51.1.1. It doesn't matter what date you use either. I tried fast forwarding the save file to a random date in like 395 AD, and it still triggers the discoveries at the next month changeover recalculation.

It is possible that it is coded in the original game files, that all of Europe is always known to all religions. I just assumed it must have been in one of your mod files because of the trigger date. I may be able to override it that way.

Odd that it didn't trigger for the whole of AD 2 to AD 50 though...
Iceman 28 Dec, 2021 @ 12:52pm 
The only other thing I can think of, is it may be related to the "golden age" which ends in 51 AD. There is something about the first 50 years of gameplay that is causing the mod to not quite act as expected, judging from other comments on these message boards. It may be related to this automatic golden age, that every country seems to start with, but then ends at 51 AD.

Do you know anything about the golden age each country starts with? Is that coded anywhere in your mod, or is that outside of moddable control as well?
qweytr  [developer] 30 Dec, 2021 @ 5:12am 
Originally posted by Iceman:
That doesn't make sense though, because something is triggering all provinces in Europe to get discovered as at 51.1.1 - it has to be coded somewhere.

I played through the first 49 years, and it just left everything undiscovered. It's only after AD 51 that it auto-triggers and adds the blanket discoveries to all the provinces with the effective date 51.1.1. It doesn't matter what date you use either. I tried fast forwarding the save file to a random date in like 395 AD, and it still triggers the discoveries at the next month changeover recalculation.

It is possible that it is coded in the original game files, that all of Europe is always known to all religions. I just assumed it must have been in one of your mod files because of the trigger date. I may be able to override it that way.

Odd that it didn't trigger for the whole of AD 2 to AD 50 though...
There is no hardcoded thing to make all of Europe discovered. The reason you are discovering those provinces is that you are or at some point were in the same tech group as countries that had those provinces discovered.
Iceman 30 Dec, 2021 @ 6:11am 
The point I was making though is that I was in that same tech group for the previous 49 years and it never auto-triggered before 1 Jan 51.

Also, I had edited the save file to remove "discovered_by=barbarians" from all provinces - so that tech group trigger shouldn't have ever fired.

Something happened in AD51 which over-rode the fact that I removed "discovered_by=barbarians" in the save file.

I have partly solved the mystery over the last couple of days. The folder "history/provinces" in your mod file contains an overriding "discovered_by=barbarians" hard coded for all European provinces. So I think this is what is over-riding my save file edit. "discovered_by=barbarians" doesn't exist in the original game files by the way, it is something your mod added.

I deleted this line for one random Roman province, then when I started a game at the first marker (1 Feb 58) all provinces were explored EXCEPT the one province I removed this line in your history/provinces folder.

So in theory it would be possible to delete this line in all the individual files, but that would take an incredibly long time as it would involve identifying all the European provinces for which this applies, and then deleting the line in each individual file. So not really a viable solution.

In any event, I found another workaround involving repeatedly editing the game date in the save file, which wasn't ideal but just about worked.

The reason I say "partly solved the mystery", is that your explanation above does not take into account the fact that I played for 49 years, and the auto-discovery didn't fire. As I mentioned before, I'm pretty sure this is to do with the "golden_era" which every nation starting before AD 51 seems to have auto-applied. Because as soon as that "golden_era" ends on 1 Jan 51 then the gameplay works fine. Including many other bugs which have been reported about people with earlier start dates, they also are no longer a problem after AD 51.

I'm pretty sure that is what is causing many of your problems. Just thought I'd flag it, in case there was any mileage investigating whether you can identify what triggers that, and deleting it. Then the game should play fine from AD 2.

Anyway, all this info intended to be helpful to you. Hope it helps. I've (sort of) fixed the issue I was having now with this workaround.
qweytr  [developer] 30 Dec, 2021 @ 10:10am 
No. Nothing happened in year 51. Things happened before that that would make you discover places with a delay. Even if you change your tech group or remove the discoveries, it was already set that you would discover Europe before you made those changes, so you will. It just does not happen immediately, but with a delay, that delay putting the year at 51 apparently.
Iceman 30 Dec, 2021 @ 12:47pm 
Appreciate you are busy, but please don't tell me "no" when what I am telling you is correct information which I have discovered based on hours of trial and error over the last few days.

I'm trying to give you additional info to help you improve the mod for the dates before 1 Jan 51. Bear in mind, I already fixed the issue I was having. The only reason to give you this information is to try to help YOU! = )

For the first 49 years, the discovery of Europe doesn't trigger - even if you meet the trigger criteria straight away in AD 2. But if you change the date on the save file from any date before 1 Jan 51 to any date after 1 Jan 51 then Europe gets discovered the following month.

The key date is 1 Jan 51. Before that date, Europe won't get discovered. After that date, all of Europe will get discovered.

As I have pointed out three times now, I think the issue is around the Golden Era which is auto-applied to every nation as at 1 Jan 1, and always expires in 1 Jan 51.

This is the case no matter which start date you pick before 1 Jan 51. Eg if you start on 31 Dec 50, then you will still get a message saying that your steward advises of the end of a Golden Era on 1 Jan 51.

I'm simply suggesting that if you can find a way to remove this Golden Era status on your mod, I'm pretty certain it will fix all of the early start issues people have commented about on these discussion boards. Because there is something about that Golden Era which causes the mod to behave differently before 1 Jan 51.

I was trying to find what causes the Golden Era, but I didn't find it in any of the folders I trawled through so far.

If I do find it, I will let you know. Although I worry based on your replies you have sent me so far, that unfortunately you won't actually listen. = )

For instance, did you see my fixes for German Spearmen and the Governing Capacity? You didn't make any comment about it.

It's no skin off my nose. I am only trying to help you out mate. = )
Last edited by Iceman; 30 Dec, 2021 @ 12:56pm
Toma 12 Jan, 2022 @ 9:07am 
Originally posted by Iceman:
Appreciate you are busy, but please don't tell me "no" when what I am telling you is correct information which I have discovered based on hours of trial and error over the last few days.

I'm trying to give you additional info to help you improve the mod for the dates before 1 Jan 51. Bear in mind, I already fixed the issue I was having. The only reason to give you this information is to try to help YOU! = )

For the first 49 years, the discovery of Europe doesn't trigger - even if you meet the trigger criteria straight away in AD 2. But if you change the date on the save file from any date before 1 Jan 51 to any date after 1 Jan 51 then Europe gets discovered the following month.

The key date is 1 Jan 51. Before that date, Europe won't get discovered. After that date, all of Europe will get discovered.

As I have pointed out three times now, I think the issue is around the Golden Era which is auto-applied to every nation as at 1 Jan 1, and always expires in 1 Jan 51.

This is the case no matter which start date you pick before 1 Jan 51. Eg if you start on 31 Dec 50, then you will still get a message saying that your steward advises of the end of a Golden Era on 1 Jan 51.

I'm simply suggesting that if you can find a way to remove this Golden Era status on your mod, I'm pretty certain it will fix all of the early start issues people have commented about on these discussion boards. Because there is something about that Golden Era which causes the mod to behave differently before 1 Jan 51.

I was trying to find what causes the Golden Era, but I didn't find it in any of the folders I trawled through so far.

If I do find it, I will let you know. Although I worry based on your replies you have sent me so far, that unfortunately you won't actually listen. = )

For instance, did you see my fixes for German Spearmen and the Governing Capacity? You didn't make any comment about it.

It's no skin off my nose. I am only trying to help you out mate. = )
Honestly he does seem kind of blocking out some stuff, i have a feeling he does not want to fix/do it simply cuz he doesnt feel like it, which is sad cuz this mod could be so much more and i find the ww2 era for example to be kind of lacking, but personally i have encountered this issue too, however it was with custom nations or simply out of random.
qweytr  [developer] 12 Jan, 2022 @ 3:01pm 
Originally posted by Toma:
Originally posted by Iceman:
Appreciate you are busy, but please don't tell me "no" when what I am telling you is correct information which I have discovered based on hours of trial and error over the last few days.

I'm trying to give you additional info to help you improve the mod for the dates before 1 Jan 51. Bear in mind, I already fixed the issue I was having. The only reason to give you this information is to try to help YOU! = )

For the first 49 years, the discovery of Europe doesn't trigger - even if you meet the trigger criteria straight away in AD 2. But if you change the date on the save file from any date before 1 Jan 51 to any date after 1 Jan 51 then Europe gets discovered the following month.

The key date is 1 Jan 51. Before that date, Europe won't get discovered. After that date, all of Europe will get discovered.

As I have pointed out three times now, I think the issue is around the Golden Era which is auto-applied to every nation as at 1 Jan 1, and always expires in 1 Jan 51.

This is the case no matter which start date you pick before 1 Jan 51. Eg if you start on 31 Dec 50, then you will still get a message saying that your steward advises of the end of a Golden Era on 1 Jan 51.

I'm simply suggesting that if you can find a way to remove this Golden Era status on your mod, I'm pretty certain it will fix all of the early start issues people have commented about on these discussion boards. Because there is something about that Golden Era which causes the mod to behave differently before 1 Jan 51.

I was trying to find what causes the Golden Era, but I didn't find it in any of the folders I trawled through so far.

If I do find it, I will let you know. Although I worry based on your replies you have sent me so far, that unfortunately you won't actually listen. = )

For instance, did you see my fixes for German Spearmen and the Governing Capacity? You didn't make any comment about it.

It's no skin off my nose. I am only trying to help you out mate. = )
Honestly he does seem kind of blocking out some stuff, i have a feeling he does not want to fix/do it simply cuz he doesnt feel like it, which is sad cuz this mod could be so much more and i find the ww2 era for example to be kind of lacking, but personally i have encountered this issue too, however it was with custom nations or simply out of random.
It's not that I don't want to. I have just been busy with other things recently, so I can't do everything I want with the mod.
< >
Showing 1-9 of 9 comments
Per page: 1530 50