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 08-01-10, 02:31 PM   #1
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

Any luck in getting the message box to drop the game to 1 TC .
THE_MASK is offline   Reply With Quote
Old 08-01-10, 02:39 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by sober View Post
Any luck in getting the message box to drop the game to 1 TC .
I'm trying to figure out the best way to go about doing this. Do you have any suggestions? Should it trigger on a certain message(s) or ???
TheDarkWraith is offline   Reply With Quote
Old 08-01-10, 02:44 PM   #3
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 TheDarkWraith View Post
I'm trying to figure out the best way to go about doing this. Do you have any suggestions? Should it trigger on a certain message(s) or ???
Maybe an option for the player to tick what word you want the message box to drop down to 1TC . Say i tick the word ''ship'' etc . Is there a file somewhere with what comes up on the message box like a localisation file or something .
THE_MASK is offline   Reply With Quote
Old 08-01-10, 02:46 PM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by sober View Post
Maybe an option for the player to tick what word you want the message box to drop down to 1TC . Say i tick the word ''ship'' etc . Is there a file somewhere with what comes up on the message box like a localisation file or something .
all available texts to use come from the menu.txt file. If you tell me what items from there you'd like to see this happen on I can make it happen. Trying to filter a specific word would be too tedious and not very efficient game time wise.
TheDarkWraith is offline   Reply With Quote
Old 08-01-10, 03:26 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

okay added a new user option that controls whether the TCx on certain texts in the message box happens or not (located in the 'Message Box (SH3/4/5 modes)' section of the options file):

# do we go to TCx when one of the following messages is posted in the messagebox?
# change below to either True or False
TCxOnMessageBoxText = True

# if TCxOnMessageBoxText is enabled then it will trigger on the following numbers from menu.txt:
TCxOnMessageBoxTextNumbers = [
9200,
9201,
9202,
9203,
9204,
9205,
817,
4800,
4801,
9206,
9207,
9208,
9209,
9210,
9211,
9212,
7666,
7667
]

Last edited by TheDarkWraith; 08-01-10 at 04:05 PM.
TheDarkWraith is offline   Reply With Quote
Old 08-01-10, 03:42 PM   #6
Tectronus
Watch
 
Join Date: Mar 2006
Posts: 24
Downloads: 37
Uploads: 0
Default

Could you put in logic to let use define what we what the tc to drop down too?
Tectronus is offline   Reply With Quote
Old 08-01-10, 03:58 PM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Tectronus View Post
Could you put in logic to let use define what we what the tc to drop down too?
excellent idea! I'll add a new user option that lets you define what TC value to drop to (or increase to) when one of the aforementioned texts is encountered

EDIT:

added:
# if TCxOnMessageBoxText is enabled and one of the texts from TCxOnMessageBoxTextNumbers is found, what TC level do we go to?
TCxOnMessageBoxTextDesiredTCLevel = 1
TheDarkWraith is offline   Reply With Quote
Old 08-01-10, 04:44 PM   #8
Tectronus
Watch
 
Join Date: Mar 2006
Posts: 24
Downloads: 37
Uploads: 0
Default

- added a high precision timer class to the game. This class takes into account TC level and thus can be used for timings that involve TC level. The stock animation timers of the game do not account for TC level


See this made me think that a old idea someone once had on the sh3 forums might be possible now. Cool new Bell and Whistle for your awesome UI

TC dependent Dive Control and Sonar Search Feature.

This would at over a certain TC level make your boat dive to lets say periscope depth and search for sonar contacts for X amount of minutes and then return to surface.

You could add the extra icon to the top of your SH5 style UI for a toggle On/off and also one of your cool TC adjustment option for this. - 32 +


Maybe have a hot key or a new button some where that would open up an option window for the Auto dive control. Could be as simple as check boxes for options.

Options like
- how often you would like to dive 30min, 60min, 120min ect..
- how many minutes you would like to search.
- if weather is X stay submerged
- if battery is X surface or don't follow dive schedule
- Set speed to 1/3 2/3 1/2 while submerged.
- Set speed to . . . when returning to surface
- Later war option. Stay submerged during day time.

There are some really cool possibilities here and think most people would dig it. This would help do away with the Fingers on the Dive to periscope, Surface, and 1xTc keys syndrome.

Hope this could some day could make it into UI.
Tectronus 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 09:40 PM.


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.