Log in

View Full Version : [REL] FTT Career game fixes - standalone version


Ducimus
05-01-07, 01:11 PM
The flotilla fixes from my FTT mod as a single file.


Readme:


//format wordwrap


Campaign career game fixes version 1.1
by ducimus

The following applies to all boats except the S class

- fixes forced retirement by removal of boat exit date in flotillas.
(Note, this only addresses retirement due to your boat type being retired.)

- Fixes repeating patrol error bug by scripting out 20+ assigments at 2 month intervals for the entire length of the war rather then 6 to 8 assignments randomly chosen by the game.


- workaround for pearl harbor flotilla in relation to the IDL bug. By starting outside harbor, your boat is now placed 240 KM West of the IDL, thereby avoiding the bug until you decided to return to port.



NOTE:
Their are different reasons why you might be retired in the course of a career game. This mod only address retirement due to your boat type being retired. It does NOT address other retirement causes.

http://www.ducimus.net/sh4/release/REL_FTT_career_campaign_Fix.zip

There ya go, quick n dirty by demand :D

Galanti
05-01-07, 01:13 PM
uh, what happens if you started the career with an S-Boat?

CaptainCox
05-01-07, 01:19 PM
fixes forced retirement by removal of boat exit date in flotillas.

Thast brilliant man! thanks!

Bane
05-01-07, 04:26 PM
Awesome! I've been given the same patrol three times in a row (my first three, good first impression :roll: ) and it was getting old. Thanks for this!

Ducimus
05-01-07, 04:29 PM
uh, what happens if you started the career with an S-Boat?

No change i guess. I'll go back and fix the S boats later i suppose. Not hard, you can do it yourself if you wanted, just change the exit date to NULL and your fine.

Galanti
05-01-07, 05:48 PM
No problem, I've done that. I thought maybe the fix didn't work for careers started with S-boats.

Ducimus
05-01-07, 06:32 PM
It's posible the fix is not retroactive to existing careers. It depends on if the game keeps stored an exit date for subs in the save game files or if it reads the exit date "on the fly" from the flotilla file. Ive been so swamped, i havent had time to examine the saved game files to see.

Galanti
05-01-07, 07:13 PM
Interesting, I set it to NULL for the S-class yesterday, played and saved. I just looked in my My Documents/SH4 folder and there is a UserPlayerContext folder, containg all sorts of UPC files. They were date stamped yesterday, at the the time of my last save. Inside the flotilla one was this entry:

[Flotilla 2.UserPlayerUnitType 1]
ID=F2Sboat
NameDisplayable=S-18 class
AvailabilityInterval=1900-01-01, 1999-12-31
IDLinkUserPlayerUnitType=S18
UnitTypeCommonality=6.000000
IDFlotillaLinkTransferTo=BrisbaneCommand

So NULL appears to set the date to the end of this century. Long enough for my purposes, I suppose.

So I guess we're okay with saved games, the engine will read in all the UPC files in the main game folder and write them to the My Docs save folders.

leovampire
05-01-07, 07:18 PM
Nothing like stand alone stuff to make the game better for people! Again apreciate what you Moders do big time!


Dave

Ducimus
05-01-07, 07:27 PM
Thanks for checking Galanti. :up:

I'll have an updated version of this file up in a couple days or so. Some fine tuning ive been wanting to do. Its next on my list.

ATR-42
05-01-07, 08:22 PM
Great job on the mod...
id like to fix my S-classes as well, i'll do it manually but before i dig in can you guys give me some guidance as to exactly which files i'll need to set the NULL value to in order to fix the S-Class subs?

Thanks guys,
Kevin

ATR-42
05-02-07, 08:15 AM
is fixing the S series boat retirement bug as simple as changing THIS line in the UPCData\UPCCampaignData\Flotillas.upc File?


[Flotilla 2.UserPlayerUnitType 1]
ID= F2Sboat
NameDisplayable= S-18 class
AvailabilityInterval= NULL, 1942-04-15 TO----> NULL, NULL
IDLinkUserPlayerUnitType= S18
UnitTypeCommonality= 6
IDFlotillaLinkTransferTo= BrisbaneCommand

Is that the correct line fix? is this the correct file to be working on?
my gut tells me that was too easy, an there are more files to check or line items to change....

Ducimus
05-02-07, 09:11 AM
Yup, thats it.

I tested it by setting arbitrary dates and forcing an early retirement, and then setting that to null, retesting it, and no forced retirement occured.

charlesmester
05-02-07, 10:21 AM
Which file do you down load this to?

Regards

Chuck

CaptainHaplo
05-02-07, 09:12 PM
You did it again mate - Great Job! :up:
Good Hunting
Captain Haplo

