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

Reply
 
Thread Tools Display Modes
Old 05-17-13, 07:07 PM   #1
Bathrone
Ensign
 
Join Date: Jan 2007
Posts: 234
Downloads: 82
Uploads: 0
Default

Hi, Ive read the documentation but Im unclear about what:

NewUIs_TDC_7_3_0_RadCapTools_0_2_alpha

Does?

Also TDW you have an out of bounds error in your max strings in this file other menu.txt file your package for different languages:

MaxStrings=9999

....\NewUIs_TDC_7_3_0_ByTheDarkWraith\Text\English

In the main New UIs menu.txt you have MaxStrings=10100

Also I see that decks awash is command 1036 but how do I give that order in game?

Thanks
Bathrone is offline   Reply With Quote
Old 05-17-13, 07:28 PM   #2
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Quote:
Originally Posted by Bathrone View Post
Hi, Ive read the documentation but Im unclear about what:

NewUIs_TDC_7_3_0_RadCapTools_0_2_alpha

Does?

Also TDW you have an out of bounds error in your max strings in this file other menu.txt file your package for different languages:

MaxStrings=9999

....\NewUIs_TDC_7_3_0_ByTheDarkWraith\Text\English

In the main New UIs menu.txt you have MaxStrings=10100

Also I see that decks awash is command 1036 but how do I give that order in game?

Thanks
http://www.subsim.com/radioroom/show...39&postcount=1
THE_MASK is offline   Reply With Quote
Old 05-17-13, 07:37 PM   #3
Bathrone
Ensign
 
Join Date: Jan 2007
Posts: 234
Downloads: 82
Uploads: 0
Default

Mate Im aware when using his generic patcher the max strings needs to goto 11100. The point is that in this specific NewUI mod, theres a bug in the language menu.txt where the bounds parameter is different to main NewUI menu.txt in his mod.

Got any idea on my other qs?

Thanks
Bathrone is offline   Reply With Quote
Old 05-18-13, 10:25 AM   #4
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 989
Downloads: 1081
Uploads: 6
Default

Quote:
Originally Posted by sober View Post
More specifically from bottom of page.

Code:
Required menu.txt entries for versions >= v1.0.74.0:
 
Edit this line in your menu.txt file:
MaxStrings=11100
 
Add these to the end of your menu.txt file:
 
; Independent engine controls patch
10025=Shafts
10026=Click to enable/disable speed commands for the port shaft
10027=Click to enable/disable speed commands for the starboard shaft
; Contact report wolfpack patch
11000=Dispatching available submarines to your patrol area|Remain  undetected and in a favorable position|Send status reports| |Bdu
11001=All available submarines have been dispatched to your patrol area
11002=Submarines in your area have received instructions to join your  attack|Stay in front of contact/convoy, remain undetected, and send  regular status reports| | |B.d.u
11003=Remain undetected and continue following contact/convoy|Available submarines are heading to your patrol area
11004=Attain favorable position and shadow contact/convoy until reinforcements arrive
; possible messages from Bdu when can not dispatch subs
11010=No boats are within your patrol area|Act as lone boat| |Bdu
11011=No support within range|Be more aggressive| |Bdu
11012=Contact report received|Act on own data| |BdU
11013=Be more aggressive!| |Bdu
11014=Attack contact| |Bdu
; Reports from dispatched subs
11020=Contact keeper continue to send bearing signals|Group act on own data|Take every opportunity to attack
11021=Convoy in sight|Signal bearing sent|Moving to attack port side
11022=I believe to have made contact with the convoy|Sending bearing signals|Act according to own data|Attacking at full speed
11023=Requesting bearing signal from contact keeper
11024=Beacon signals lie in the line of approach according to dead reckoning.|Attacking far side of convoy
I have posted about this to TDW to update the meu.txt in hopes of others would not be continuously asking.
Mikemike47 is offline   Reply With Quote
Old 05-18-13, 07:13 PM   #5
Bathrone
Ensign
 
Join Date: Jan 2007
Posts: 234
Downloads: 82
Uploads: 0
Default

Mike thanks for that but Im not asking about how, I am advising of a configuration bug in the max strings parameter specifically for New UIs. In cases where a user may elect to run New UIs and not the generic patcher, the bugs with the differences in the max strings parameter in the various menu.txt files supplied with the New UIs mod will cause gameplay problems.
Bathrone is offline   Reply With Quote
Old 05-19-13, 03:32 AM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

While on the plane again I finally wrote the DLL responsible for the user charts. Starting with v7.4.0 this will be available.

The old charts are no longer available in the mod. Instead when you click the charts icon in the upper right lower bar you will see a new scrollable window like so:



I'm referring to the User charts window. If you place your mouse inside this window you can scroll through all the user charts defined. Clicking a user chart will enable/disable it (make it visible/hide it). By clicking the little round circle in the upper right corner you can expand the user charts to see more user charts at once:



If you have user charts enabled and you click the charts icon to disable it then all user charts and the user charts window will hide. If you then click the charts icon again to enable it everything will reappear just like it was before.

If you have a user chart enabled in the user charts window and you mouse over that item in the user charts window you will cause that user chart to 'jump' to the front and become visible. This is very handy when you have multiple user charts enabled and you quickly want to view a certain chart.

You are allowed to define 16 user charts. User charts are defined in the \data\UserCharts\UserCharts.TDW file (open with Notepad to edit). There are many options in the UserCharts.TDW file. Here is the contents of that file as of now:

