SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 02-12-11, 04:26 AM   #1
Damo
Captain
 
Join Date: May 2009
Location: Forever stuck in Data folder...
Posts: 482
Downloads: 259
Uploads: 0
Default

If you wanted the Neutrals to display a name, cargo types and crew as well as having the game interface display them correctly, i.e. Medium Merchant ##, then yes you are right. However, one thing that Steve has said regarding names is that there's no point in him adding names to neutrals as you shouldn't be sinking them. This is also hit on by him, Frau Kaleun and myself in his February Ship names thread as Frau and myself are looking to get some kind of entry added to acknowledge these ships.

As it stands, the MFM adds X type ships to the Allies roster folders, therefore making Neutral ships enemy vessels. The problem arises when SH3Commander wants to add the name, cargo and crew info in the log, in that it can't, because there are no references to X ships in Steve's lists. You can't alias the B or A type names to the X's either because then the neutral nations will be assigned British or US shipnames which kind of negates the point of Steve's sterling work.

I was hoping to add a generic class to the shipnames.cfg so a ship sunk entry may look something like this:

Ship Sunk!! Medium Merchant 13 ####tons Unidentified. Cargo: Unknown Crew: Unknown Crew Lost: Unknown.

My reasoning is that if the allies were disguising ships with neutral vessels' hull flags or just sailing them with no markings, it'd be against the war regulations and as such, the existence of that particular ship would be denied, although it would still be entered in a patrol log as that's the record of ships sunk by the sub captain, and BdU are more likely to believe his version of events.

But this is all stuff I've already gone through in Steve's thread and as yet I've not looked into how to achieve it or whether it's possible. Jaesen is the best person to ask as to how flexible the coding is in regards to creating a generic entry as above specifically for those neutrals. Or, you could just leave them as is, with my updated englishnames.cfg and you'd just get the type of ship sunk with no other info, guess it depends on how meticulous you are for detail.
__________________

The owl and the pussycat went to sea in a beautiful pea-green boat.
It only took one T1 eel to convince that boat not to float.
Damo is offline   Reply With Quote
Old 02-12-11, 05:18 AM   #2
Robin40
Chief
 
Join Date: Aug 2010
Location: Rivoli (Italy)
Posts: 310
Downloads: 162
Uploads: 0
Default

Quote:
Originally Posted by Damo View Post


Or, you could just leave them as is, with my updated englishnames.cfg and you'd just get the type of ship sunk with no other info, guess it depends on how meticulous you are for detail.
Yep...but after modding SH3 with full MFM....

...in the Roster neutral nations don't have any X ships, so you will never meet an X neutral ship
Robin40 is offline   Reply With Quote
Old 02-12-11, 05:37 AM   #3
Damo
Captain
 
Join Date: May 2009
Location: Forever stuck in Data folder...
Posts: 482
Downloads: 259
Uploads: 0
Default

Quote:
Originally Posted by Robin40 View Post
Yep...but after modding SH3 with full MFM....

...in the Roster neutral nations don't have any X ships, so you will never meet an X neutral ship
Yes they do, it's only the Interim version where there are no X neutrals. Open the full mod's data/roster folder and you'll see the roster folders for the nations that have X ships.
__________________

The owl and the pussycat went to sea in a beautiful pea-green boat.
It only took one T1 eel to convince that boat not to float.
Damo is offline   Reply With Quote
Old 02-12-11, 06:33 AM   #4
Robin40
Chief
 
Join Date: Aug 2010
Location: Rivoli (Italy)
Posts: 310
Downloads: 162
Uploads: 0
Default

Quote:
Originally Posted by Damo View Post
Yes they do, it's only the Interim version where there are no X neutrals. Open the full mod's data/roster folder and you'll see the roster folders for the nations that have X ships.
If I open the MFM (full) Roster I see no ships, say for Ireland

I see

American
Brasil
British
Canadian
Greece
Norway
Russia
Sweden

All Allied ones but Sweden
Robin40 is offline   Reply With Quote
Old 02-12-11, 11:40 AM   #5
frau kaleun
Rear Admiral
 
Join Date: Nov 2009
Location: Skyri--oh who are we kidding, I'm probably at Lowe's. Again.
Posts: 11,274
Downloads: 168
Uploads: 0


Default

Quote:
Originally Posted by Robin40 View Post
If I open the MFM (full) Roster I see no ships, say for Ireland

I see

American
Brasil
British
Canadian
Greece
Norway
Russia
Sweden

All Allied ones but Sweden
The MFM doesn't add its ships to all the rosters in the game - just the ones listed in the mod itself. No one is claiming otherwise.

But not all of the nations listed above are enemy nations for the duration of the war. Norway remains neutral for seven months, Greece for over a year, and Russia for almost two years; the US is neutral until Dec 1941 and Brazil until Aug 1942. Sweden is neutral throughout the entire conflict. So yes, putting X class ships in those nations' rosters does give you legitimately neutral ships depending on the in-game date. A ship in the American roster is not going to act like an enemy ship prior to Dec 11, 1941, and a ship in Sweden's roster never will. However a ship disguised as Swedish but spawned from the British roster will act like an enemy ship at any time after Britain declares war on Germany.

