Players are constantly having to type -zoom out, because periodically, a person's mouse settings might accidentally zoom them in on my map.
It's getting tiresome to constantly have to type -zoom out.
I would like to lock the camera height of my map but no matter what settings I change in default camera, it doesn't work. I've also tried making a copy of default camera, setting all the zoom levels to the same and then going into the terran types and making every terrain type use my camera. But I can't find my camera in triggers to use and nor does this seem to have any effect in default camera.
Yes, all 3 of those fields have been set to essentially the same levels.
I set the angle max and min at 56 and the distance at 60 max and min for everything.
Even set all the zoom levels to the same.
It doesn't seem to effect anything in the game, no matter what I change.
According to my changes, it should prevent a user from even adjusting their camera, yet the zoom still works like default and it doesn't start at distance 60. It continues to start at 32 or whatever the default zoom is.
They do have an effect, but first you have to use the trigger to enable them.
Use the function
Camera - Set (Your custom camera) Camera as the active camera data for All Players
Simply run that function at map initialization and your problem is solved. You can designate whatever custom camera you want to use. But you can't simply just change the data. This function initializes the custom camera.
Players are constantly having to type -zoom out, because periodically, a person's mouse settings might accidentally zoom them in on my map.
It's getting tiresome to constantly have to type -zoom out.
I would like to lock the camera height of my map but no matter what settings I change in default camera, it doesn't work. I've also tried making a copy of default camera, setting all the zoom levels to the same and then going into the terran types and making every terrain type use my camera. But I can't find my camera in triggers to use and nor does this seem to have any effect in default camera.
Someone please help!
So you adjusted the UI: Angle of Attack Maximum/Minimum, UI: Distance Maximum/Minimum and UI: Zoom Levels - Parameters - Value fields?
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Yes, all 3 of those fields have been set to essentially the same levels.
I set the angle max and min at 56 and the distance at 60 max and min for everything.
Even set all the zoom levels to the same.
It doesn't seem to effect anything in the game, no matter what I change.
According to my changes, it should prevent a user from even adjusting their camera, yet the zoom still works like default and it doesn't start at distance 60. It continues to start at 32 or whatever the default zoom is.
There is a function called, Set Camera Data. This has solved my problem.
Strange that those data fields had no noticeable effect.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
They do have an effect, but first you have to use the trigger to enable them.
Use the function
Camera - Set (Your custom camera) Camera as the active camera data for All Players
Simply run that function at map initialization and your problem is solved. You can designate whatever custom camera you want to use. But you can't simply just change the data. This function initializes the custom camera.