![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
09-30-18, 03:26 PM
|
#1 |
|
CTD - it's not just a job
|
There-in lies the rub... The "Game \ Sea \ NShipName \ NShipName.cfg" file has a line in it "UnitType=101" or whatever the number. The "Game \ Roster \ Country \ Sea \ ShipName.cfg" file has a corresponding "UnitType=0" line. Those have to match (these do not here in my quick example) exactly. You might consult the Names.cfg file in the Roster folder for these kind of lines:
;WarshipsThere's Warships, Merchants,, Subs, Airplanes, Land, etc... Those particular "UnitType=" lines also have to match each and every "call" for them in the Campaign files. However, in something like OM, don't forget that you're more concerned with "Game \ Data \ Campaigns \ CampaignGE \" and all other MIS files on the German side. ~ALL~ the MIS files... As an example, here's a few lines from the 44a_US_Merchants.mis file: [RndGroup 1]That's a portion of the RGG "definition". Then the "Ships" it uses would be like: [RndGroup 1.RndUnit 1]Which is a "Generic" call for an American Tanker. Note that there is not a "Class=xxx" line there? Those complicate things a bit further, such as: [RndGroup 21.RndUnit 59]Which is a ship call in the Lant_Convoys_44.mis file. That Class= has to match the CFG files' "ClassName=xx" line... "xx" being the specific type of ship... We have the good fortune of working with a spreadsheet wiz with s7rikeback on the FotRSU team, and he has a spreadsheet in the Support folder that makes life oh-so much easier for editing the Campaign and other MIS files. He has the Folder, ShipName, Call Name (might be different because of the use of "N" for a lot of Sea folders), Type= line, Countries used, etc., and all I have to do is click a button to sort them how I need them, and then "Search" through the files with Notepad++ or some other "Search" agent, and find the Calls that I need...
__________________
"...and bollocks to the naysayers" - Jimbuna |
|
|
09-30-18, 05:21 PM
|
#2 | |
|
Silent Hunter
![]() |
Quote:
[RndGroup 51.RndUnit 61] Class=DDTown Type=4 Origin=British Side=0 there is no entry for DDTown in C:\Ubisoft\SilentHunter4\Data\Roster\British\Sea. so....is it easier to change this one entry to an escort that is being used or should i just delete the lines for this entry? or do i create a new file DDTown.cfg and copy lines from a similar ship? (this would seem to be the most risky)
__________________
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 |
|
|
|
09-30-18, 05:30 PM
|
#3 | |
|
Silent Hunter
![]() |
Quote:
after further review... there are entries for a British DDTown in the dotMIS file of the two convoys that are passing Portugal.
__________________
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 |
|
|
|
09-30-18, 06:01 PM
|
#4 |
|
CTD - it's not just a job
|
You are getting the hang of this rather quickly! Excellent find. Now, take the Data / Roster / British / Sea / DDClemson.cfg and rename it DDTown.cfg - looks to be the simplest "fix" for it... If you open the Clemson file in the British folder, you'll see that it's referring to "ClassName=DDTown"
![]() Edit: Another thing you can do to "test" a game is to run the Museum. Make sure you have LAA enabled on the SH4.exe file first though... If it crashes, that usually means there are issues with the ship just after the crash. Some mods just will not run the Museum, but it's not always the ship definitions. I'm trying OpMonsun's now... Edit2: 1st run crash after B17G in the US planes (... Ships "fly" across the screen too... ... well, the "US LB HeavyBomber" and the "AM B24 Level Bomber" both crash it... This might take a while... lol Edit3: OK, there are file name mis-matches, as well as ClassName mis-matches, so while I wait on other happenings, I'll noodle in OM for a bit, and go through things and try to match them up, and get back with you...
__________________
"...and bollocks to the naysayers" - Jimbuna Last edited by propbeanie; 09-30-18 at 06:38 PM. Reason: Museum |
|
|
09-30-18, 06:12 PM
|
#5 | |
|
Silent Hunter
![]() |
Quote:
cool. i like the easy fix. going to try it right now.
__________________
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 |
|
|
|
09-30-18, 06:37 PM
|
#6 |
|
Silent Hunter
![]() |
no joy.
![]() ![]() ![]() ![]() ctd i am going to go back and review the merchies in the dotMIS file and see if there are any anomalies.
__________________
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 |
|
|
09-30-18, 06:39 PM
|
#7 |
|
CTD - it's not just a job
|
There are. See my edit3 above. Several of the planes I've looked at don't have "matches" either...
Edit: as consolation, here's our first "target" in the Museum:
__________________
"...and bollocks to the naysayers" - Jimbuna Last edited by propbeanie; 09-30-18 at 06:48 PM. Reason: Pic |
|
|
09-30-18, 06:47 PM
|
#8 | |
|
Silent Hunter
![]() |
Quote:
suggestions, thoughts, wild fantasies?
__________________
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 |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
