![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Rear Admiral
![]() Join Date: Apr 2006
Location: Swindon, England
Posts: 10,151
Downloads: 35
Uploads: 0
|
![]()
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 ? |
![]() |
![]() |
![]() |
#2 | |
Rear Admiral
![]() |
![]() Quote:
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. ![]() |
|
![]() |
![]() |
![]() |
#3 |
Sea Lord
![]() Join Date: Nov 2007
Location: In sight of Stonehenge
Posts: 1,750
Downloads: 51
Uploads: 26
|
![]()
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... |
![]() |
![]() |
![]() |
#4 |
Rear Admiral
![]() |
![]()
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. |
![]() |
![]() |
![]() |
#5 |
Rear Admiral
![]() Join Date: Apr 2006
Location: Swindon, England
Posts: 10,151
Downloads: 35
Uploads: 0
|
![]()
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 ? |
![]() |
![]() |
![]() |
#6 | |
Rear Admiral
![]() |
![]() Quote:
![]() |
|
![]() |
![]() |
![]() |
|
|