![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
Hello,
I have a bad laptop, and I would like to have smaller campaign files, but with the campaign of the supermods. So, I would like to create a campaign files for each year. How could I delete all the units of the campaign that don't appear during a determined year ? ![]() For example, I would like to play during 1944. So, I would like to delete all the units which dissapear before January 1944 and all the units which appear after December 1944. How to do this ???? ![]() |
![]() |
![]() |
#2 |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]()
I don't know much about editing the campaign files the way you mentioned but you should check this mod:
http://www.subsim.com/radioroom/down...o=file&id=1536 It doesn't have year-based campaign layers you're looking for but it contains six different areas of the map for traffic. |
![]() |
![]() |
#3 | |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]() Quote:
![]() ![]() Now, for my problem, I have an idea. But I need a small tool to help me. In fact, for example, I want only the units sailing in 1944. I could open the Mission Editor, select start of 1938 to end of 1943 and delete everything. But I will also delete units sailing before 1944 but sailing also after the start of 1944. And if I select 1945, I will delete also the units sailing before start of 1945.... ![]() So, I need a programm to modify my campaign text. Here it is : IF GameEntryDate=1938, 1939, 1940, 1941, 1942 or 1943 AND IF GameExitDate=1944 or 1945, THEN replace GameEntryDate=XXXXX by GameEntryDate=19440101 Then, a second tool to check again all the file : IF GameEntryDate=1944, THEN replace GameExitDate=XXXXX by GameExitDate=19441231 ![]() If i'm not wrong, BL!TZKR!EG is good with programms to modify campaign text. If you are reading this, BL!TZKR!EG, could you help me ? Thanks in advance ! ![]() Last edited by Kendras; 11-26-16 at 04:51 AM. |
|
![]() |
![]() |
#4 |
Ace of the Deep
![]() Join Date: Mar 2006
Posts: 1,138
Downloads: 147
Uploads: 12
|
![]() |
![]() |
![]() |
![]() |
#5 | |
Stowaway
Posts: n/a
Downloads:
Uploads:
|
![]() Quote:
![]() Thank you for the help; If I understand correctly, your "PosTimeFilter.pl script" will allow me to delete all the units which are not sailing during a specific year ? ![]() If I want the year 1944, it won't delete the units sailing from 1939 to 1944 for example ? |
|
![]() |
![]() |
#6 |
Ace of the Deep
![]() Join Date: Mar 2006
Posts: 1,138
Downloads: 147
Uploads: 12
|
![]()
Hi Kendras,
the script removes all units which do not enter the area you specify and which do not sail during the time period you specify. If you specify 19440101 and 19441231 then all units/groups with GameExitDate before 1944 will be deleted. Units/groups with GameEntryDate after 19441231 will also be deleted. I hope this explains it. Best, LGN1 |
![]() |
![]() |
![]() |
|
|