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 11-06-11, 06:24 PM   #1
Sartoris
Captain
 
Join Date: May 2011
Posts: 489
Downloads: 106
Uploads: 0
Default

Excellent news! I'll be following your work on the watch officer.

I didn't know you could do that: just copy the SH5 folder and paste it over the old one if the old one gets corrupted in any way? I'll have to try that next time everything falls apart.
Sartoris is offline   Reply With Quote
Old 11-06-11, 06:25 PM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Sartoris View Post
Excellent news! I'll be following your work on the watch officer.

I didn't know you could do that: just copy the SH5 folder and paste it over the old one if the old one gets corrupted in any way? I'll have to try that next time everything falls apart.
Won't take me very long at all to finish up this watch officer thing Should be done here very soon.

When mine corrupts I delete the whole SH5 folder from my HD. Then I copy the folder from my server to my HD. Reinstall mods and continue on
TheDarkWraith is offline   Reply With Quote
Old 11-06-11, 06:35 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Okay after a little thought on this watch officer thing here's what I've decided:

we have the following options under Time Compression:

#;###################################### Time compression ########################################
#[OPTION]
#CATEGORY=Time compression
#TYPE=6
#DESCRIPTION=Time compression level at which the TCx on constant distance is enabled (this will change the time compression level to a pre-determined level when a contact gets inside a specified radius around the sub if the current time compression level is greater than or equal to this value)
#VALUES=MIN|1
#DEFAULT=1024
#; the TC level at which the TCx on contact distance is enabled (this will change the TC level to a pre-determined level when a contact gets inside a specified radius around the sub if the current TC level is greater than or equal to this value)
#; below in powers of 2 only!
TCxOnContactDistanceEnabledTCLevel = 1024

#[OPTION]
#CATEGORY=Time compression
#TYPE=2
#DESCRIPTION=The radius around the sub to determine when to set time compression level to TCxOnContactDistanceTCLevel when time compression value is greater than 1 and TCxOnContactDistanceEnabled is True
#VALUES=MIN|0.0
#DEFAULT=8000.0
#; when at TC > 1 and TCxOnContactDistanceEnabled is enabled (True) then this is the radius around your sub to determine when to set TC level to TCxOnContactDistanceTCLevel
#; below in meters
TCxOnContactDistanceRadius = 8000.0

#[OPTION]
#CATEGORY=Time compression
#TYPE=6
#DESCRIPTION=Time compression level to set when TCxOnContactDistanceEnabled is True and contact is inside the TCxOnContactDistanceRadius
#VALUES=MIN|1
#DEFAULT=1
#; the TC level to set when TCxOnContactDistanceEnabled is enabled (True) and contact is inside the TCxOnContactDistanceRadius
#; below in powers of 2 only!
TCxOnContactDistanceTCLevel = 1


I'll add a new user option called WatchOfficerCheckForContantsOnTCxSet. It will default to disabled (False). This user option will be found under the Automatics tab.
I'll use the user option TCxOnContactDistanceEnabledTCLevel as the trigger. If WatchOfficerCheckForContantsOnTCxSet is enabled (True) and TCxOnContactDistanceEnabledTCLevel triggers TC level change to TCxOnContactDistanceTCLevel then the watch officer will automatically check for contacts IF you are surfaced. If you are submerged then nothing happens.

Last edited by TheDarkWraith; 11-06-11 at 06:58 PM.
TheDarkWraith is offline   Reply With Quote
Old 11-06-11, 06:35 PM   #4
Sartoris
Captain
 
Join Date: May 2011
Posts: 489
Downloads: 106
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
Won't take me very long at all to finish up this watch officer thing Should be done here very soon.
Very cool!

I was also wondering if the same could be done with the hydro guy if you're traveling underwater and the TC suddenly drops. I don't think the hydro guy ever tells me what caused the TC drop, I have to ask him to look for contacts, so maybe something similar could be done with him.


Quote:
Originally Posted by TheDarkWraith View Post
/ snip /
Woah! That was fast. A wizard at work!
Sartoris is offline   Reply With Quote
Old 11-06-11, 06:53 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Sartoris View Post
I was also wondering if the same could be done with the hydro guy if you're traveling underwater and the TC suddenly drops. I don't think the hydro guy ever tells me what caused the TC drop, I have to ask him to look for contacts, so maybe something similar could be done with him.
ok it's been coded. I forgot that there is a command for the sonarman to report nearest contact so if you are submerged then this command will be invoked. If you are surfaced then the watchofficer will report nearest contact.

Testing changes now...

EDIT:

everything works perfectly for surfaced or submerged. Have to update documentation and then new test version will be available.

Also while working on this the TCxOnContactDistanceEnabledTCLevel is always enabled I noticed. I never put an on/off switch for it. That explains why some people have this phantom TC1 at times.