Deep6
05-02-07, 10:44 PM
This is an immediate mod to add. Someone said they thought the exit dates on your original assigned boat might be the trigger, I was going to chang all of mine out to 1946 but did not have time to look into it.

:()1:

leovampire
05-04-07, 12:46 AM
Got the boot! I was in a New Class Balao with the newer style tower but after my 11th patrol only the 2nd one for this sub I was told the sub was being retired and so was I for less than satisfactory performance which I don't understand because I was running 55% realizm and compleated everything they ever wanted on all patrols and then some plus had over 1 million tons of shipping sunk and this was my 4th boat issued to me. Started in the Asiatic fleet and never requested a transfer away from Pearl once they gave me the Drum they sent me to Brisbain when I was finaly given the Balao then sent to Fremantle and then the boot!

Dave

Ducimus
05-04-07, 12:59 AM
Did you start in an S boat?

leovampire
05-04-07, 02:47 PM
It was a Sargo class boat

Ducimus
05-04-07, 03:38 PM
What exactly did it say?

It occured to me the other day there might be more then one reason to get forcibly retired. The only one i addressed goes along the lines of the navy decided to "retire your boat and you along with it".

Other forced retirement issues (sink a friendly, poor performance, whatever) are out of my scope.

leovampire
05-04-07, 05:57 PM
We have decieded to retire your boat from service but due to your less than exemplery performance you will also be retired from service.

Now I had done a total of 11 patrols and in those 11 patrols finished over 70 sub missions from new ones given after compleating what they first wanted as well as ones told to me after informing sub command of task forces and convoys. And I was averaging over 100,000 tons of shipping in each Patrol when I returned to base and recieved 6 Medal of Honors due to the Real Medal mod I had installed and many others.

I started with the Sargo/USS Sea Dragon, went to a Gato/USS Drumm, then got the Balao/USS Balao. I Started in the Asiatic fleet and was booted in June of 1943 after being back in Freemantle. Was transfered to Pearl for the Drumm and was still at Pearl for the Newer Tower style Balao and they transfered me to Brisbane from there. After being out for 3 months on patrol and compleated everything they wanted and out of torpedo's they said return to Freemantle Base when I did my sub and I got booted. Was promoted to Captain in short order as well because of all the sub missions and tonage I sunk.

So who the hell knows what the game wants to go from there!

Dave

Ducimus
05-04-07, 06:10 PM
Ok, thats a much deeper issue, one that im not sure can be resolved by modding or not.

Thank you for pointing this out to me though, as it points out that i need to update my documention on exactly what type of retirement this mod fixes, and what it doesnt.

At any rate ill have an updated file posted late tonight or tommrrow.

leovampire
05-04-07, 06:19 PM
:up: Just wanted to give you as much info as you needed and see what happens maybe it is something that can be told to the Dev teams if it will help them out more understanding it.

Dave

Argus00
05-14-07, 06:37 AM
mothballed - non S-class start

