View Single Post
Old 08-07-20, 03:21 PM   #6
KaleunMarco
Silent Hunter
 
KaleunMarco's Avatar
 
Join Date: Sep 2007
Location: Gone to Texas. No More Kleptocratic Government for me!
Posts: 4,260
Downloads: 462
Uploads: 29


Default

Quote:
Originally Posted by StealthRabbit View Post
I do have a bit of experience editing with note pad.
I would be very thankful if you have any tips or insight on why that is and how to edit them correctly.

I wouldn't call myself a Moder. I'm more like and adjuster, or tweaker, or when I adjust something that causes CTD I'm a ruiner.

I would greatly appreciate any knowledge you could share and the time it would take to do so.
-StealthRabbit
ok, let's re-state the objective, go through some background, and then resolve the problem.

1. you are not happy with the boat you receive as an upgrade from SH4 for doing well.

2. boats are categorized by "class" in SH4. depending on the modset, there can be 4 to 10 classes. the lowest is the S-boat as class zero(0) and the highest is the Tench in FOTRSU as a ten(10). when you are eligible for an upgrade, SH4 looks for an available boat with a higher class than one you are driving and assigns that to you. "available" means available as of the date of the upgrade. for example, if you are being upgraded in 1942, a Balao is NOT available, therefore your upgrade will be some other boat class. the key to the solution (#3 below) will be to manipulate the available classes of boats such that you get the one you want.

3. the solution to your issue is to make sure that the only boat available for your upgrade is the boat you want to drive. this will take some planning on your part as you must set this up BEFORE you go on patrol after which you expect to be upgraded. remember: no changes to files while you are on patrol...this can only lead you to the Sea of CTD, from which there is no return. so, the solution is to know what the respective boat classes are and when they are available. i think you said you were playing TMO-RSRD. Class Zero contains S-Boat, Porpoise, and Narwhal. Class One contains Salmon and Sargo. Class Two contains Tambor, Gar, Gato. and Class Three contains Balao and Tench. Interval is controlled by Flotillas.UPC and other places. I recommend reading those values but not changing them. UpgradeClass is stored in the \data\Submarine\Boatname\Boatname.UPC file. it is one of the first eight or ten lines. if you are driving a class zero boat and want to be upgraded to a certain class one boat, then make the other class one boats equal class zero in their respective folders. in this way, the only eligible boat will be the one you want. DO NOT FORGET the date availability factor.

one other important point: i strongly suggest that you implement this solution by creating a mod-folder-structure within the JGSME framework and then apply the change as a mod rather than editing the "live" \Data\Submarine files.

good luck!
__________________
there are only two things in the world: submarines and targets.
Fortis et stabilis et fidelis, semper


------------------------------------------------------------
Silent Hunter 4 1.5 Gold Edition on CDROM
LAA enabled
Dell XPS with 32 GB Ram running Win10
KaleunMarco is offline   Reply With Quote