SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH4 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 11-20-07, 08:50 AM   #16
jmaisc
Swabbie
 
Join Date: Jul 2005
Location: Azores - Portugal
Posts: 14
Downloads: 50
Uploads: 0
Default All Conning types, Subs and weapons

Well you can wait for the dice to roll, but if you don't want that you can tweak the game to use since the beggining any sub, equipment and weapon, or almost anything...
First, you can edit the Flotillas.upc file in the ...\Data\UPCData\UPCCampaignData and modify the subs availability for each one of the flotillas, in the end for Pearl Harbor only you will have:


// Quote

[Flotilla 1]
ID= PearlHarborCommand
NameDisplayable= Pearl Harbor
AvailabilityInterval=NULL, NULL

[Flotilla 1.Base 1]
ID= PearlHarbor
NameDisplayable= Pearl Harbor, Hawaii
ExternalBaseName=Pearl Harbor
AvailabilityInterval= NULL, NULL
DepartureDescription1= -18954703, 2562919, 45.918098 ; Enum of available points, choose one randomly each time a patrol is started
DepartureDescription2= -18954874, 2563059, 46.252201
DepartureDescriptionOut1= -18957616, 2548824, 242.189346 ; Enum of starting points for when the player selects the option to start outside the base
[Flotilla 1.UserPlayerUnitType 1]
ID= F1Sboat
NameDisplayable= S-18 class
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= S18
UnitTypeCommonality= 6 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL ; when the flotilla is disbanded, the subs of this type are transferred to this one
[Flotilla 1.UserPlayerUnitType 2]
ID= F1Sboat2
NameDisplayable= S-42 class
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= S42
UnitTypeCommonality= 11 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL
[Flotilla 1.UserPlayerUnitType 3]
ID= F1Porpoise
NameDisplayable= Porpoise class
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= Porpoise
UnitTypeCommonality= 4 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL ; when the flotilla is disbanded, the subs of this type are transferred to this one. If NULL then submarine assigned to training -> desk job or reassignment
[Flotilla 1.UserPlayerUnitType 4]
ID= F1Tambor
NameDisplayable= Tambor class
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= Tambor
UnitTypeCommonality= 5 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL ; when the flotilla is disbanded, the subs of this type are transferred to this one
[Flotilla 1.UserPlayerUnitType 5]
ID= F1Salmon
NameDisplayable= Salmon class
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= Salmon
UnitTypeCommonality= 6
IDFlotillaLinkTransferTo= NULL
[Flotilla 1.UserPlayerUnitType 6]
ID= F1Sargo
NameDisplayable= Sargo class
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= Sargo
UnitTypeCommonality= 11
IDFlotillaLinkTransferTo= NULL
[Flotilla 1.UserPlayerUnitType 7]
ID= F1Gar
NameDisplayable= Gar class
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= Gar
UnitTypeCommonality= 4 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL ; when the flotilla is disbanded, the subs of this type are transferred to this one
[Flotilla 1.UserPlayerUnitType 8]
ID= F1Gato
NameDisplayable= Gato class
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= Gato
UnitTypeCommonality= 10 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL ; when the flotilla is disbanded, the subs of this type are transferred to this one
[Flotilla 1.UserPlayerUnitType 9]
ID= F1Balao
NameDisplayable= Balao class
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= Balao
UnitTypeCommonality= 15 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL ; when the flotilla is disbanded, the subs of this type are transferred to this one
// END QUOTE

In second place you edit the CareerStart.upc in the same directory to read:


//Quote

[CareerStart 1]
ID= Beginning
NameDisplayable= 1941
StartTimeInterval=1941-12-08, 1942-02-01
BackgroundPic= 1941.tga ; picture that is displayed on the background when this option is selected
CareerStartBriefingText= The war has just started, and we're being beaten.
RenownOptions= 1000, 2000, 5000 ;(<-------- you can cheat here to and change the initial renown offer to whatever values you want to buy anything you want :p , you can start with options like 10000, 20000, 50000, just replace the numbers)
[CareerStart 1.Flotilla 1]
ID= C1Flotilla1
NameDisplayable= Pearl Harbor
IDLinkFlotilla= PearlHarborCommand ; link to ID in Flotilla upc file
IDLinkUserPlayerUnits= F1Sboat, 6, F1Sboat2, 11, F1Porpoise, 4, F1Tambor, 5, F1Salmon, 6, F1Sargo, 11, F1Gar, 4, F1Gato, 10, F1Balao, 15 ; enumeration of ID(s) that point to submarine upc file
FlotillaBriefingText=
FlotillaCommonality= 1

// END QUOTE

In thir place you have to edit all the files in the \Data\UPDData\UPCUnitsData and replace all the lines with the IntervalOptionCurrent and IntervalOptions1, as an example in the ammunition.upc file the lines with:

AmmunitionIntervalOptionCurrent= NULL, NULL, 0
AmmunitionIntervalOptions1= 1943-07-12, 1944-01-15, 500

replace with:

AmmunitionIntervalOptionCurrent= NULL, NULL, 0
AmmunitionIntervalOptions1= NULL, NULL, 500 ;(<----if you don't like the price change 500 to whatever value, including 0 :p , probably if you try a negative number the upgrade shop will give you money for that :rotfl: )

delete and comment lines like:

;AmmunitionIntervalOptions2= 1944-01-16, 1944-08-31, 200
;AmmunitionIntervalOptions3= 1944-09-01, 1950-05-31, 0


Doing that you can try any of the existent subs since the beggining and equipped with any available option.

BUT this will ony happens when you start a new game, it would not work on saved games.

Its cheating I know, but you can have some funn.
jmaisc is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:15 PM.


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