And AFAIK it may be possible for the individual player to add some of those ships to the rosters of other nations, although I could be wrong about that. And how that would play out in terms of historical accuracy and appearance (many of IABL's skins are nation-specific), I don't know.
frau kaleun is offline   Reply With Quote
Old 02-12-11, 12:32 PM   #6
Robin40
Chief
 
Join Date: Aug 2010
Location: Rivoli (Italy)
Posts: 310
Downloads: 162
Uploads: 0
Default

Quote:
Originally Posted by frau kaleun View Post
The MFM doesn't add its ships to all the rosters in the game - just the ones listed in the mod itself. No one is claiming otherwise.

But not all of the nations listed above are enemy nations for the duration of the war. Norway remains neutral for seven months, Greece for over a year, and Russia for almost two years; the US is neutral until Dec 1941 and Brazil until Aug 1942. Sweden is neutral throughout the entire conflict. So yes, putting X class ships in those nations' rosters does give you legitimately neutral ships depending on the in-game date. A ship in the American roster is not going to act like an enemy ship prior to Dec 11, 1941, and a ship in Sweden's roster never will. However a ship disguised as Swedish but spawned from the British roster will act like an enemy ship at any time after Britain declares war on Germany.

And AFAIK it may be possible for the individual player to add some of those ships to the rosters of other nations, although I could be wrong about that. And how that would play out in terms of historical accuracy and appearance (many of IABL's skins are nation-specific), I don't know.
Yes....but why are there X ships in the British Roster?
Robin40 is offline   Reply With Quote
Old 02-12-11, 12:45 PM   #7
frau kaleun
Rear Admiral
 
Join Date: Nov 2009
Location: Skyri--oh who are we kidding, I'm probably at Lowe's. Again.
Posts: 11,274
Downloads: 168
Uploads: 0


Default

Quote:
Originally Posted by Robin40 View Post
Yes....but why are there X ships in the British Roster?
The reason to have X ships in the British (or any other "enemy") roster is that they will spawn from that enemy roster and therefore be enemy ships (according to the way the game reckons it) and behave as enemy ships when approached or attacked by your u-boat - but they may not look like enemy ships. They may not be flying an enemy flag, may not be flying any flag at all, may have no external markings to identify their nationality, or may even be "disguised" as ships from a different nation.

The point is, it won't be as obvious at first glance whether or not such a ship is legitimate target; sometimes a decision has to be made about that based on the ship's behavior, location and apparent destination, visible cargo, etc. So it becomes more complicated than just spotting a ship and IDing it as "enemy" or "neutral" based solely on its flag or markings. There may not be any flag or markings, or that ship that looks Swedish may be sailing into an English port with war materials strapped to its deck. The decision whether or not to attack is not always so simple any more.

Edit: it might be easier if we thought and spoke of the 'X' ships not as neutral ships, but as mystery ships where X = unknown. Because when they appear in the game they might be neutral or they might not be. There's no way to know because when one appears in the game you can't always tell which roster it spawned from based only on the usual criteria (flags and markings).
frau kaleun is offline   Reply With Quote
Old 02-12-11, 06:33 PM   #8
frau kaleun
Rear Admiral
 
Join Date: Nov 2009
Location: Skyri--oh who are we kidding, I'm probably at Lowe's. Again.
Posts: 11,274
Downloads: 168
Uploads: 0


Default

Quote:
Originally Posted by Damo
I was hoping to add a generic class to the shipnames.cfg so a ship sunk entry may look something like this:

Ship Sunk!! Medium Merchant 13 ####tons Unidentified. Cargo: Unknown Crew: Unknown Crew Lost: Unknown.

My reasoning is that if the allies were disguising ships with neutral vessels' hull flags or just sailing them with no markings, it'd be against the war regulations and as such, the existence of that particular ship would be denied, although it would still be entered in a patrol log as that's the record of ships sunk by the sub captain, and BdU are more likely to believe his version of events.

But this is all stuff I've already gone through in Steve's thread and as yet I've not looked into how to achieve it or whether it's possible. Jaesen is the best person to ask as to how flexible the coding is in regards to creating a generic entry as above specifically for those neutrals.
Based on the explanatory info at the top of the Ship Names config file, I'm thinking you could do this pretty easily.

Just create a list for your generic class, such as [MFMX].

Use the CLASSMAP to map each individual MFM 'X' class to [MFMX].

Add the list of "names" for [MFMX] to the file, as follows:

[MFMX]
0001=Unidentified

Now, if I'm right about how it works, you've got two choices.

1) You can leave it with just that one line, and under [Settings] at the top of the file, change

RepeatWhenAllUsed=0

to

RepeatWhenAllUsed=1

With only one name in the list for [MFMX], and every X class ship mapped to that list, the first time you sink one of those ships Commander will consult the list and name it Unidentified in your log since that's the only entry for the class. But since you've opted to repeat names when a class list is exhausted, every time you sink another one of those X ships it should go back to the list and reuse the same name again. So they would all show up in your logs as Unidentified.

Of course the "repeat when all used" will also apply to all the other classes in the list, but given the sheer number of ship names Steve has already provided, I don't think you're gonna run out of names for most of them.

-OR-

2) You can add additional entries to the list for [MFMX] as follows:

