SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   Silent Hunter 5 (https://www.subsim.com/radioroom/forumdisplay.php?f=244)
-   -   map zoom (https://www.subsim.com/radioroom/showthread.php?t=177748)

RickC Sniper 12-06-10 08:47 PM

map zoom
 
Is it possible to zoom in and out on the nav and TAI map without a mousewheel?

I use a large trackball and it has no mousewheel so I need an alternate way to zoom in\out.

....thanks


p.s...........I use Darkwraith's alternate ui mod if that matters. (sh5 enhanced)

Obelix 12-06-10 09:50 PM

Quote:

Originally Posted by RickC Sniper (Post 1548209)
Is it possible to zoom in and out on the nav and TAI map without a mousewheel?

I use a large trackball and it has no mousewheel so I need an alternate way to zoom in\out.

....thanks


p.s...........I use Darkwraith's alternate ui mod if that matters. (sh5 enhanced)

If you use NewUIs_TDC_5_3_0_ByTheDarkWraith You can enable big navigation tools in the configuration file TheDarkWraithUserOptions.py MapToolsAsObjects = True.
In the navigation tools has a tool "Zoom". If you select this tool, then left-click the scale increases, with the right - is reduced.

RickC Sniper 12-07-10 03:43 PM

Thank you, I will give that a try.

RickC Sniper 12-07-10 04:10 PM

That works ok for the map albeit a bit clumsy but I also have no way that I'm aware of to zoom the attack scope.

Is it possible to remap zoom in\out to the - and = keys on the keyboard?

......thanks in advance

TheDarkWraith 12-07-10 04:14 PM

Quote:

Originally Posted by RickC Sniper (Post 1548742)
That works ok for the map albeit a bit clumsy but I also have no way that I'm aware of to zoom the attack scope.

Is it possible to remap zoom in\out to the - and = keys on the keyboard?

......thanks in advance

almost certain that if you give keys to the following (located in \data\Cfg\Commands.cfg):

[Cmd70]
Name=Cam_zoom_in
Contexts=1,11,15

[Cmd71]
Name=Cam_zoom_out
Contexts=1,11,15

You will achieve what you're wanting.

RickC Sniper 12-07-10 05:03 PM

[Cmd70]
Name=Cam_zoom_in
Contexts=1,11,15

[Cmd71]
Name=Cam_zoom_out
Contexts=1,11,15



What exactly would I need to add to those to map them to - and = ?

TheDarkWraith 12-07-10 06:46 PM

Quote:

Originally Posted by RickC Sniper (Post 1548817)
[Cmd70]
Name=Cam_zoom_in
Contexts=1,11,15

[Cmd71]
Name=Cam_zoom_out
Contexts=1,11,15



What exactly would I need to add to those to map them to - and = ?

Have you looked at the commands.cfg file yet?

looking at the enties in commands.cfg tells me you need:

[Cmd113]
Name=Toggle_Activate_Clock
Contexts=1,15
Key0=0x4F,,"O"



RickC Sniper 12-07-10 07:59 PM

I looked in the commands.fig yes, but I do not know what numbers are assigned to the - and = keys.

[Cmd70]
Name=Cam_zoom_in
Contexts=1,11,15
Key0=0x4F,,"-" <----this is wrong


4F refers to the "O" key, right? How do I find what to put in the place of 4F so it recognizes the - and then the = key?

TheDarkWraith 12-07-10 08:09 PM

Quote:

Originally Posted by RickC Sniper (Post 1548941)
I looked in the commands.fig yes, but I do not know what numbers are assigned to the - and = keys.

[Cmd70]
Name=Cam_zoom_in
Contexts=1,11,15
Key0=0x4F,,"-" <----this is wrong


4F refers to the "O" key, right? How do I find what to put in the place of 4F so it recognizes the - and then the = key?

in Win7 click Start-->All Programs-->Accessories-->System Tools-->Character map. Click on a symbol and at the bottom you'll see U + x. Use the x part only.

You can also google character maps.

RickC Sniper 12-07-10 08:10 PM

Wow, quick. Thank you very much!


All times are GMT -5. The time now is 10:26 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.