Last edited by TheDarkWraith; 11-06-11 at 08:01 PM.
TheDarkWraith is offline   Reply With Quote
Old 11-06-11, 07:24 PM   #6
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

v6.9.0 test version 4 available here: http://www.gamefront.com/files/20968...ith_Test_4_zip

All the stipulations of the previous test versions apply.


v6.9.0 - (Real nav only) fixed bug of when destroyed mark was created a new nav fix was also created
- (Real nav only) all marks no longer show nautical time and GMT time. They show the time the digital clock mode is set to (Naut or GMT)
- (Real nav only) changing digital clock mode (Naut or GMT) will automatically update all marks with new timestamp
- Changing digital clock mode (Naut or GMT) will change the timestamps in the messagebox and the ship's journal
- Ship's journal current version is now v7
- While editing a mark the ability to switch clock mode (Naut or GMT) is disabled
- added a new user option. This user option will control the auto enabling of the charts and opening SOAN to identified unit upon WEPS-->Torpedo attack-->Ship identification order given. Default value is disabled (False) (AutoEnableChartsOpenSOANToIdentifiedUnit)
- added a new user option. This user option will control the enabling of the charts upon entering a scope station (attack, obs, or UZO). Default value is disabled (False) (AutoEnableChartsOnScopeStation)
- revised Ship's journal viewer app to new ship journal version (v7)
- revised TDWSOAN.DLL for support of new user option AutoEnableChartsOpenSOANToIdentifiedUnit
- (Real nav only) added more debug output at game start when all the marks are created to try and figure out why some users marks don't show until a kill is made
- added more debug output to SOAN to try and figure out why some users Additional info button on SOAN doesn't work
- fixed bugs in OptionsFileEditorViewer app relating to culture specifics
- added a new user option. This user option will control the disabling of the charts when leaving a scope station (attack, obs, or UZO). Default value is disabled (False) (AutoDisableChartsOnScopeStationLeave)
- fixed bug in Automation dealing with the loop command. Bug was when loop command was encountered it was setting the command index to 0 (start of commands) and setting the timer to command 0's wait time. Then when command 0 was executed the timer was set to command 0's wait time again. The fix for this has resulted in Automation's Wait command now being able to specify a t time. This fix also results in the Wait command being the ONLY command in Automation who's t time will be considered when it's the last command.
- fixed bug when an Automation command would 'request' weather info the script would stop
- added a new user option. This user option will have the watch officer report nearest visual contact (if surfaced) or sonarman report nearest sound contact (if submerged) when TCxOnContactDistanceEnabledTCLevel is triggered. Default value is disabled (False) (WatchOfficerCheckForContantsOnTCxSet)
- added the ability to enable/disable snorkel from the options editor/viewer app

TheDarkWraith is offline   Reply With Quote
Old 11-06-11, 08:03 PM   #7
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

I have this.
WatchOfficerCheckForContantsOnTCxSet = True#False
THE_MASK is offline   Reply With Quote
Old 11-06-11, 08:16 PM   #8
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by sober View Post
I have this.
WatchOfficerCheckForContantsOnTCxSet = True#False
I left my testing in. It's ok, that means it's enabled from the start for the test version. I'll update the mod though
TheDarkWraith is offline   Reply With Quote
Old 11-07-11, 05:28 PM   #9
Magic1111
Silent Hunter
 
Join Date: Sep 2008
Location: Germany - Sailing on U-96 in North Atlantic
Posts: 4,516
Downloads: 784
Uploads: 0


Quote:
Originally Posted by TheDarkWraith View Post
v6.9.0 test version 4 available here: http://www.gamefront.com/files/20968...ith_Test_4_zip
Hi TDW!

I´ve tested v6.9.0 test version 4 and for me all new features works perfect, no problems!

Best regards,
Magic
__________________
Magic1111 is offline   Reply With Quote
Old 11-07-11, 05:31 PM   #10
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Magic1111 View Post
Hi TDW!

I´ve tested v6.9.0 test version 4 and for me all new features works perfect, no problems!

Best regards,
Magic
Thanks for the feedback The new watchofficer thing is doing it's job? No more 'ghost' TC1s?
TheDarkWraith is offline   Reply With Quote
Old 11-08-11, 11:53 AM   #11
Claudius
Mate
 
Join Date: Aug 2004
Location: Rio Grande, Brazil
Posts: 57
Downloads: 35
Uploads: 0
Default

Is the first time that I will use v6.9.0 test version 4, can use right only the version beta? Do I follow instructions of the video version 3.0.0?


Would it be possible to create this MOD in form of executable facilitating the installation? It is a suggestion to help the beginners.

Congratulations for the dedication.
Claudius 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 10:06 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.