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 > Silent Hunter III
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 07-27-08, 06:09 AM   #1
Effigy
Gunner
 
Join Date: Jul 2008
Posts: 100
Downloads: 0
Uploads: 0
Default Rotate Hydrophones/Radar

In SHIV I'm able to rotate the hydrophone and radar bearings manually using my mouse wheel (and Home/End I think). Is there any way to make this work in SHIII? I've used SetKeys to examine the .cfg file for SHIV to see if there was any clue, but the fields for rotate sonar/radar are empty. Any ideas?
Effigy is offline   Reply With Quote
Old 07-27-08, 06:18 AM   #2
Jimbuna
Chief of the Boat
 
Jimbuna's Avatar
 
Join Date: Feb 2006
Location: 250 metres below the surface
Posts: 191,168
Downloads: 63
Uploads: 13


Default

I just point and click with the mouse on the display and it rotates fine for me.

I'm not 100% sure what your asking though :hmm:
__________________
Wise men speak because they have something to say; Fools because they have to say something.
Oh my God, not again!!

Jimbuna is offline   Reply With Quote
Old 07-27-08, 06:24 AM   #3
Effigy
Gunner
 
Join Date: Jul 2008
Posts: 100
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by jimbuna
I just point and click with the mouse on the display and it rotates fine for me.

I'm not 100% sure what your asking though :hmm:
Yeah, that's what I do now.

What I'm asking, is if there is any way to rotate them with the mouse wheel (in between the mouse buttons on my mouse). I'm able to rotate it clockwise and counter clockwise using just my mouse wheel in SHIV.
Effigy is offline   Reply With Quote
Old 07-27-08, 08:28 AM   #4
Jimbuna
Chief of the Boat
 
Jimbuna's Avatar
 
Join Date: Feb 2006
Location: 250 metres below the surface
Posts: 191,168
Downloads: 63
Uploads: 13


Default

Quote:
Originally Posted by Effigy
Quote:
Originally Posted by jimbuna
I just point and click with the mouse on the display and it rotates fine for me.

I'm not 100% sure what your asking though :hmm:
Yeah, that's what I do now.

What I'm asking, is if there is any way to rotate them with the mouse wheel (in between the mouse buttons on my mouse). I'm able to rotate it clockwise and counter clockwise using just my mouse wheel in SHIV.
Sorry, but I'm not aware of it.
__________________
Wise men speak because they have something to say; Fools because they have to say something.
Oh my God, not again!!

Jimbuna is offline   Reply With Quote
Old 07-27-08, 11:18 AM   #5
Hondo314
Bosun
 
Join Date: Mar 2005
Posts: 62
Downloads: 8
Uploads: 0
Default

Quote:
Originally Posted by Effigy
In SHIV I'm able to rotate the hydrophone and radar bearings manually using my mouse wheel (and Home/End I think). Is there any way to make this work in SHIII? I've used SetKeys to examine the .cfg file for SHIV to see if there was any clue, but the fields for rotate sonar/radar are empty. Any ideas?
When you say the fields are empty, do you mean there are variables that have not been assigned a value? If so, you could try and look for the variables in the code having to do with the UZO, periscope, binocs, or map since we know they respond to the mouse wheel, and copy those values to the empty variables in the sonar/radar code. If no variables exist that look like they serve that purpose, I guess you're SOL.
Hondo314 is offline   Reply With Quote
Old 07-27-08, 12:54 PM   #6
Effigy
Gunner
 
Join Date: Jul 2008
Posts: 100
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by Hondo314
When you say the fields are empty, do you mean there are variables that have not been assigned a value? If so, you could try and look for the variables in the code having to do with the UZO, periscope, binocs, or map since we know they respond to the mouse wheel, and copy those values to the empty variables in the sonar/radar code. If no variables exist that look like they serve that purpose, I guess you're SOL.
To your question: yes, that's what I meant. And thank you! Great idea, I hadn't even thought about looking there for the value I needed. Instead I was off in the SHIV folder looking in all the wrong places.

