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-07-10, 10:07 AM   #1
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

In stock is implemented "lock the target", what about "lock/center the periscope view on target"?

One thing about speed calculation for new notepad for torpedo calculator...
Can you read bearing of target when measurement is start and stop?
__________________

PL_Andrev is offline   Reply With Quote
Old 05-07-10, 10:36 AM   #2
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Antar View Post
In stock is implemented "lock the target", what about "lock/center the periscope view on target"?

One thing about speed calculation for new notepad for torpedo calculator...
Can you read bearing of target when measurement is start and stop?

there is a feature call follow target...look for the key in the options file.

Yes I can read bearing of target.
TheDarkWraith is offline   Reply With Quote
Old 05-07-10, 10:56 AM   #3
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith
Yes I can read bearing of target.
So what is the problem with speed calculation for notepad?
read 1st value , read 2nd value, read time, calculate them in math formula and show the result...
Do you need math formula for it?
__________________

PL_Andrev is offline   Reply With Quote
Old 05-07-10, 11:02 AM   #4
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Antar View Post
So what is the problem with speed calculation for notepad?
read 1st value , read 2nd value, read time, calculate them in math formula and show the result...
Do you need math formula for it?
if you can give the formula for how to calculate the speed I can try and implement it.
TheDarkWraith is offline   Reply With Quote
Old 05-07-10, 11:03 AM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

change log for v2.2.0 as of now:

v2.2.0 - redid the draggable compasses so that the inner ring is bigger and the outer rotatable ring is closer to the inner ring for better readings.
- added a new user option that allows you to specify the TC level above which the clock will not appear (it will stay hidden) (AboveThisTCLevelDoNotShowClock)
- added new dial to TDC. This dial is a Mast height dial. This has to be set to the mast height of the selected contact before taking your range readings if you want accurate range readings (overcomes stock bug of mast always being set to 20m).
- removed hard coding of contact spotted/locked spotted and associated items for TAI and nav map. They now reference strings in the menu.txt file so that they can be translated to different languages.
- added new user option that allows the end user to specify the depth below which the sub does not receive radio messages/contacts. Your current sub depth has to be greater than the depth chosen to not receive radio (BelowThisDepthDontReceiveRadio)

have to add one more thing and then that'll wrap up v2.2.0: add a user option that specifies the distance that they can receive radio reports. If the radio report is > this distance then they don't receive the radio report. Might add + - controls to top right bar for this also.
TheDarkWraith is offline   Reply With Quote
Old 05-07-10, 11:31 AM   #6
Krauter
Ocean Warrior
 
Join Date: Aug 2007
Location: Montreal, Canada
Posts: 2,870
Downloads: 102
Uploads: 1
Default

Sorry to sound noobish..

But where do I find where to alter User Options?

For some reason when I hover my mouse over one of the officer options or anything for a tool tip the explanation doesn't come up..
__________________
Quote:
The U.S almost went to war over some missles in Cuba... Thank god the X-Men were there to save us right?
Krauter is offline   Reply With Quote
Old 05-07-10, 11:40 AM   #7
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by Krauter View Post
Sorry to sound noobish..

But where do I find where to alter User Options?

For some reason when I hover my mouse over one of the officer options or anything for a tool tip the explanation doesn't come up..
data\Scripts\Menu\TheDarkWraithUserOptions.py
You can open it with Notepad.exe (windows notepad)
TheDarkWraith is offline   Reply With Quote
Old 05-07-10, 01:01 PM   #8
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
change log for v2.2.0 as of now:

v2.2.0
- removed hard coding of contact spotted/locked spotted and associated items for TAI and nav map. They now reference strings in the menu.txt file so that they can be translated to different languages.

You're great, man!
Tell me, is it possible to do something similar for multiplayer missions?
Briefings (for me) are "hard coded" and is impossible to put special non-english characters for text like: ö ů ç ś č ø and other non-latin letters...
__________________

PL_Andrev is offline   Reply With Quote
Old 05-07-10, 05:05 PM   #9
dougandtoni
Mate
 
Join Date: Apr 2005
Location: New Zealand
Posts: 58
Downloads: 60
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
there is a feature call follow target...look for the key in the options file.

