![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
11-01-12, 06:07 AM
|
#1 |
|
Captain
![]() Join Date: May 2005
Location: Kassel, Germany
Posts: 538
Downloads: 345
Uploads: 0
|
Issue with TDW's delimiter - No issue with TDW's delimiter
My first attemp to change the delimiter from ',' to anything other has crashed.
![]() I have to go to deep into TDW's work to change and to be compatible with others work. But I found another way to allow the using of a comma in the navigation-files. Changing the input-routines in TDW's Mod -> heavy work Make a little change to his Journal-routine -> easy work For our comments, we write them as we want with the comma. By creating the shn-file, the script replaces all positions of a comma with "_#$#_". Now, I added a line to the "Page Default Hud.py" from TDW to get back the comma by replacing the _#$#_ in the output-function. The advantages are - we get less problems with the complex process how the automations are working - less code to change (one line only) - Less side effects, we aren't crashing the UI-Mod, because we are only in an output-routine (I think, nobody uses a term like _#$#_ in his comments )- The change allows Trevally, AvM, and others to use a so hided comma in ther shn files. They only need is the code update in the "Page Default Hud.py". Paco
__________________
My SH5-Mods: - Pacos German Folklore SubEmblems Mod - Pacos Environment Sound Mod - Lite Campaign German Edition |
|
|
11-01-12, 12:35 PM
|
#2 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
