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-21-10, 02:24 PM   #1
MattDizzle
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by kylania View Post
The ShowMessageBox and RestoreMessageBox section from the same file.
This is known as a "sentence fragment", and as such has failed to convey the message you wanted to convey to me.
  Reply With Quote
Old 05-21-10, 02:40 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by MattDizzle View Post
This is known as a "sentence fragment", and as such has failed to convey the message you wanted to convey to me.
##################################### Message Box (SH3/4/5 modes) ####################################
# these control the height and width of the message box. They are multiplied by a set value so increment in small values!
MessageBoxWidthFactor = 2.5 # stock is 2
MessageBoxHeightFactor = 5 # stock is 3
# this will cause the message box to start in the expanded mode when the game starts
# change below to either True or False
MessageBoxStartsExpanded = True
# is the message box displayed at game start?
# change below to either True or False
DisplayTheMessageBox = True
# the hotkey used to toggle the messagebox visibility
# Format:
#
# DisplayTheMessageBoxHotKey = [ False, None ]
# False = enabled
# None = key used
#
# if you wanted to enable this:
# DisplayTheMessageBoxHotKey = [ True, MenuKeyManagerWrapper.Keys.L ]
#
# if you wanted to disable this:
# DisplayTheMessageBoxHotKey = [ False, MenuKeyManagerWrapper.Keys.L ]
#
DisplayTheMessageBoxHotKey = [ True, MenuKeyManagerWrapper.Keys.L ] # change the L to whatever key you want
# to toggle the messagebox between minimized and maximized states use the hotkey used to toggle visibility with the shift key
# at what TDC mode do we ensure the messagebox is shown and maximized (it will show when the TC level is greater than or equal to this value)?
ShowMessageBoxAndExpandAtTCLevel = 32
# when we drop below the ShowMessageBoxAndExpandAtTCLevel do we restore the messagebox?
RestoreMessageBoxAfterTCLevel = True
# number of messages to keep in the messageboxlist. After this number is exceeded, the oldest message is removed from the list. Stock value is 20
NumberMessagesToKeepInMessageBox = 20

edit the yellow item to control when the messagebox is shown and maximized in regards to TC level
TheDarkWraith is offline   Reply With Quote
Old 05-21-10, 03:08 PM   #3
MattDizzle
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

thank you darkwraith, im just messing around with you. Did you know that you singlehandedly saved silent hunter 5?
  Reply With Quote
Old 05-21-10, 03:47 PM   #4
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

Two questions / issues?

1. Why the real course in unknown? Maybe better way is use "probably" course (SH5 shows the track behind ship) like N, NE, E etc, etc...


2. Could you fix the crossing tex on notepad lines?
For the the text on lines looks not good...
__________________

PL_Andrev is offline   Reply With Quote
Old 05-21-10, 04:05 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Antar View Post
Two questions / issues?

1. Why the real course in unknown? Maybe better way is use "probably" course (SH5 shows the track behind ship) like N, NE, E etc, etc...
there is a user option that defines at what distance the course is updated. Think about this: your crew spots a ship. It's distance is 10,000+ meters. Do you really think they can discern the direction the ship is heading? No. So I added a user option that when the distance from the sub to the target is less than or equal to this user option then the course is updated. Until then you get '---' for course.
TheDarkWraith is offline   Reply With Quote
Old 05-22-10, 01:41 AM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Just about finished with the ships journal. Here you can see the add, edit, and delete icons at work. You select an entry by mousing over it and pressing shift (that will draw a border around the entry). Then click on one of the icons at the bottom to add, edit, or delete. If you select an entry and then click on add, the new entry will be placed below the selected entry. If you click add with no entries highlighted then the entry is added to the end.
There are arrows on the bottom that let you scroll previous day and next day. This allows you to look at the log entries by days
I have to code in the save log entries yet (far left icon). It will save the contents to a disk file once coded.
There is a user option that lets you define your sub's title or name (in this example mine is 'U021 TheDarkWraith')

game start. I selected an entry and want to add an entry below it:


I selected an entry and want to edit it:


now I'm going to delete an entry:
TheDarkWraith is offline   Reply With Quote
Old 05-22-10, 01:55 AM   #7
Manny
Swabbie
 
Join Date: Jul 2002
Location: Staffordshire, England
Posts: 11
Downloads: 23
Uploads: 0
Default

DW - Re: Journal - Brilliant !!
Manny is offline   Reply With Quote
Old 05-22-10, 03:31 PM   #8
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
there is a user option that defines at what distance the course is updated. Think about this: your crew spots a ship. It's distance is 10,000+ meters. Do you really think they can discern the direction the ship is heading? No. So I added a user option that when the distance from the sub to the target is less than or equal to this user option then the course is updated. Until then you get '---' for course.
If that is true, the "ship's tail" should be deleted from nav maps, and shown when course is updated. Because now the "unknown" course can be easy read from nav map.
__________________

