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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 04-10-07, 10:10 AM   #1
ottos
Mate
 
Join Date: May 2005
Posts: 57
Downloads: 63
Uploads: 0
Default [REL] Input Target Distance on TBT (ready for 1.2patch)

--Clickable target distance dial--
Hi all,
Wanna directly move TARGET DISTANCE DIAL instead of TAGET MAST HEIGHT DIAL on the attack data tool?
I found the way, its piece of cake.

Open the file \Data\Menu\cfg\Dials.cfg
Just only add or delete semicolon at each top of 4 lines and change 1 value,
OR copy and paste following description
--------------------------------------------------------------------------------
[Dial58]
; will be changed by code
Name=TorpedoSolution_Mast_Height
Type=70; DIAL_TGT_MAST_HEIGHT_INTERNATIONAL
;Cmd=Set_tgt_mast_height_international; <--- add semicolon
Dial=0x431A0002
CrtVal=0x431A0001
NewVal=0x0
DialVal=-90,98
RealVal=15,130; height
Circular=Yes
;CmdOnDrag=Yes; <--- add semicolon
Logarithmic=7.189;4.656
;RelativeDrag=Yes
;SndStep=5
;SndList=1,Menu.TDC.AngleOnBow,360
[Dial59]
; will be changed by code
Name=TorpedoSolution_Temporary_Range
Type=68; DIAL_TGT_RANGE
Cmd=Set_tgt_sel_value; <--- delete semicolon
Dial=0x431A0001
CrtVal=0x431A0003
NewVal=0x0
;DialVal=10,0 <--- add semicolon
DialVal=17,0 <--- change value (*)
RealVal=11000,220; range
Circular=Yes
CmdOnDrag=Yes; <--- delete semicolon
Logarithmic=-0.98;51.0
RelativeDrag=Yes <---delete semicolon (edit:fix for mouse point problem)
;SndStep=5
;SndList=1,Menu.TDC.AngleOnBow,360
--------------------------------------------------------------------------------
That's all!

JSGME compliant file (for patch1.2)
http://rapidshare.com/files/26509790...forPatch12_.7z

note:
*I have measured the degree. but if you feel complaint about the result (=distance value), please adjust DialVal from15to20.
*Check mark of RECmanual (TAGET MAST HEIGHT) funcion normally, dont worry about it.
*If you install any mod using Dials.cfg already. Please edit the file by yourself.
*Any modders can use or arrange this method without my permission, if you want.

cheers,
sorry for my poor English.


(edit)
I notice that mouse point problem can solve with delete semicolon at above PINK colour line.
So I have replaced the DL file..

Last edited by ottos; 04-17-07 at 01:22 PM.
ottos is offline   Reply With Quote
Old 04-10-07, 04:58 PM   #2
Jungman
Samurai Navy
 
Join Date: Apr 2005
Location: Iowa, USA
Posts: 596
Downloads: 0
Uploads: 0
Default

Nice find! When doing a true manual TDC, it was frustrating not being able to input directly the range data for a ship beyond ~1500 yards without dancing around the frigging must lock a ship stadimeter work around.

Thank you!
Jungman is offline   Reply With Quote
Old 04-10-07, 06:01 PM   #3
Jace11
Seasoned Skipper
 
Join Date: Mar 2005
Location: UK
Posts: 683
Downloads: 104
Uploads: 1
Default

Superb!!! Just made a submerged attack using the periscope to point to bearing, the sonar to estimate range and the manual dialing to send the range to the TDC.

It works, I hit em!!! One at very long range!!
Jace11 is offline   Reply With Quote
Old 04-17-07, 01:24 PM   #4
ottos
Mate
 
Join Date: May 2005
Posts: 57
Downloads: 63
Uploads: 0
Default redy for 1.2 patch

Dials.cfg file has be changed by 1.2 patch, but editing part of this MOD is not change.
Thus I only replace DLfile link, and leave ReadmeFile and topic description as it is.

http://rapidshare.com/files/26509790...forPatch12_.7z

Cheers,
ottos is offline   Reply With Quote
Old 04-07-08, 09:30 AM   #5
Fincuan
Admiral
 
Join Date: Aug 2007
Location: Suomi, sauna, puukko, perkele
Posts: 2,346
Downloads: 39
Uploads: 0
Default

