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: 190,500
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: 190,500
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: 190,500
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, 07:42 PM   #10
von Zelda
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Effigy
Played around with it a bit and have it working now, for anyone interested:
I'm gonna try your mod!

Excluding zooming in or out on the maps, scope, uzo, binoculars, gun sights; I have never used the "mouse wheel" anywhere else in the game.

Can you name any other areas, which the "mouse wheel" controls or operates during the game?
  Reply With Quote
Old 07-27-08, 08:02 PM   #11
Effigy
Gunner
 
Join Date: Jul 2008
Posts: 100
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by von Zelda
Quote:
Originally Posted by Effigy
Played around with it a bit and have it working now, for anyone interested:
I'm gonna try your mod!

Excluding zooming in or out on the maps, scope, uzo, binoculars, gun sights; I have never used the "mouse wheel" anywhere else in the game.

Can you name any other areas, which the "mouse wheel" controls or operates during the game?
Glad you'll give it a try, and I hope it works for you!

And good question. Off the top of my head I can't think of any other places I've used the mouse wheel, besides the already mentioned. :hmm:

In theory, I wonder if it could be applied to raising/lowering the periscopes instead of the Pageup/down/insert/delete keys. It possibly could, if there's a toggle perisope (as opposed to two seperate keymaps for up/down, in which case I wouldn't have a clue how to set the axis for rolling the wheel up = scope up, rolling it down = scope down) Eh, not really sure. I don't know much about this stuff at all, and am kind of just experimenting with tweaking SH as I run into things I wish I could change.

So no, I can't really name any other areas where the wheel is already used to my recollection. But I 'spose there could be a few places here and there where it could come in handy.

As an aside, and while I've been playing with these setkeys, I tried to map the calculator button on my keyboard to the weapon officer's "Solution to Target." :rotfl: I never use the button to open windows calculator, and I thought it'd be a funny way to grab myself a solution when I'm asking for the WO's help while I'm learning full manual. Unfortunately, I couldn't get that to work. Even though the key was recognized in setkeys, when I tried to save it gave me an error. Typing it manually into the .cfg had no result either.

Too bad, Haha. Would have been neat.
Effigy 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 04:28 AM.


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.