Create account / Log in

Why so few modules with zoom hotkeys?

Topics related to the main Vassal engine.

Moderators: uckelman, Tim M

Why so few modules with zoom hotkeys?

Postby ridcully » June 20th, 2020, 9:10 am

I've gotten quite used to Vassal now and have gotten a few games under my belt. However one thing I find quite puzzling- why do so few modules not have zoom hotkeys? To me zooming in and out is a vital part of the Vassal experience. Zoom out to get the "big picture" or zoom in to better read small text on cards/ counters, or even just to admire the artwork.

Thankfully not every module has this omission, but I still find why such a basic function isn't more widely used.
ridcully
 
Posts: 4
Joined: March 16th, 2018, 12:15 pm

Re: Why so few modules with zoom hotkeys?

Postby slimy » June 20th, 2020, 10:26 am

When you add Zoom capability to a window, it does not set hot keys. The editor has to put them in.
slimy
 
Posts: 172
Joined: March 27th, 2020, 9:03 am

Re: Why so few modules with zoom hotkeys?

Postby Jardic » June 28th, 2020, 11:43 am

If you want to add hot keys to your own personalized version of a module it should be easy to do.
If you ENSURE your hot key is unique to any other in the module. just add the keys to your version module.
It should work fine and be transparent to the other players, since zoom only effects your view..

Did I say the hotkey you select MUST be UNIQUE from any other key commands. the command will get sent to everyone playing. But if it does nothing on their end no problem.

open the module in the editor go to the "map" you want to have the feature.
"Map" can also be a chart that has a zoom feature.
select "Zoom capability"
type in your hot keys
you will have to do this for each "map" the 3 commands can be the same on all the maps.
click 'OK'
save the module. I suggest save with new variation of the module name.

Test and make sure the module doesn't blow up, your or opponents game.
Attachments
zzZoom.png
zoom commands
zzZoom.png (125.2 KiB) Viewed 5013 times
User avatar
Jardic
 
Posts: 56
Joined: March 29th, 2018, 6:00 pm
Location: Phoenix Az

Re: Why so few modules with zoom hotkeys?

Postby BigAL » April 15th, 2021, 10:11 am

If I change a module and add hotkeys for the zoom function, do the other players need my saved module in order to play against me?
BigAL
 
Posts: 2
Joined: March 3rd, 2019, 5:26 pm

Re: Why so few modules with zoom hotkeys?

Postby marktb1961 » April 16th, 2021, 8:56 am

BigAL wrote:If I change a module and add hotkeys for the zoom function, do the other players need my saved module in order to play against me?


No.
Platform: Vassal 3.5.5, MacOS Big Sur on iMac (27", mid-2020)
User avatar
marktb1961
 
Posts: 564
Joined: October 4th, 2018, 2:36 pm
Location: Liverpool, England

Re: Why so few modules with zoom hotkeys?

Postby marktb1961 » April 16th, 2021, 9:08 am

Jardic wrote:Did I say the hotkey you select MUST be UNIQUE from any other key commands. the command will get sent to everyone playing. But if it does nothing on their end no problem.


I'm not an expert but based I what I know, whilst the first statement is correct, the HotKey Command itself does not get sent to other players. What gets sent is the changes to the game state. In the case of map zoom, there is no change, so nothing will get sent.
Platform: Vassal 3.5.5, MacOS Big Sur on iMac (27", mid-2020)
User avatar
marktb1961
 
Posts: 564
Joined: October 4th, 2018, 2:36 pm
Location: Liverpool, England

Re: Why so few modules with zoom hotkeys?

Postby Cattlesquat » April 18th, 2021, 4:01 pm

You can safely add your own zoom hotkeys (and even extra zoom levels) to any module, and it won't disrupt the module for multiplayer play (because zoom levels only relate to display, not to "game state").

Note that if the module gets upgraded and you download the new version, you will of course need to add your keys back in manually (but if your module is being actively maintained, consider emailing the maintainer and see if they'll add them in for good!)

Brian
User avatar
Cattlesquat
 
Posts: 1117
Joined: December 2nd, 2019, 4:57 pm
Location: Baltimore, Maryland, USA


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests