Thread: SH4 XXI early
View Single Post
Old 04-19-22, 05:49 AM   #4
pp-35
Nub
 
Join Date: Feb 2015
Posts: 2
Downloads: 4
Uploads: 0
Default

Base idea is here:
https://www.subsim.com/radioroom/sho...527#post316527

So just replace start year from 1943+ year to 1939 in mentioned above files.
After manipulation with Basic.cfg; Flotillia.cfg ; SH3 folder NS_Uboat21 <-> NSS_Uboat18 (for SH4) - do "smart replacement" from string
Code:
;[SUBMARINE_AMMO11];XXI
Copy last block for 1945 year - copy, paste and modify as
Code:
;[SUBMARINE_AMMO11];XXI
[SUBMARINE_AMMO10]
Type=3
Version=0
ForeTubes=6
AftTubes=0
ForeResIntern=17
ForeResExtern=0
ForeResExtra=0
AftResIntern=0
AftResExtern=0
ShellSlots=10
NbYears=7
Renown=11


Year1=1939
ForeTube10=3 ;T1
ForeTube11=3
ForeTube12=1
ForeTube13=1
ForeTube14=4
ForeTube15=4
ForeResIntern10=3
ForeResIntern11=3
ForeResIntern12=3
ForeResIntern13=3
ForeResIntern14=3
ForeResIntern15=3
ForeResIntern16=3
ForeResIntern17=6
ForeResIntern18=6
ForeResIntern19=1
ForeResIntern110=1
ForeResIntern111=1
ForeResIntern112=1
ForeResIntern113=4
ForeResIntern114=4
ForeResIntern115=4
ForeResIntern116=4
Z01_10=12 ; IX/3
A01_10=9
A02_10=9
SuperCharger_10=-1
Snorkel_10=1262
Batteries_10=1269
AftBatteries_10=1269
Hydrophone_10=1272
Sonar_10=1274
Radar_10=1278
RadarWarningReceiver_10=1282
Decoy_Launcher_10=1286
SonarCoatings_10=1303
RadarCoatings_10=-1
Renown0=0


Year1=1940
ForeTube10=3 ;T1
ForeTube11=3
ForeTube12=1
ForeTube13=1
ForeTube14=4
ForeTube15=4
ForeResIntern10=3
ForeResIntern11=3
ForeResIntern12=3
ForeResIntern13=3
ForeResIntern14=3
ForeResIntern15=3
ForeResIntern16=3
ForeResIntern17=6
ForeResIntern18=6
ForeResIntern19=1
ForeResIntern110=1
ForeResIntern111=1
ForeResIntern112=1
ForeResIntern113=4
ForeResIntern114=4
ForeResIntern115=4
ForeResIntern116=4
Z01_10=12 ; IX/3
A01_10=9
A02_10=9
SuperCharger_10=-1
Snorkel_10=1262
Batteries_10=1269
AftBatteries_10=1269
Hydrophone_10=1272
Sonar_10=1274
Radar_10=1278
RadarWarningReceiver_10=1282
Decoy_Launcher_10=1286
SonarCoatings_10=1303
RadarCoatings_10=-1
Renown1=0


Year1=1941
ForeTube10=3 ;T1
ForeTube11=3
ForeTube12=1
ForeTube13=1
ForeTube14=4
ForeTube15=4
ForeResIntern10=3
ForeResIntern11=3
ForeResIntern12=3
ForeResIntern13=3
ForeResIntern14=3
ForeResIntern15=3
ForeResIntern16=3
ForeResIntern17=6
ForeResIntern18=6
ForeResIntern19=1
ForeResIntern110=1
ForeResIntern111=1
ForeResIntern112=1
ForeResIntern113=4
ForeResIntern114=4
ForeResIntern115=4
ForeResIntern116=4
Z01_10=12 ; IX/3
A01_10=9
A02_10=9
SuperCharger_10=-1
Snorkel_10=1262
Batteries_10=1269
AftBatteries_10=1269
Hydrophone_10=1272
Sonar_10=1274
Radar_10=1278
RadarWarningReceiver_10=1282
Decoy_Launcher_10=1286
SonarCoatings_10=1303
RadarCoatings_10=-1
Renown2=0

Year1=1942
ForeTube10=3 ;T1
ForeTube11=3
ForeTube12=1
ForeTube13=1
ForeTube14=4
ForeTube15=4
ForeResIntern10=3
ForeResIntern11=3
ForeResIntern12=3
ForeResIntern13=3
ForeResIntern14=3
ForeResIntern15=3
ForeResIntern16=3
ForeResIntern17=6
ForeResIntern18=6
ForeResIntern19=1
ForeResIntern110=1
ForeResIntern111=1
ForeResIntern112=1
ForeResIntern113=4
ForeResIntern114=4
ForeResIntern115=4
ForeResIntern116=4
Z01_10=12 ; IX/3
A01_10=9
A02_10=9
SuperCharger_10=-1
Snorkel_10=1262
Batteries_10=1269
AftBatteries_10=1269
Hydrophone_10=1272
Sonar_10=1274
Radar_10=1278
RadarWarningReceiver_10=1282
Decoy_Launcher_10=1286
SonarCoatings_10=1303
RadarCoatings_10=-1
Renown3=0