Here's a JSGME-ready version of the above mod. It also uses Jimimadrid's excellent JTxE for installation. It should work with any other mod on any version of SH4.

Installation instructions:
  1. Unrar to your MODS-folder
  2. Enable in JSGME
  3. Run JTxE.exe from your SH4 root folder and enable the mod

Uninstallation is done in reversed order, ie. first disable it from JTxE


Download here

Last edited by Fincuan; 01-22-09 at 10:47 AM.
Fincuan is offline   Reply With Quote
Old 04-07-08, 09:45 AM   #6
M. Sarsfield
Ace of the Deep
 
Join Date: Aug 2007
Location: Tulsa, OK
Posts: 1,016
Downloads: 0
Uploads: 0
Default

Can the range still be inputted using the stadimeter with this mod or is it strictly manual range inputs, now?
__________________
MJS
USS Batfish Volunteer/Reenactor
www.ss310.com
www.ussbatfish.com



Communism killed over 100M people and all that I got was this lousy signature.*

*http://www.hawaii.edu/powerkills/COM.ART.HTM
M. Sarsfield is offline   Reply With Quote
Old 04-07-08, 09:48 AM   #7
Fincuan
Admiral
 
Join Date: Aug 2007
Location: Suomi, sauna, puukko, perkele
Posts: 2,346
Downloads: 39
Uploads: 0
Default

Stadimeter still works as before
Fincuan is offline   Reply With Quote
Old 04-07-08, 02:29 PM   #8
Nuc
Planesman
 
Join Date: Apr 2007
Location: Connecticut, USA
Posts: 180
Downloads: 100
Uploads: 0
Default

Great fix I have had several situations where I wnated to do this. thanks
__________________
Good ideas are not adopted automatically. They must be driven into practice with courageous patience.
Admiral Hyman Rickover (1900 - 1986)
Nuc is offline   Reply With Quote
Old 04-07-08, 03:19 PM   #9
capt_frank
Watch Officer
 
Join Date: Mar 2005
Location: In the North Carolina Sticks
Posts: 335
Downloads: 0
Uploads: 0
Default

If I wanted to do this manually, would I edit the Data\Menu\cfg\Dials.cfg file as illustrated in the initial post?
capt_frank is offline   Reply With Quote
Old 04-07-08, 03:40 PM   #10
Fincuan
Admiral
 
Join Date: Aug 2007
Location: Suomi, sauna, puukko, perkele
Posts: 2,346
Downloads: 39
Uploads: 0
Default

Quote:
Originally Posted by capt_frank
If I wanted to do this manually, would I edit the Data\Menu\cfg\Dials.cfg file as illustrated in the initial post?
Yep, just follow ottos' instructions and you'll be fine. Even though it says 1.2 it works fine in both 1.4 and 1.5 if you do it manually or use JTxE.
Fincuan is offline   Reply With Quote
Old 04-07-08, 04:38 PM   #11
capt_frank
Watch Officer
 
Join Date: Mar 2005
Location: In the North Carolina Sticks
Posts: 335
Downloads: 0
Uploads: 0
Default

Great, thanks!!
capt_frank is offline   Reply With Quote
Old 04-07-08, 05:22 PM   #12
Munchausen
Commodore
 
Join Date: Jul 2002
Posts: 608
Downloads: 25
Uploads: 1
I tried the mod and found that the index marker was stuck in one position on the mast height dial. So I fiddled with the settings in both sections (Dial58/59) without much luck until I finally decided to see what happens if I enabled both. Turns out it can be done.

This is what I did:
Quote:

[Dial58]
; will be changed by code
Name=TorpedoSolution_Mast_Height
Type=70; DIAL_TGT_MAST_HEIGHT_INTERNATIONAL
Cmd=Set_tgt_mast_height_international; <--- did not disable
Dial=0x431A0002
CrtVal=0x431A0001
NewVal=0x0
DialVal=-90,98
RealVal=15,130; height
Circular=Yes
CmdOnDrag=Yes; <--- did not disable
Logarithmic=7.189;4.656
RelativeDrag=Yes; <--- enabled
;SndStep=5
;SndList=1,Menu.TDC.AngleOnBow,360