Just tried this, and I have partial success. Radar room works fine. I found the value for mouse wheel zoom, and copied it to all the different options: Rotate Radar, Rotate Sonar, Rotate Hydrophones.

Loaded up and went to the radar station. Works! Albeit, painstainkingly slowly. But I mainly wanted this for the hydrophones, since I just let radar sweep if I'm watching it in most cases.

On to the hydro... It started to work, but once I get near bearing 0 it goes funky. It slows down and jams. So from that point on I can only rotate it between approx. 358 and 3 degrees, lol. It'll only budge an inch either way until I leave the station and come back (where it'll move again, but does the same thing when the needle comes to or tries to pass 0)

However, I think I may know why it's going weird. Instead of putting the value on both rotate sonar and rotate hydrophones, I think just putting the value on one or the other should work. Seems like having the value in both is causing it to work against itself (since they're in the same station). That's what I'm hoping, anyway!

Thanks again. I'd never have thought to look for the value there, right under my nose. Will fiddle with this and post the value once I can confirm it works, just in case anyone else is interested.
Effigy is offline   Reply With Quote
Old 07-27-08, 02:06 PM   #7
Effigy
Gunner
 
Join Date: Jul 2008
Posts: 100
Downloads: 0
Uploads: 0
Working!

Played around with it a bit and have it working now, for anyone interested:

Find file Commands_en.cfg (or Command_xx.cfg for your language) in data/cfg, find the following commands and replace them with this (or just add the line in bold to the bottom of them)

[Cmd132]
Name=Sonar_rotate
Ctxt=1
Key0=0x05,R,"M.wheel"

[Cmd133]
Name=Radar_rotate
Ctxt=1
Key0=0x05,R,"M.wheel"




Against all reasonable logic... adding the value to Rotate_hydrophone was the issue mentioned previously (so leave that one alone). Even though you're adding this key value to the sonar field, technically -- it's actually enabling you to rotate the hydrophone needle/wheel with your mouse. Go figure. Makes no sense, but it works.

Thanks again.
Effigy is offline   Reply With Quote
Old 07-27-08, 03:16 PM   #8
Jimbuna
Chief of the Boat
 
Jimbuna's Avatar
 
Join Date: Feb 2006
Location: 250 metres below the surface
Posts: 191,168
Downloads: 63
Uploads: 13


Default

Excellent work mate.....very well done
__________________
Wise men speak because they have something to say; Fools because they have to say something.
Oh my God, not again!!

Jimbuna is offline   Reply With Quote
Old 07-27-08, 03:30 PM   #9
Chisum
Seasoned Skipper
 
Join Date: May 2007
Location: Bastogne, Belgium
Posts: 716
Downloads: 86
Uploads: 0
Default

Effigy, can you tell me it after this change, you still able to use the wheel mouse to zoom the map and also for the gun/FLAK ?

Same time I have an other little question: is somewhere a key(or an other way) to close the torpedos door ?
Sometimes I open the door but not fire and I can't close it.
Chisum is offline   Reply With Quote
Old 07-27-08, 03:34 PM   #10
Jimbuna
Chief of the Boat
 
Jimbuna's Avatar
 
Join Date: Feb 2006
Location: 250 metres below the surface
Posts: 191,168
Downloads: 63
Uploads: 13


Quote:
Originally Posted by Chisum
Effigy, can you tell me it after this change, you still able to use the wheel mouse to zoom the map and also for the gun/FLAK ?

Same time I have an other little question: is somewhere a key(or an other way) to close the torpedos door ?
Sometimes I open the door but not fire and I can't close it.
The 'W' key.
__________________
Wise men speak because they have something to say; Fools because they have to say something.
Oh my God, not again!!

Jimbuna is offline   Reply With Quote
Old 07-27-08, 03:56 PM   #11
Effigy
Gunner
 
