SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [REL] Campaign 1.1b Fix (Updated) (https://www.subsim.com/radioroom/showthread.php?t=110401)

U-Bones 04-02-07 03:27 PM

[REL] Campaign 1.1b Fix (Updated)
 
THIS MOD IS Patch 1.2 Compatible
- Load only at Port -

Campaign Fix 1.1b
(instead of Campaign 1.1 Fix Part Deux, bleh)

Corrected overlap of mission layers.

The overlap was intended to prevent empty seas for the last part of partols that included the cutover dates. It was just not finished or done cleanly, and I made it worse for the layers in Campaign Fix 1.1 (now corrected).

1. Every EndDate in campaign.cfg now agrees with the comment date.

2. Every 4*.mis file called in campaign.cfg now ends on exactly the EndDate. There is no need to load a layer for a date that is in the past, it is simply a waste of memory.

2. All 4*.mis files now contain only units that end on or before the comment date.

3. All 4*.mis files now contain only units that start on or after the comment date.

4. All StartDates in campaign.cfg are now 60 days prior to the comment date. Basically this will load the missions for the next time period if you are within 60 days of the cutover. This will no longer result in duplicate spawns - the *.mis files no longer have overlapping unit/dates.

This does not change Crewratings, and it will need to be manually merged with any other changes to these files.

This is more of a notice to other modders that are working with campaigns than it is a mod - it will not be long before all this is rolled up into other efforts. Well, that AND cleaning up after myself ;)

NEW DOWNLOAD
http://members.bellatlantic.net/~vze33y78/Campaign_Fix_1.1b.zip

======
Campaign 1.1 Fix
JSGME Ready - Extract into your MOD directory.

All this MOD does is replace blank files to accomplish:

1. Sep 42 - Aug 43 now has IJN HuntKill groups and US coastal traffic.

2. Oct 44 - War End now has US coastal traffic and Taskforces.

In SH4 1.1 there are 4 empty mission files in the dynamic Campaign.

42b_Jap_SubHunters.mis
42b_US_CoastalTraffic.mis
44b_US_CoastalTraffic.mis
44b_US_Taskforce.mis

In the 42a* versions of the empty files, the end date is sufficient to cover until the 43a* files. The empty 42b* files are not needed.

In the 44a* versions of the empty files, the end date is sufficient to cover until the end of the war. The empty 44b* files are not needed.

So what is the problem you ask ?

Well, another file, Data\Campaigns\Campaign\campaign.cfg, forgot this and makes references to these empty files.

So rather than assuming this is the only place that points to these empty files, and editing the campaign.cfg, I have simply copied the 42a* and 44a* versions of these files into the 42b and 44b versions.

I dug into this after a totally boring patrol in June 42.

Enjoy,
U-Bones
Problem correction, new link http://members.bellatlantic.net/~vze...n_Fix_1.1b.zip

Jace11 04-02-07 03:41 PM

Good spot!!!:up:

akdavis 04-02-07 05:35 PM

Thanks! Going to post the original problem in the bugs thread (I had already noted the subhunters file, but not the others).

Von Hinten 04-03-07 07:32 AM

Fantastic. You modders keep amazing me with what you come up with. :cool:

Redwine 04-03-07 08:03 AM

Great ! :up:

It is posible to change the files in middle of a campaign ? when at port ?

U-Bones 04-03-07 09:46 AM

Quote:

Originally Posted by Redwine
Great ! :up:

It is posible to change the files in middle of a campaign ? when at port ?

I assume at port will reread the *.mis files, but I have not even started looking at the changes in \My Documents\Sh4\ ...

Redwine 04-03-07 12:18 PM

Quote:

Originally Posted by U-Bones
Quote:

Originally Posted by Redwine
Great ! :up:

It is posible to change the files in middle of a campaign ? when at port ?

I assume at port will reread the *.mis files, but I have not even started looking at the changes in \My Documents\Sh4\ ...

Done, at port, and two mission with no issue. Only a extrange SJ-1 doesnt work after an upgrade from SJ, but in the second mission, nothing related to these chages.

Many Thanks ! :up:

tater 04-03-07 05:43 PM

I noticed (not in your release, but the stock files), that there are zero convoys or merchants coming from Balikpapan. I'd expect to see that as a major origin for tankers. Early on there would be single, or possible unescorted groups of a couple ships. Later, small escorted convoys of tankers. A few subchasers, minesweepers, and other more lowly ASW units would sweep the area all the time, however.

I also didn't see much if anything (didn't look hard) going to and from the Aleutians or to Truk. Might be cool to see the Tokyo Express added to the Slot as well for August '42 to Jan '43.

U-Bones 04-09-07 01:20 PM

[REL] Campaign Fix 1.1b
 
Problem correction, new link http://members.bellatlantic.net/~vze33y78/Campaign_Fix_1.1b.zip

Notes for Campaign Fix 1.1b
(instead of Campaign 1.1 Fix Part Deux, bleh)

Corrected overlap of mission layers.

The overlap was intended to prevent empty seas for the last part of partols that included the cutover dates. It was just not finished or done cleanly, and I made it worse for the layers in Campaign Fix 1.1 (now corrected).

1. Every EndDate in campaign.cfg now agrees with the comment date.

2. Every 4*.mis file called in campaign.cfg now ends on exactly the EndDate. There is no need to load a layer for a date that is in the past, it is simply a waste of memory.

2. All 4*.mis files now contain only units that end on or before the comment date.

3. All 4*.mis files now contain only units that start on or after the comment date.

4. All StartDates in campaign.cfg are now 60 days prior to the comment date. Basically this will load the missions for the next time period if you are within 60 days of the cutover. This will no longer result in duplicate spawns - the *.mis files no longer have overlapping unit/dates.

This does not change Crewratings, and it will need to be manually merged with any other changes to these files.

This is more of a notice to other modders that are working with campaigns than it is a mod - it will not be long before all this is rolled up into other efforts. Well, that AND cleaning up after myself ;)

jmjohnson36 04-09-07 03:59 PM

AH HA
 
GREAT WORK !!!THANKS:up:

castorp345 04-09-07 04:02 PM

that's excellent!
many thanks, u-bones

akdavis 04-10-07 10:04 PM

I'm getting a massive slow down when trying to use time compression on the navmap while using these files. By the time TC reaches 1024x, I lose control of the program for awhile until the game catches up with my keyboard inputs. Removed these files and replaced them with your earlier 1.1 fix and TC works normal again.

U-Bones 04-10-07 11:56 PM

Quote:

Originally Posted by akdavis
I'm getting a massive slow down when trying to use time compression on the navmap while using these files. By the time TC reaches 1024x, I lose control of the program for awhile until the game catches up with my keyboard inputs. Removed these files and replaced them with your earlier 1.1 fix and TC works normal again.

Game date ?

akdavis 04-11-07 09:55 AM

Dec. 7 patrol, Asiatic fleet.

edit: to clarify, the career start date selected from the menu is Dec. 7, but the problem occurs from the first day of the patrol, which I believe is Dec. 8.

tater 04-11-07 10:00 AM

Maybe it's the scripted layer having 56 1942 DDs in that dec. 7 mission file ;)

tater


All times are GMT -5. The time now is 01:43 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.