Year1=1943
ForeTube10=3 ;T1
ForeTube11=3
ForeTube12=1
ForeTube13=1
ForeTube14=4
ForeTube15=4
ForeResIntern10=3
ForeResIntern11=3
ForeResIntern12=3
ForeResIntern13=3
ForeResIntern14=3
ForeResIntern15=3
ForeResIntern16=3
ForeResIntern17=6
ForeResIntern18=6
ForeResIntern19=1
ForeResIntern110=1
ForeResIntern111=1
ForeResIntern112=1
ForeResIntern113=4
ForeResIntern114=4
ForeResIntern115=4
ForeResIntern116=4
Z01_10=12 ; IX/3
A01_10=9
A02_10=9
SuperCharger_10=-1
Snorkel_10=1262
Batteries_10=1269
AftBatteries_10=1269
Hydrophone_10=1272
Sonar_10=1274
Radar_10=1278
RadarWarningReceiver_10=1282
Decoy_Launcher_10=1286
SonarCoatings_10=1303
RadarCoatings_10=-1
Renown4=0


Year1=1944
ForeTube10=3 ;T1
ForeTube11=3
ForeTube12=1
ForeTube13=1
ForeTube14=4
ForeTube15=4
ForeResIntern10=3
ForeResIntern11=3
ForeResIntern12=3
ForeResIntern13=3
ForeResIntern14=3
ForeResIntern15=3
ForeResIntern16=3
ForeResIntern17=6
ForeResIntern18=6
ForeResIntern19=1
ForeResIntern110=1
ForeResIntern111=1
ForeResIntern112=1
ForeResIntern113=4
ForeResIntern114=4
ForeResIntern115=4
ForeResIntern116=4
Z01_10=12 ; IX/3
A01_10=9
A02_10=9
SuperCharger_10=-1
Snorkel_10=1262
Batteries_10=1269
AftBatteries_10=1269
Hydrophone_10=1272
Sonar_10=1274
Radar_10=1278
RadarWarningReceiver_10=1282
Decoy_Launcher_10=1286
SonarCoatings_10=1303
RadarCoatings_10=-1
Renown5=0


Year1=1945
ForeTube10=3 ;T1
ForeTube11=3
ForeTube12=1
ForeTube13=1
ForeTube14=4
ForeTube15=4
ForeResIntern10=3
ForeResIntern11=3
ForeResIntern12=3
ForeResIntern13=3
ForeResIntern14=3
ForeResIntern15=3
ForeResIntern16=3
ForeResIntern17=6
ForeResIntern18=6
ForeResIntern19=1
ForeResIntern110=1
ForeResIntern111=1
ForeResIntern112=1
ForeResIntern113=4
ForeResIntern114=4
ForeResIntern115=4
ForeResIntern116=4
Z01_10=12 ; IX/3
A01_10=9
A02_10=9
SuperCharger_10=-1
Snorkel_10=1262
Batteries_10=1269
AftBatteries_10=1269
Hydrophone_10=1272
Sonar_10=1274
Radar_10=1278
RadarWarningReceiver_10=1282
Decoy_Launcher_10=1286
SonarCoatings_10=1303
RadarCoatings_10=-1
Renown6=0
Don't forget to do the same on MODS\Patch.. \ Data files too (if they exist for your patches/ mods)
And go \Data\UPCDataGE\UPCCampaignData
file: CareerStart.upc
Replace in [CareerStart 1.Flotilla 1] section (if you want to start 1-st Flotilla)
Code:
IDLinkUserPlayerUnits= F1IIB, 4, F1VIIB, 2
to
Code:
IDLinkUserPlayerUnits= F1IIB, 4, F1VIIB, 2, F5XVIII, 3
Then go Flotillas.upc (the same directory)
add before ;--------------------IIB------------------Minen----------- string follow block
Code:
[Flotilla 1.UserPlayerUnitType 4]
ID= F5XVIII
NameDisplayable= U-Boot tipo XVIIII
AvailabilityInterval= 1939-01-30, 1945-08-30
IDLinkUserPlayerUnitType= XVIIII
UnitTypeCommonality= 5  		
IDFlotillaLinkTransferTo= 11Flotilla
So as result you will be able to select type XX! submarine when starting new campaign (1-st Flotilla 1939). Just in case don't forget to replace all torpedos to T1 according 1939 year.

Worked for me for Knighs of Sea Depth 2 addon to SH4.

Last edited by pp-35; 04-19-22 at 06:12 AM.
pp-35 is offline   Reply With Quote