Code:
; User Charts
; Name= specifies the name to be shown in the charts listbox
; Filename= name of the DDS file of the chart (including .dds extension!) - user charts can ONLY be DDS files!
; Size= if you specify -1 then the DLL will get the size needed (width and/or height) from the image itself else you can specify custom size for the chart (image)
; Position= specifies the position on screen relative to upper left corner of game screen
; Draggable= valid values are 1 (yes) or 0 (no). If a 1 then you will be able to drag the chart anywhere on screen
; ToolTip= the tooltip displayed when the mouse is placed over the visible chart (image)
; max number of charts that can be defined is 16. Anything after 16 will be ignored!
; [ENDCHARTS] must be the last line in the file!
 
[Chart]
Name=Flags
Filename=FlagChart.dds
Size=-1,-1
Position=20,20
Draggable=1
ToolTip=Flag chart
 
[Chart]
Name=Shipping (colored)
Filename=SH5_Shipping_Chart_Colored.dds
Size=-1,-1
Position=10,10
Draggable=1
ToolTip=Colored shipping chart
 
 
[Chart]
Name=Shipping (non-colored)
Filename=SH5_Shipping_Chart.dds
Size=-1,-1
Position=10,10
Draggable=1
ToolTip=Non-colored shipping chart
 
 
[Chart]
Name=Knots in meters per minute
Filename=TabelleMin_English.dds
Size=-1,-1
Position=40,20
Draggable=1
ToolTip=conversion chart for knots in meters per minute
 
 
[Chart]
Name=Knots in kilometers per hour
Filename=TabelleStd_English.dds
Size=-1,-1
Position=60,20
Draggable=1
ToolTip=conversion chart for knots in kilometers per hour
 
[ENDCHARTS]
As you can see it's very easy to define new user charts. Simply add the required entries in the UserCharts.TDW file and drop your .dds file for it in \data\UserCharts.

You can override the .dds file's dimensions by specifying Size=x,y instead of Size=-1,-1.

By placing you mouse inside the area where the User charts text is you will be able to drag the User charts window anywhere on the screen you would like (it's draggable).

The User charts title (text) is a menu entry in the menu.txt file so it can accommodate different languages. It's menu entry # is 10000.

SOAN is still tied to the Charts icon (thus SOAN is only visible when charts are enabled).


Change log for v7.4.0 as of now:
v7.4.0 - removed the polling for the DestroyedMarks
- in process of rewriting destroyed marks code. Destroyed marks are no longer saved to ship's journal. At game start the mod will read the destroyed marks from the campaign file and add them to the map
- added all strings needed by my Generic Patcher to all the menu files for the mod
- redid how the charts are done. Now when user clicks the Charts icon in the low right upper bar a list box will be shown will all available user charts defined. By clicking the checkbox for each user chart defined you will control their visibility. Mousing over a user chart that is enabled will cause it to jump to the front (visibility). User charts are defined in the file \data\UserCharts\UserCharts.TDW (open with Notepad).

More work to do on the next version...

Last edited by TheDarkWraith; 05-19-13 at 03:42 AM.
TheDarkWraith is offline   Reply With Quote
Old 05-19-13, 03:45 AM   #7
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

This is great, thanks
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 05-19-13, 04:05 AM   #8
Bathrone
Ensign
 
Join Date: Jan 2007
Posts: 234
Downloads: 82
Uploads: 0
Default

Goodness
Bathrone is offline   Reply With Quote
Old 05-19-13, 04:09 AM   #9
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

Just excellent
Thanks for that! (and all other things!)
Fifi is offline   Reply With Quote
Old 05-19-13, 11:28 AM   #10
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
While on the plane again I finally wrote the DLL responsible for the user charts...
Excellent news

I have a few small suggestions, as usual:

- could you make the user charts tab to diplay a (user customizable) icon for each chart, close to its name? A visual feature more than a else, but it would also help the player to quickly locate the desired chart if many are enabled.

- how difficult would be increaing the limit of 16 custom charts?

- could yo sort the charts in customizable categories (e.g: shipping charts, navigation tables, weather charts, etc.).

- most important: could you make each chart to have its own cfg file, instead of being listed in one common cfg file? It would make your implementation of the custom chart feature even more "generic", and it would allow people to simply enable additional charts in JSGME, without having to edit any cfg file
gap is offline   Reply With Quote
Old 05-19-13, 11:45 AM   #11
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
could you make the user charts tab to diplay a (user customizable) icon for each chart, close to its name? A visual feature more than a else, but it would also help the player to quickly locate the desired chart if many are enabled.

No promises here. I'll see how difficult it would be to implement.

- how difficult would be increaing the limit of 16 custom charts?

Would require a new rev of the mod as too many things would need to be changed. I increased the limit to 20.

- could yo sort the charts in customizable categories (e.g: shipping charts, navigation tables, weather charts, etc.).

That's getting into an Automation type setup and once was enough for me currently. Besides it would eat too much screen real estate to implement. Look at the size of the Automation window, it's huge!

- most important: could you make each chart to have its own cfg file, instead of being listed in one common cfg file? It would make your implementation of the custom chart feature even more "generic", and it would allow people to simply enable additional charts in JSGME, without having to edit any cfg file

this I can more than likely do and will look into it now.
see above in yellow.
TheDarkWraith is offline   Reply With Quote
Old 05-19-13, 10:05 AM   #12
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Mikemike47 View Post
I have posted about this to TDW to update the meu.txt in hopes of others would not be continuously asking.
All menu entries needed in the menu.txt files for my Generic Patcher have been added starting with v7.4.0.

I've increased the max # of user charts you can define to 20 (I didn't want to have to go back and change this later so it was best to do it now )
TheDarkWraith is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui

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 04:33 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.