Began career in Pearl, with Tambor (F1Tambor). Accepted command of new sub USS Drum (F1Gato, looked in save files), remained in Pearl. Yesterday (game date = February 19, 1943) I was offered a new command again - this time, the USS Balao (F3Balao - I'm less than notable in performance, yet I get to skip the F2 boats and am offered the F3...). Along with the new command, I was transfered to Brisbane as starting base for my new patrol, but when I returned to Brisbane I couldn't end my patrol. Checked the save files and sure enoiugh, the end port was listed as Fremantle. So I refuel and get to Fremantle, only to be mothballed!

In the Careertrack.upc file, the reason for port/fleet change (Brisbane to Femantle) is listed as "FlotillaDisbanded", not sub type/class retired.

I'll try to edit the sub exit date as suggested here, see if this fixes me too.

Ducimus
05-14-07, 11:11 AM
I forgot all about this mod, and went back and uploaded a new version, that was included in FTT 2.5. (same D/L on first page.

Primary changes are
S-Class exit dates removed.

Boats stationed in Brisbane, will be transfered to Fremantle when that flotiall disbands, rather then be retired.


NOTE:
Their are different reasons why you might be retired in the course of a career game. This only address retirement due to your boat type being retired . It does NOT address other retiement causes.

MaxT.dk
05-14-07, 11:14 AM
I forgot all about this mod, and went back and uploaded a new version, that was included in FTT 2.5. (same D/L on first page.

Primary changes are
S-Class exit dates removed.

Boats stationed in Brisbane, will be transfered to Fremantle when that flotiall disbands, rather then be retired.

Great! Thanks man :) Waited for this new release since yesterday (when you've said to me in another thread that there will be a new version out)

Thanks again!

leovampire
05-14-07, 02:13 PM
Or should you start your career in Pearl and just forget about the Asiatic fleet until the DEV's fix it?

Dave

MaxT.dk
05-14-07, 05:01 PM
So... I've been out on the mission... Those f*ckers never msged about the base change, but after searching the forums, I found out, that I had to dock at the other side of the Australia...

Fine... some more time spent to get there... I dock, I get some medals, I get mothballed! WTF!

I get back to the forums, I get this MOD in the hope it'll help me, I load it, I go back to SH4 and load the latest save (still in the mission and not docked), I dock, I get some medals, I get mothballed... #"%¤"&%#!!!!!!

I guess I'll have to reload the last save from where I was docked, then it'll work, right?

Please don't say I have to start the whole career from the beginning... :dead:

Ducimus
05-14-07, 05:27 PM
Try going back to where you were in port previous to your last patrol. Failing that, start looking in your saved game file for a sub exit date. While ive had someone tell me the game doesnt store the exit date there, (once the career is started), ive never realy dug in there to confirm that. So there is a chance that getting rid of sub exit dates via the flotilla.cfg wont effect a game already in progress if its storing that information locally in your mydocuments/sh4 directory.

MaxT.dk
05-15-07, 06:26 AM
Is there any possibility for me to send you my last save games, Ducimus? I'm not that fond with editing it and to be frank, I'm not sure what to look for...

I will send you any files you will require. Pretty please? :)

Argus00
05-15-07, 08:43 AM
It seems that my problem has to do with being offered and accepting a new command (Balao) before it's actually available.

Anyway, loaded a save just before docking, refused the new command, went on two more patrols and then in late April I was again offered a new command - Balao, and this time I wasn't transfered, I remained in Pearl. Went on patrol with my new sub, ended, medals, party, no retirement!

Problem fixed in my case.

PS - I can't WAIT to start a new career in the Asian theater and experience all the exciting bugs all you guys are experiencing :rock:

MaxT.dk
05-15-07, 12:38 PM
PS - I can't WAIT to start a new career in the Asian theater and experience all the exciting bugs all you guys are experiencing :rock:
LOL :D Yeah... This game is full of surprises :dead:

MaxT.dk
05-15-07, 01:55 PM
Ok, I found the way to fix the mothballing process!
I was in the sea and NOT docked and it still worked.


THIS PROCESS IS MANUAL!
MAKE SURE TO HAVE A BACKUP OF THE FILES YOU MODIFY!
Find your last savegame (located @ X:\My Documents\SH4\data\cfg\SaveGames\0000XXXX). Sort by date and the one at the top is the latest one.
Open the file CareerTrack.upc under UPCInitial folder.
Find the line starting with PlayerCurrentRating
Change it to the following: PlayerCurrentRating=1.000000
Find the line starting with PlayerHighestRating
Change it to the following: PlayerHighestRating=1.000000
Find the line starting with PlayerPatrolsCompleted
Change it to the following: PlayerPatrolsCompleted=10.000000 (10 worked for me)
Find the line starting with PlayerShipsSunk
Change it to the following: PlayerShipsSunk=1000.000000 (1000 worked for me)
Save file
Load your last savegame and have fun!The result:
Instead of seeing this message:
http://img73.imageshack.us/img73/8348/sh4img1352007183535640wt9.gif

You will see the following two:
http://img402.imageshack.us/img402/9190/01ng3.gif
Of course you'll choose No

And then the downside of this mod:
http://img70.imageshack.us/img70/9007/02pg0.gif


On the other side, you have to possibility to continue your career! :arrgh!:

NB! You will have to make sure that these 4 lines look like that EACH time before you have to dock at the port (because game change 1 of these lines and therefor you'll be mothballed!)


I hope someone will find this usefull :)



-------------

Edited @ 17.05.2007 to make sure that this "mod" works all the time, and not only 1st time

Argus00
05-16-07, 03:34 AM
@ MaxT.dk - Have already moved on and been offered a new command a couple of patrols later, no retirement. I still have my save files backed up though, so I'll test your fix later today after work.

Nice find!

EDIT: yup, works just fine. Nice job.

CaptainCox
05-16-07, 03:38 AM
Ok, I found the way to fix the mothballing process!
I was in the sea and NOT docked and it still worked.
I hope someone will find this usefull :)
Great find man! :up:

MaxT.dk
05-17-07, 03:06 PM
Thanks guys :)

