View Single Post
Old 09-11-19, 09:05 PM   #2
KaleunMarco
Silent Hunter
 
KaleunMarco's Avatar
 
Join Date: Sep 2007
Location: Chicago area, which is more dangerous than Omaha Beach.
Posts: 3,916
Downloads: 436
Uploads: 27


Default

Quote:
Originally Posted by skirich View Post
I think I have found a solution to my issues with crew and compartments. But to fuly understand what I am doing I need to understand the relationships between compartments and their associated sections.


Is there a guide that describes some of this stuff? I hate changing things and then going into the game to test for each and every change. Especially since I dont know whats going where.
i've never seen a guide or mapping of the UPC or CFG file format. there are some mods that explain in detail what they changed and from that you can work out the context of the file format...especially the CFG file. keep in mind that speed is in knots, mileage is in nautical miles, and length is in meters. some of the values are vestiges from SH3 and are not necessarily used in SH4.

the ActiveUserPlayerUnit.UPC is actually a construct of several files and code. There is a Boat.UPC, Equipment.UPC, Upgrades.upc, Crewmember.upc, and probably a few more which i cannot remember at this time. at certain times, mostly at career start and then in port between missions, SH4 makes changes to your equipment or equipment availability and/or crew availability. sometimes, it effs up, like when it gives you a new weapon and eliminates the crew. you cannot prevent that stuff from happening but you can react to it and change it now that you know how.

there is a lot that goes into building a sub.upc file and probably no one knows everything. we refer to that unknown stuff as "the fog". 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