Yes I can read bearing of target.
Hi. How do i asign a key to a feature in the options file.What i am looking for is if i am heading to a target in my periscope at 0% and then do a sharp turn i would like my periscope to stay locked onto the target. Is this possible
dougandtoni is offline   Reply With Quote
Old 05-07-10, 05:15 PM   #10
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by dougandtoni View Post
Hi. How do i asign a key to a feature in the options file.What i am looking for is if i am heading to a target in my periscope at 0% and then do a sharp turn i would like my periscope to stay locked onto the target. Is this possible
read the options file. It is documented and tells you everything you need to know. Open it up with windows notepad. There is a default key already setup for that (and that feature is called follow target)
TheDarkWraith is offline   Reply With Quote
Old 05-07-10, 05:16 PM   #11
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 888
Uploads: 23


Default

Quote:
Originally Posted by dougandtoni View Post
Hi. How do i asign a key to a feature in the options file.What i am looking for is if i am heading to a target in my periscope at 0% and then do a sharp turn i would like my periscope to stay locked onto the target. Is this possible
Use NOTEPAD to edit the data\Scripts\Menu\TheDarkWraithUserOptions.py file.
Search for FollowSelectedTargetHotKey = [ True, MenuKeyManagerWrapper.Keys.X ]
Change the X to the key you want to use.
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire
TheBeast is offline   Reply With Quote
Old 05-07-10, 07:02 PM   #12
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

updated v2.2.0 change log:

v2.2.0 - redid the draggable compasses so that the inner ring is bigger and the outer rotatable ring is closer to the inner ring for better readings.
- added a new user option that allows you to specify the TC level above which the clock will not appear (it will stay hidden). The behavior can be overridden if the user manually toggles the clock on (AboveThisTCLevelDoNotShowClock)
- added new dial to TDC. This dial is a Mast height dial. This has to be set to the mast height of the selected contact before taking your range readings if you want accurate range readings (overcomes stock bug of mast always being set to 20m).
- removed hard coding of contact spotted/locked spotted and associated items for TAI and nav map. They now reference strings in the menu.txt file so that they can be translated to different languages.
- added new user option that allows the end user to specify the depth below which the sub does not receive radio messages/contacts. Your current sub depth has to be greater than the depth chosen to not receive radio (BelowThisDepthDontReceiveRadio)
- added new user option that allows the end user to specify the max range from their sub that they can receive radio contact reports. If TC1OnNewRadioNavMapContact is enabled and the contact is less than the distance specified then TC will be set to 1. If outside the range then TC remains at current value (MaxRadioContactRange)


will be trying to implement speed determination into notepads of UZO, attack, and obs tomorrow
Antar gave me formulas from SH3 and SH4

Last edited by TheDarkWraith; 05-07-10 at 08:12 PM. Reason: `1
TheDarkWraith is offline   Reply With Quote
Old 05-08-10, 02:00 AM   #13
PL_Andrev
Grey Wolf
 
Join Date: Feb 2009
Posts: 995
Downloads: 91
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
will be trying to implement speed determination into notepads of UZO, attack, and obs tomorrow
Antar gave me formulas from SH3 and SH4
Check the result of SIN(30).
If the result is 0.5 then main unit is degree, if not - radian.
For radians you should recalculate degrees for radians first:
http://en.wikipedia.org/wiki/Radian#Conversions

Second thing:
If for SH3 you have result smaller than zero it is correct - the player mistakes for general direction of target course, fe. put AoB "at left" but the target move "at right".
__________________


Last edited by PL_Andrev; 05-08-10 at 02:20 AM.
PL_Andrev is offline   Reply With Quote
Old 05-08-10, 04:57 PM   #14
dougandtoni
Mate
 
Join Date: Apr 2005
Location: New Zealand
Posts: 58
Downloads: 60
Uploads: 0
Default

Quote:
Originally Posted by TheBeast View Post
Use NOTEPAD to edit the data\Scripts\Menu\TheDarkWraithUserOptions.py file.
Search for FollowSelectedTargetHotKey = [ True, MenuKeyManagerWrapper.Keys.X ]
Change the X to the key you want to use.
Awesome.
dougandtoni is offline   Reply With Quote
Old 05-08-10, 06:57 PM   #15
Defiance
Grey Wolf
 
Join Date: Apr 2005
Location: UK
Posts: 906
Downloads: 673
Uploads: 0
Default

Hiya,
Thanks Sonarman, got it working

Will read the tut tomorrow, beds calling my name lol

Cheers

__________________
Have Fun

Bye

Def
Defiance 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 05:47 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.