I've also updated my previous post because the described method worked only if you get mothballed for the 1st time. Next time the same process wouldn't work. But I now edited the post with the relevant updated information and it works all the time (I've been mothballed already 4 times)

:arrgh!:

leovampire
05-18-07, 10:19 PM
Have you thought of doing this in all of the Flotill's instead?

This is how you have it now:

[Flotilla 1.UserPlayerUnitType 1]
ID= F1Porpoise
NameDisplayable= Porpoise class
AvailabilityInterval= NULL, NULL

But What about this?

[Flotilla 1.UserPlayerUnitType 1]
ID= F1Porpoise
NameDisplayable= Porpoise class
AvailabilityInterval= 1941-12-1, 1945-01-30

Set every sub up so you can keep them till the end of the war in every Flotilla and there are [3] main Flotillas by the way there is a forth but it is not compleated and that is for the Alutions.

But also set it up so the Gato and Balao in each Flotilla becomes available at a lator date so you can get the offer of a new sub like this for example:

[Flotilla 1.UserPlayerUnitType 4]
ID= F1Gato
NameDisplayable= Gato class
AvailabilityInterval= 1942-06-01, 1945-01-30

[Flotilla 1.UserPlayerUnitType 5]
ID= F1Balao
NameDisplayable= Balao class
AvailabilityInterval= 1943-06-01, 1945-01-30

So that on June 1st of 1942 you can get the Gato and on June 1st of 1943 you can get the Balao if you want them and all subs will be playable until the end of the war.

All Flotilla's have a start and end date just like the subs there is:

[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

[Flotilla 2]
ID= FremantleCommand
;NameDisplayable= Asiatic Fleet Submarine Force
NameDisplayable= Asiatic Fleet
AvailabilityInterval=NULL, NULL
[Flotilla 2.Base 1]
ID= Manila
NameDisplayable= Cavite Naval Base, Manila, Philippines
ExternalBaseName=Manila
AvailabilityInterval= NULL, 1941-12-23

[Flotilla 3]
ID= BrisbaneCommand
NameDisplayable= Brisbane
AvailabilityInterval=1942-04-15, 1945-01-30
[Flotilla 3.Base 1]
ID= Brisbane
NameDisplayable= Brisbane, Australia
ExternalBaseName= Brisbane
AvailabilityInterval= NULL, NULL

[Flotilla 4]
;ID= AlaskaCommand
;NameDisplayable= Aleutians
;AvailabilityInterval=1942-02-15, 1943-11-31
;[Flotilla 4.Base 1]
;ID= DutchHarbor
;NameDisplayable= Dutch Harbor, Aleutian Islands
;ExternalBaseName= Dutch Harbor
;AvailabilityInterval= NULL, NULL

You need to set up each of the subs available with a start and end date you desire and this way you can keep them and you from being MOTHBALLED!

This is in Data/UPCData/UPCCampaignData [Flotillas UPC]

I hope this helps everyone out!?

Dave

MaxT.dk
05-19-07, 03:54 AM
I don't think this will help, leovampire, as 99% of the users looking for this solution just experienced this problem and they want to fix it here and now (and most likely they aren't docked).

Now, I'm not entirely sure, but your solution... Wouldn't it require to restart the career? Again, I'm not sure about this, but I've heard that any changes to that file after you've started the career wouldn't take any effect on your current career (which isn't that useful, is it?).

Redwine
05-19-07, 08:24 AM
NOTE:
Their are different reasons why you might be retired in the course of a career game. This mod only address retirement due to your boat type being retired. It does NOT address other retirement causes.
Sadly yes... i was enforced to retired after my first patrol :dead:.

I will never understand why to fix a non broken thing....

SH III was fine on this... why to add this anoying feature into SH IV !!! :damn: to fix a non broken thing...

leovampire
05-19-07, 03:10 PM
If the game takes it's info from this file and that end date hasn't happend yet then it should work. I mean originaly it was set for NULL after the Mod. The only other thing I could see in the player career track was about renown and prestiage but there are ranks leading all the way up to rear Admiral set up for the Player so you should be able to continue after this change.

Dave

CaptainCox
05-19-07, 03:35 PM
@leovampire, are you planning to upload this as an addition to Ducimus mod?

leovampire
05-19-07, 11:29 PM
Don't want to step on any toes just giving people an idea to solve the problem and let Ducimus set up his Mod this way if he choses to.

I would only do that if asked and all concerned approved.

I already have been asking for permission personaly to adjust mods I needed to change to make the Merchant ships, Carriers, Airports & Airplanes work right for people.

You see I keep finding and running into all this stuff as I am looking for what I need to adjust and make the Merchant ships have cargo and carry cargo as well have engine rooms and fuel bunkers for them.

Dave