PL_Andrev is offline   Reply With Quote
Old 05-22-10, 04:28 PM   #9
kylania
Silent Hunter
 
Join Date: Aug 2006
Posts: 3,528
Downloads: 118
Uploads: 0
Default

Quote:
Originally Posted by Antar View Post
If that is true, the "ship's tail" should be deleted from nav maps, and shown when course is updated. Because now the "unknown" course can be easy read from nav map.
You can do that by turning off map contacts.
__________________

kylania is offline   Reply With Quote
Old 05-22-10, 02:21 AM   #10
kapitanfred
Planesman
 
Join Date: Sep 2002
Location: South Australia
Posts: 191
Downloads: 28
Uploads: 0
Default

You're an ACE modder there TDW
kapitanfred is offline   Reply With Quote
Old 05-22-10, 03:02 AM   #11
jaxa
The Old Man
 
Join Date: Mar 2005
Location: Poland
Posts: 1,487
Downloads: 418
Uploads: 0
Default

TheDarkWraith, how to activate chalkboard mod and remove binocular crosshair mod in Multiple_UI?
__________________
GWX Knight's Cross Edition v2.5
jaxa is offline   Reply With Quote
Old 05-22-10, 09:34 AM   #12
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by jaxa View Post
TheDarkWraith, how to activate chalkboard mod and remove binocular crosshair mod in Multiple_UI?
There is a user option to disable the binocular crosshair. Might be in last version v2.5.0 but if not it's definitely in v2.6.0:

# is the binocular crosshair visible?
BinocularCrosshairEnabled = True
TheDarkWraith is offline   Reply With Quote
Old 05-22-10, 06:23 PM   #13
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

I think what i would like is some realism options . What do i mean . On a realistic setting you could have the deck gun long range and medium range disabled . You could have the teleport disabled . TAI map disabled if you want . Get the hardcore guys to suggest things . over .
THE_MASK is offline   Reply With Quote
Old 05-22-10, 06:25 PM   #14
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

just wrapped up version 2.6.0. I'll be packaging up and releasing here soon.

v2.6.0 change log:

v2.6.0 - fixed bug when messagebox is minimized the latest message isn't displayed
- changed messagebox's tooltip from Toggle to Toggle minimized/maximized
- fixed a possible language dependency problem with the radio contact reports and radio messages
- fixed bug of clicking the 'X' on the clock not hiding the clock
- changed how the game is displaying messages in the messagebox. I now trap all messages in preps for the journal being implemented
- fixed bug of possible CTD when editing the mast height value in the XO TDC Dialog box
- revised the contact spotted. Entries are now Bearing, Scope Bearing, and True Bearing. Speed is displayed for radio contacts.
- added a new user option that allows the user to have the contacts true course displayed or a reference value displayed (ShowContactsActualCourse)
- added a new user option that allows the user to have the radio contacts true speed displayed or a reference value displayed (ShowContactsActualSpeed)
- added a new user option that allows the user to determine when the contacts course is updated in real-time (in kms). When the contact is outside the range specified (and it's not a radio contact) then it's course will display '---'. Once inside the range specified then it's course will display either it's true course or a reference value based on user option settings. If it's a radio contact then it's reported course will be displayed at all times while out of range and once in range it's course will be updated in real time.
- added flag chart by conus00 to navigation map
- implemented the ship's journal. This is basically a log book of each day's events. All messages for that day are shown and user can scroll to different days in the patrol to read the entries. User can also edit the entries, add entries, and delete entries. This allows this to also be a journal where the captain can write notes or whatever they want in their log book. This is step 1 of the ship's journal. The next step will be to make it persist across save games so user can have one continuous log book of their campaign. Step 2 will also add the option of saving the journal to a file at any time. To edit entries hover the mouse pointer over an entry and press shift. The entry will acquire a border around it denoting it's selected. Then use the buttons on the bottom of the page to edit/delete. To add new entries: if you want the new entry to be placed at a certain time then select the entry that you want the new entry to follow and then click on add new entry. Else clicking on add new entry adds a new entry to the end of the log.
- added a new user option that specifies the title used in the ship's journal (ShipsJournalTitle)
TheDarkWraith is offline   Reply With Quote
Old 05-22-10, 06:44 PM   #15
Txema
中国水兵
 
Join Date: Mar 2005
Location: Basque Country
Posts: 283
Downloads: 366
Uploads: 0
Default

TDW,

Very nice list of changes.

Thank you !!!


Txema
Txema 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 03:49 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.