Join Date: Jul 2008
Posts: 100
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by jimbuna
Excellent work mate.....very well done
Thank you.

Quote:
Originally Posted by Chisum
Effigy, can you tell me it after this change, you still able to use the wheel mouse to zoom the map and also for the gun/FLAK ?

Same time I have an other little question: is somewhere a key(or an other way) to close the torpedos door ?
Sometimes I open the door but not fire and I can't close it.
I unloaded a mod (because I can't zoom on scopes or gun anyway) and doublechecked this. Checked attack map, navigation map, attack periscope, observation periscope, binoculars, deck and flak guns - they all zoom just fine.

So it appears to not have caused any conflicts.

As to your second question, I believe the default keybind for closing the selected torpedo tube is W in SHIII. Though if that doesn't work for you, it's possible one of your mods may have altered the key. Lemme know if you need help setting it to something else.
Effigy is offline   Reply With Quote
Old 07-27-08, 03:57 PM   #12
Chisum
Seasoned Skipper
 
Join Date: May 2007
Location: Bastogne, Belgium
Posts: 716
Downloads: 86
Uploads: 0
Default

American keybord ?
Z for me I suppose ?
I gonna try it.

(Note just to tell it, I'm in real danger here...I have the Schnorchel key and the crash dive key side by side...
When pushing the time compressor it's very dangerous to use...)

Last edited by Chisum; 07-27-08 at 04:46 PM.
Chisum is offline   Reply With Quote
Old 07-27-08, 03:59 PM   #13
Effigy
Gunner
 
Join Date: Jul 2008
Posts: 100
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by Chisum
American keybord ?
Z for me I suppose ?
I gonna try it.

(Note just to tell it, I'm in real danger here...A have the Schnorchel key and the crash dive key side by side...
When pushing the time compressor it's very dangerous to use...)
Oh, diff keyboard? In that case just open up your cfg file and look for:

[Cmd311]
Name=Close_sel_torpedo_tube
Ctxt=1
MnID=0x3F130008
Key0=0x57,,"W" <----------

And see what that last line says, if anything.
Effigy is offline   Reply With Quote
Old 07-27-08, 04:52 PM   #14
Chisum
Seasoned Skipper
 
Join Date: May 2007
Location: Bastogne, Belgium
Posts: 716
Downloads: 86
Uploads: 0
Default

Quote:
Originally Posted by Effigy
Oh, diff keyboard? In that case just open up your cfg file and look for:

[Cmd311]
Name=Close_sel_torpedo_tube
Ctxt=1
MnID=0x3F130008
Key0=0x57,,"W" <----------

And see what that last line says, if anything.
Very interesting !

I have this:

[Cmd311]
Name=Close_sel_torpedo_tube
Ctxt=1
Key0=0x5A,,"Z"
MnID=0x3F130008

I try it soon.

Tell me: can I change the Crash Dive key(or Shnorchel key) and also, can I do it if I'm on sea ?

Many thanks 'cause it's very usefull !

PS: don't forget to tell us if you can again zoom whit your wheel mouse after changing to Hydrophone. Because in the cfg there is:

[Cmd73]
Name=Cam_wheel_zoom
Ctxt=1
Key0=0x05,R,"M.wheel"

What about after changing ?

EDIT: I change the crash dive like this:

[Cmd201]
Name=Crash_dive
Ctxt=1
MnID=0x3F230002
Str=1035
Key0=0x43,C,"CTRL+C"

And I change too rotate hydrophone to wheel mouse.
I go try now.

Last edited by Chisum; 07-27-08 at 05:16 PM.
Chisum is offline   Reply With Quote
Old 07-27-08, 05:45 PM   #15
Chisum
Seasoned Skipper
 
Join Date: May 2007
Location: Bastogne, Belgium
Posts: 716
Downloads: 86
Uploads: 0
Default

Hum...
2 trial on sea and 2 CTD...
Chisum is offline   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:51 PM.


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