[MFMX]
0001=Unidentified
0002=Unidentified
0003=Unidentified
0004=Unidentified

and so on, up to a maximum of 3000 entries. Then you can leave RepeatWhenAllUsed=0 the way it is if you want, and as long as you don't sink more X ships than you've made entries in that list, Commander should give them all the "name" Unidentified in your logs.
frau kaleun is offline   Reply With Quote
Old 02-12-11, 10:56 PM   #9
Damo
Captain
 
Join Date: May 2009
Location: Forever stuck in Data folder...
Posts: 482
Downloads: 259
Uploads: 0
Default

Yes Frau, I get how to do the names fine, but the real thing I wondered about, and asked originally in Steve's shipnames thread was whether I can add Unknown to the cargolist and whether the crew entry is only read as nemerical or whether I could put unknown / unknown in the crew variable. However, on reflection, it is kind of making a mountain out of a molehill when just having Unidentified with no further info would perfectly suffice.

As far as the names being used more than once for the other classes, you are right, there are so many it's doubtful that it would be an issue. I can't see the same name coming up more than once in a single career so it's fine. Besides, would I see a name on patrol 7 and think 'I know that name, I already sunk that on patrol 3, ship number 4'. No, I'd never even notice.
__________________

The owl and the pussycat went to sea in a beautiful pea-green boat.
It only took one T1 eel to convince that boat not to float.
Damo is offline   Reply With Quote
Old 02-12-11, 12:43 PM   #10
Damo
Captain
 
Join Date: May 2009
Location: Forever stuck in Data folder...
Posts: 482
Downloads: 259
Uploads: 0
Default

Quote:
Originally Posted by Robin40 View Post
If I open the MFM (full) Roster I see no ships, say for Ireland

I see

American
Brasil
British
Canadian
Greece
Norway
Russia
Sweden

All Allied ones but Sweden
The ships come with various different colorschemes and then there's the skinpacks that come separate. Although the Neutrals in the MFM are in a limited number of roster folders, given the randomness of which skin they have, there is no need to have the ships in all countries' rosters. Sweden roster folder for example will have ships that are either painted with an Irish flag by default or it may be given the skin of a neutral country. What this means is, that as the neutral countries are just that, neutral, they can have neutral painted ships from any neutral country in them, it doesn't matter.

What I think you expect is that every country in the game should have it's own neutral ships in their respective roster folder, but to do this the size of the download would increase ten-fold. To get around that, IABL has only added a couple of roster folders but arranged the ships and the skins so that countries that stay neutral for the duration of the war will only wear neutral colors. The countries that are neutral for part of the war before becoming enemy will only use neutral skins, but once they become enemy they then fall into the same category as the British ships, in that they may fly neutral flags or be painted in neutral schemes.

I'm hoping I got that right, that's how I see it anyway. Of course, there's nothing stopping you from adding X neutrals to every countries roster if you wish but expect to play the guessing game as to whether they are enemy or not a lot more. By limiting the roster folders, the 'disguised neutral' phenomenon is kept from getting unrealistically frequent.

Edit: The X ships are in the British roster to create the 'is it a neutral ship' question requiring you to investigate. I thought you got that part?
__________________

The owl and the pussycat went to sea in a beautiful pea-green boat.
It only took one T1 eel to convince that boat not to float.
Damo is offline   Reply With Quote
Old 02-12-11, 03:35 PM   #11
Robin40
Chief
 
Join Date: Aug 2010
Location: Rivoli (Italy)
Posts: 310
Downloads: 162
Uploads: 0
Default

Quote:
Originally Posted by Damo View Post
The ships come with various different colorschemes and then there's the skinpacks that come separate. Although the Neutrals in the MFM are in a limited number of roster folders, given the randomness of which skin they have, there is no need to have the ships in all countries' rosters. Sweden roster folder for example will have ships that are either painted with an Irish flag by default or it may be given the skin of a neutral country. What this means is, that as the neutral countries are just that, neutral, they can have neutral painted ships from any neutral country in them, it doesn't matter.

What I think you expect is that every country in the game should have it's own neutral ships in their respective roster folder, but to do this the size of the download would increase ten-fold. To get around that, IABL has only added a couple of roster folders but arranged the ships and the skins so that countries that stay neutral for the duration of the war will only wear neutral colors. The countries that are neutral for part of the war before becoming enemy will only use neutral skins, but once they become enemy they then fall into the same category as the British ships, in that they may fly neutral flags or be painted in neutral schemes.

I'm hoping I got that right, that's how I see it anyway. Of course, there's nothing stopping you from adding X neutrals to every countries roster if you wish but expect to play the guessing game as to whether they are enemy or not a lot more. By limiting the roster folders, the 'disguised neutral' phenomenon is kept from getting unrealistically frequent.

Edit: The X ships are in the British roster to create the 'is it a neutral ship' question requiring you to investigate. I thought you got that part?
roger
Robin40 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 09:45 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.