![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
09-30-18, 03:26 PM
|
#21 |
|
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 |
|
|
|
|