[Dial59]
; will be changed by code
Name=TorpedoSolution_Temporary_Range
Type=68; DIAL_TGT_RANGE
Cmd=Set_tgt_sel_value; <--- delete semicolon (did this)
Dial=0x431A0001
CrtVal=0x431A0003
NewVal=0x0
;DialVal=10,0 <--- add semicolon (didn’t do this)
DialVal=17,0 <--- change value (maybe ... depends on how you eyeball it, I guess)

RealVal=11000,220; range
Circular=Yes
CmdOnDrag=Yes; <--- delete semicolon (did this)
Logarithmic=-0.98;51.0
RelativeDrag=Yes <---delete semicolon (did this ... makes a big difference)
;SndStep=5
;SndList=1,Menu.TDC.AngleOnBow,360
Now, I can input any range to the TDC and also adjust the mast height by doing this:
  • Drag index marker (outer dial) full left.
  • Rotate inner dial counter-clockwise to desired range.
  • Send range to the TDC.
Enabling “RelativeDrag” makes it possible to manipulate the two dials accurately. Also, the stadimeter still works ... and I feel like I’m using it as intended: measuring mast height.

Thanks for pointing me in the right direction.
Munchausen is offline   Reply With Quote
Old 04-20-08, 07:52 PM   #13
Mav87th
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Could some of you post the original values for those two sections ?

I have lost my original dials.cfg file and can not make it work. Neither the new modification nor the original that lets you slide the mast head height

Here is my settings now:

[Dial58]
; will be changed by code
Name=TorpedoSolution_Mast_Height
Type=70; DIAL_TGT_MAST_HEIGHT_INTERNATIONAL
Cmd=Set_tgt_mast_height_international;
Dial=0x431A0002
CrtVal=0x431A0001
NewVal=0x0
DialVal=-90,98
RealVal=15,130; height
Circular=Yes
CmdOnDrag=Yes
Logarithmic=7.189;4.656
;RelativeDrag=Yes
;SndStep=5
;SndList=1,Menu.TDC.AngleOnBow,360


[Dial59]
; will be changed by code
Name=TorpedoSolution_Temporary_Range
Type=68; DIAL_TGT_RANGE
;Cmd=Set_tgt_sel_value;
Dial=0x431A0001
CrtVal=0x431A0003
NewVal=0x0
DialVal=10,0
RealVal=11000,220; range
Circular=Yes
;CmdOnDrag=Yes
Logarithmic=-0.98;51.0
;RelativeDrag=Yes
;SndStep=5
;SndList=1,Menu.TDC.AngleOnBow,360
  Reply With Quote
Old 04-20-08, 08:35 PM   #14
tedhealy
Grey Wolf
 
Join Date: Mar 2005
Location: St. Louis, MO, USA
Posts: 772
Downloads: 13
Uploads: 0
Default

[Dial58]
; will be changed by code
Name=TorpedoSolution_Mast_Height
Type=70; DIAL_TGT_MAST_HEIGHT_INTERNATIONAL
Cmd=Set_tgt_mast_height_international;
Dial=0x431A0002
CrtVal=0x431A0001
NewVal=0x0
DialVal=-90,98
RealVal=15,130; height
Circular=Yes
CmdOnDrag=Yes
Logarithmic=7.189;4.656
;RelativeDrag=Yes
;SndStep=5
;SndList=1,Menu.TDC.AngleOnBow,360

[Dial59]
; will be changed by code
Name=TorpedoSolution_Temporary_Range
Type=68; DIAL_TGT_RANGE
;Cmd=Set_tgt_sel_value;
Dial=0x431A0001
CrtVal=0x431A0003
NewVal=0x0
DialVal=10,0
RealVal=11000,220; range
Circular=Yes
;CmdOnDrag=Yes
Logarithmic=-0.98;51.0
;RelativeDrag=Yes
;SndStep=5
;SndList=1,Menu.TDC.AngleOnBow,360
tedhealy is offline   Reply With Quote
Old 04-21-08, 03:50 AM   #15
Mav87th
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Now THAT is strange. I have the correct Dial settings, but still can not turn the mast height indicator at all. Its stuck at 64 somehow.....
  Reply With Quote
Reply


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 02:31 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.