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-19-13, 03:45 AM   #9991
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,451
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   #9992
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   #9993
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,099
Downloads: 467
Uploads: 0


Default

Just excellent
Thanks for that! (and all other things!)
Fifi is offline   Reply With Quote
Old 05-19-13, 04:10 AM   #9994
Sartoris
Captain
 
Join Date: May 2011
Posts: 489
Downloads: 106
Uploads: 0
Default

A wonderful new addition to the already excellent mod!
Sartoris is offline   Reply With Quote
Old 05-19-13, 07:59 AM   #9995
Mikemike47
Grey Wolf
 
Join Date: Sep 2006
Location: NY
Posts: 995
Downloads: 1078
Uploads: 6
Default

Wonderful
Mikemike47 is offline   Reply With Quote
Old 05-19-13, 10:05 AM   #9996
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
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
Old 05-19-13, 11:28 AM   #9997
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
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   #9998
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
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, 12:30 PM   #9999
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
No promises here. I'll see how difficult it would be to implement.
Okay. If it takes too long just scrap my idea: there are more important aspects of this game that are waiting for you to take care of them

Quote:
Originally Posted by TheDarkWraith View Post
I increased the limit to 20.
Okay, better than nothing

Quote:
Originally Posted by TheDarkWraith View Post
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!
I was thinking of a more basic graphic implementation of it. For instance something like this:



Quote:
Originally Posted by TheDarkWraith View Post
this I can more than likely do and will look into it now.
gap is offline   Reply With Quote
Old 05-19-13, 03:58 PM   #10000
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,099
Downloads: 467
Uploads: 0


Default

Where is the download link for 7.4?
Fifi is offline   Reply With Quote
Old 05-19-13, 04:40 PM   #10001
volodya61
Ocean Warrior
 
volodya61's Avatar
 
Join Date: Feb 2012
Location: Rostov-on-Don, local time GMT+4
Posts: 3,300
Downloads: 374
Uploads: 0


Default

Quote:
Originally Posted by Fifi View Post
Where is the download link for 7.4?


It's not released yet.. be patient and stay tuned
__________________
.
Where does human stupidity end?

.


El sueño de la razón produce monstruos © - and for some people awakening will be cruel
volodya61 is offline   Reply With Quote
Old 05-19-13, 05:23 PM   #10002
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,099
Downloads: 467
Uploads: 0


Default

Quote:
Originally Posted by volodya61 View Post


It's not released yet.. be patient and stay tuned
Okay!
Thought it was already out! lol
Fifi is offline   Reply With Quote
Old 05-19-13, 05:38 PM   #10003
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
I was thinking of a more basic graphic implementation of it. For instance something like this:

Have it coded in (no radio buttons though - checkboxes) Testing it now.

Just have to revise the DLL code for possibility of multiple user charts files.
TheDarkWraith is offline   Reply With Quote
Old 05-19-13, 05:51 PM   #10004
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

ok all that works perfectly. Now just have to update the DLL code to handle multiple user chart files.



this window is pretty cool in how it works The top is the title bar and where you put your mouse to drag the window anywhere on screen. The total left side of the user charts window can be grabbed with the mouse and expanded to the left in case you have long names in it.

Below that are all the categories read in from the files. Notice the small round button. Clicking it will expand/contract only the section it is in. Pretty cool You can only have one category checked at a time. Each time you click a category the bottom section will either fill in with all the available charts for that category or clear out to nothing (category not checked). When the game starts the 'Default' category is automatically selected.

Below the categories box are the charts box. When a category is checked all of it's charts are listed here. Check a chart to display it. Uncheck to hide.

Switching categories does not uncheck the charts already enabled for the previous category. You have to manually uncheck them yourself.

Clicking the charts icon will either show everything that is currently enabled or hide everything.

Revised UserCharts file:
Code:
; User Charts
; Category= the category where the chart will fall under (can be anything!) - if left blank will default to Default category
; 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 20. Anything after 20 will be ignored!
; [ENDCHARTS] must be the last line in the file!
 
[Chart]
Category=
Name=Flags
Filename=FlagChart.dds
Size=-1,-1
Position=20,20
Draggable=1
ToolTip=Flag chart
 
[Chart]
Category=Shipping
Name=Shipping (colored)
Filename=SH5_Shipping_Chart_Colored.dds
Size=-1,-1
Position=10,10
Draggable=1
ToolTip=Colored shipping chart
 
 
[Chart]
Category=Shipping
Name=Shipping (non-colored)
Filename=SH5_Shipping_Chart.dds
Size=-1,-1
Position=10,10
Draggable=1
ToolTip=Non-colored shipping chart
 
 
[Chart]
Category=Speed conversions
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]
Category=Speed conversions
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]
TheDarkWraith is offline   Reply With Quote
Old 05-19-13, 06:01 PM   #10005
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Have it coded in (no radio buttons though - checkboxes) Testing it now.

Just have to revise the DLL code for possibility of multiple user charts files.


I have been thinking of a funcional way to accomodate chart categories with individual chart cfg files. So far, these are the possible options that I thought of:

- defining some preset categories within a common cfg file, that individual chart cfg files should refer to.

- even better, making the game to parse all the available categories in chart cfg files. Indeed, there should be a maximum number of categories possible. If this limit is exceeded, all the categories in excess would be grouped in a preset super-category. In order to do it, you should device a category sorting system though.

EDIT: sorry, I see that you have already taken care of it: your wits is faster than my typing skills
gap is offline   Reply With Quote
Reply

Tags
dbrn, favorite, new ui


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:36 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.