Page 1 of 1

Patch 1.03.04 1941 Scenario scripts issue

Posted: Fri Jul 11, 2025 6:02 pm
by CaesarAug
Doing a quick test-run of the default 1941 Day of Infamy scenario, the editor asks for script updates: specifically, the AI Amphibious and Amphibious Minor scripts have an asterisk. They will not be automatically updated, calling for “cannot find the name” in lines 460 and 336, respectively.

Additionally, the Events Annexation script has an asterisk but is automatically updated.

When porting over to a custom mod, obviously the same problems. Not sure how to correct the “cannot find name” issue, though.

Thought to post so that the developers see this. Thanks.

Re: Patch 1.03.04 1941 Scenario scripts issue

Posted: Fri Jul 11, 2025 7:17 pm
by BillRunacre
Yes, that is intriguing. Thanks for posting this.

The NAME fields are definitely in place, and I have tried removing and replacing them with new fields, but with no joy.

We may require Hubert's help to fix this. I will discuss it with him and we'll see what we can do, though it probably won't be until next week.

Re: Patch 1.03.04 1941 Scenario scripts issue

Posted: Sat Jul 12, 2025 6:38 am
by CaesarAug
BillRunacre wrote: Fri Jul 11, 2025 7:17 pm Yes, that is intriguing. Thanks for posting this.

The NAME fields are definitely in place, and I have tried removing and replacing them with new fields, but with no joy.

We may require Hubert's help to fix this. I will discuss it with him and we'll see what we can do, though it probably won't be until next week.
Bill and Hubert, I should point out that these script issues seemingly affect all default game scenarios, the same exact scripts with asterisks. Haven't opened each and every one of them with the editor but the ones I did open have the same problems, so I can only infer it affects all of them.

Regarding the 1941 Day of Infamy campaign, I have found one way around this until a patch fixes it: by taking a default patch 1.02.00 version of the campaign and saving it as a custom scenario, with WinMerge (excellent app!) manually incorporate all the changes made in the 1.03.04 version AI scripts of the campaign so that they're ported over manually (not copy/pasted), and the editor correctly updates the asterisks and saves the scenario.

But there is a quirk if you then want to export the data to save it as well: you can still do it but the screen for selecting which data to export either takes a little while in being visible on the screen, or only shows up when you close the editor, and then it appears on the upper left-hand side of the computer screen (maybe a monitor resolution issue?), where you can at least select all the data to save it.

Re: Patch 1.03.04 1941 Scenario scripts issue

Posted: Sat Jul 12, 2025 6:46 am
by BillRunacre
Yes, there seems to have been some corruption affecting literally the same three scripts in all campaigns. I do believe this will only affect the process you are doing, i.e. of taking the campaign and making a copy of it.

Hopefully we can get that fixed soon too.