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 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10-31-12, 08:15 AM   #32
Paco
Captain
 
Join Date: May 2005
Location: Kassel, Germany
Posts: 542
Downloads: 345
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
...I have also set 'BIGREGBLANK' to '' (Null). If I understood your explanations, it should result in the following phrase being used instead:
You understood it in the right way.

Quote:
Originally Posted by gap View Post
'gradi' is case sensitive (singular: grado) .... Can you remove the space separator between degree values and their unit of measure?
Hm, I could implement the singular and plural form. It looks better than the degree symbol, imho?



Quote:
Originally Posted by gap View Post
Using periods instead of commas makes dialogs lesser intellegible, imo...
I know, but TDW has assigned the comma as a field-seperator in his automation.py-Script. I have looked into it and found the function which is reading and processing the shn-file. I'm able to change it there, but we have to be compatible to the other automation-scripts from Trevally, AvM, etc.

If we decide to use "#" instead of "," as field seperator, I could add a query in TDWs scipt, which checks the given format in the shn-File and sets the correct separator for the further instructions. But, BUT(!) it is TDWs work and as I see, he isn't active here at the moment. Furthermore he isn't very amused, if someone is patching in his work...

from his work:

Quote:
NewUIs with TDC for SH5 by TheDarkWraith
version 7.1.0

YOU HAVE TO BE PATCHED TO v1.2 OF THE GAME!!!


COPYRIGHT NOTICE:
The code changes made to the .py files are the intellectual property of TheDarkWraith and may not be used, modified, or duplicated in whole, or in part, without the express written permission of TheDarkWraith. The code changes made to these files may not be used in any commercial application of any form without the express written permission of TheDarkWraith.
So we need a decision:
1) To accept the period.
2) If someone is in contact with him outside of subsim, to get his contact-data and ask him for permission to add a change to his code.
3) To patch his work as an unofficial patch with a suitable comment and if he will be back here, to get this (only three lines of code) into the official Mod.

At the moment, where if found the problem with comma or period, I decided that I use option 1 and respect TDWs disclaimer.


Quote:
Originally Posted by gap View Post
maybe we can add a comma and a space at the end of text entries that are always followed by a recipient, or a comma and a space to the entries used for recipients, thus making the use of other separators dispensable
Sorry, no. As soon as a comma is in use in a comment, the automation.py gives an exception and I can't mask it (\,)

But I want to say, that it is not a bug by TDW or a bad design, it was simply his decision to use the comma as separator for his datastructure.

Quote:
Originally Posted by gap View Post
no, I was especially concerned about the separator used in Imperial/Intenational system for decimal numbers:

1.5 instead of 1,5
Not impossible -> I wrote it to my todo-(wish-)list.
Paco is offline   Reply With Quote
 


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 07:06 AM.


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.