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 > Silent Hunter III
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 05-14-10, 01:10 AM   #1
bigboywooly
Rear Admiral
 
Join Date: Apr 2006
Location: Swindon, England
Posts: 10,151
Downloads: 35
Uploads: 0
Default

The display name in Peri view etc is taken from EnglishNames cfg
If no entry in there then game will default to whats on the cfg or even Class name
You can certainly go through your cfgs if you want though wont lead to CTD AFAIK

Still having CTD issues FK ?
__________________


My mediafire page http://www.mediafire.com/?11eoq19bq9r41
bigboywooly is offline   Reply With Quote
Old 05-14-10, 07:58 AM   #2
frau kaleun
Rear Admiral
 
Join Date: Nov 2009
Location: Skyri--oh who are we kidding, I'm probably at Lowe's. Again.
Posts: 12,706
Downloads: 168
Uploads: 0


Default

Quote:
Originally Posted by bigboywooly View Post
The display name in Peri view etc is taken from EnglishNames cfg
If no entry in there then game will default to whats on the cfg or even Class name
You can certainly go through your cfgs if you want though wont lead to CTD AFAIK

Still having CTD issues FK ?
I was able to recreate the same CTD problem I was having (see posts 72-76 above) but have not had time to reload the game and keep trying different things to see if can pinpoint the cause.

Was just looking back through the game files last night to see if there was any possible issue I might have overlooked with the files in data\Sea and data\Roster\Denmark\Sea (especially now that more mods have been added and the CTD recreated), and started comparing the .cfg files for the Denmark roster with files for the same units in other country's rosters. Noticed that the DisplayName sometimes differed from country to country for the same unit, and also did not necessarily match the corresponding line for that unit in EnglishNames.cfg in the data\Sea folder.

Made sense to me that a unit serving as, say, a Troop Transport when it spawns under a British flag would not have that DisplayName in every roster where it appears, since it wouldn't make sense for every country to be spawning Troop Transports, lol.

But then I saw that some units have the same DisplayName throughout the data\Roster subdirectories, no matter where they appear, which still does not match what's in the EnglishNames.cfg file.

I didn't think it was an issue but wanted to be sure since I don't know what part of the game is pulling what info from which source and for what purpose.

I'm wondering now, though, what purpose does the DisplayName info in each unit's .cfg serve, if the display in-game is being taken from the EnglishNames.cfg file? Not that it has anything to do with my CTDs, lol, but now you've made me curious about it.
frau kaleun is offline   Reply With Quote
Old 05-14-10, 10:19 AM   #3
Wreford-Brown
Sea Lord
 
Join Date: Nov 2007
Location: In sight of Stonehenge
Posts: 1,750
Downloads: 51
Uploads: 26
Default

The DisplayName is used by the Mission Editor to identify the ship. If you change the DisplayName you'll suffer CTDs as the SH3 engine is looking for the DisplayName, not the name in EnglishNames.cfg.

This was a hard won piece of info - when I created my VonDos' mod I had the bright idea of changing the DisplayName so I didn't then have to change any of the three ...Names.cfg files. Unfortunately I'd already scripted the ships and I then spent a week or so chasing CTDs until I changed the DisplayName back and the CTDs stopped.

CTDs happen during loading with this particular problem so I'd discount it from causing the CTD you're trying to chase down.
__________________

All my mods are available at MediaFire:
SH3 Mods
Other modders SH3 mods
SH4 Mods
...you can't please all of the people all of the time...
Wreford-Brown is offline   Reply With Quote
Old 05-14-10, 10:47 AM   #4
frau kaleun
Rear Admiral
 
Join Date: Nov 2009
Location: Skyri--oh who are we kidding, I'm probably at Lowe's. Again.
Posts: 12,706
Downloads: 168
Uploads: 0


Default

Ah, gotcha, I think.

So if I open the _RND file in Mission Editor, and look at the the "Sea" Roster for Danish Shipping, that's where it shows all those units using the names given in the cfg files in the Roster\Denmark\Sea folder. And so on for each country's roster.

Well I'm hoping I will have time and energy this weekend to load up the game again and try a few things.
frau kaleun is offline   Reply With Quote
Old 05-14-10, 01:13 PM   #5
bigboywooly
Rear Admiral
 
Join Date: Apr 2006
Location: Swindon, England
Posts: 10,151
Downloads: 35
Uploads: 0
Default

May be worth " removing " Stavanger

As said before a long time ago similar problems occured close to Denmark/Sweden

If you look at the Locations cfg - SilentHunterIII\data\Terrain

You will see

[Location 225] ;Malmö

[Location 226] ;Malmö City 01

[Location 227] ;Malmö City 02

[Location 228] ;Malmö City 03

[Location 229] ;Malmö Industry 01

[Location 230] ;Malmö Industry 02

[Location 231] ;Helsingborg

[Location 232] ;Helsingborg City 01

[Location 233] ;Helsingborg City 02

[Location 234] ;Helsingborg City 03

[Location 235] ;Helsingborg Industry 01

[Location 236] ;Helsingborg Industry 02

All of the above had the entries removed - [ Location **** ] needs to stay or renumber the file

CTDs stopped
May be just too much in the area you are in
So if you open up Locations.cfg and search for Stavanger

[Location 256] ;Stavanger
Long=5.7596
Lat=58.9693
Heading=35
OnLand=false
ShowOnMap=true
FileName=Djakarta
LocationName=Stavanger


[Location 257] ;Stavanger City 01
Long=5.7568
Lat=58.9662
Heading=50
OnLand=true
ShowOnMap=true
FileName=City_Fr_Gr


You can either remove the game info ( in yellow above ) so looks like below below

[Location 256] ;Stavanger

[Location 257] ;Stavanger City 01

Or

Comment it out incase not the problem and you want to put back

[Location 256] ;Stavanger
;Long=5.7596
;Lat=58.9693
;Heading=35
;OnLand=false
;ShowOnMap=true
;FileName=Djakarta
;LocationName=Stavanger

[Location 257] ;Stavanger City 01
;Long=5.7568
;Lat=58.9662
;Heading=50
;OnLand=true
;ShowOnMap=true
;FileName=City_Fr_Gr

DO NOT comment out the header line - [ Location 256] etc or nothing will show after Location 256 as file not in sequential order

Make sense ?
__________________


My mediafire page http://www.mediafire.com/?11eoq19bq9r41
bigboywooly is offline   Reply With Quote
Old 05-14-10, 01:36 PM   #6
frau kaleun
Rear Admiral
 
Join Date: Nov 2009
Location: Skyri--oh who are we kidding, I'm probably at Lowe's. Again.
Posts: 12,706
Downloads: 168
Uploads: 0


Default

Quote:
Originally Posted by bigboywooly View Post
May be just too much in the area you are in
So if you open up Locations.cfg and search for Stavanger

[Location 256] ;Stavanger
Long=5.7596
Lat=58.9693
Heading=35
OnLand=false
ShowOnMap=true
FileName=Djakarta
LocationName=Stavanger

[Location 257] ;Stavanger City 01
Long=5.7568
Lat=58.9662
Heading=50
OnLand=true
ShowOnMap=true
FileName=City_Fr_Gr

You can either remove the game info ( in yellow above ) so looks like below below

[Location 256] ;Stavanger

[Location 257] ;Stavanger City 01

Or

Comment it out incase not the problem and you want to put back

[Location 256] ;Stavanger
;Long=5.7596
;Lat=58.9693
;Heading=35
;OnLand=false
;ShowOnMap=true
;FileName=Djakarta
;LocationName=Stavanger

[Location 257] ;Stavanger City 01
;Long=5.7568
;Lat=58.9662
;Heading=50
;OnLand=true
;ShowOnMap=true
;FileName=City_Fr_Gr

DO NOT comment out the header line - [ Location 256] etc or nothing will show after Location 256 as file not in sequential order

Make sense ?
Yes, thanks, I will give it a try.
frau kaleun is offline   Reply With Quote
Reply


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 05:27 PM.


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