Okay Blizzard took a look at my map and found the problem.
Apparently the game centers the camera based on the size of the world panel. I was hooking up that panel in my map and then setting it to size of parent (fullscreen basically) while it is actually supposed to be offset by -200.
So if anyone else is having this issue look for anything that might be modifying the size or offset of the world panel.
Well I feel like it must be related to some triggers I have in my map, as setting up a fresh arcade/custom map using the same map does not replicate the issue. I tried removing any action the involved cameras or UI but it didn't help. Maybe it is game variant related, which seems strange but I suppose it's possible.
I think that in the custom map the unit is centered on the screen, but in the melee map it is center in the visible ground/grid, accommodating for perspective.
So I am getting this strange bug in my map where, when someone hotkeys one of their bases (a hatchery in this example) and then tries to center their camera on that base by double clicking the hotkey, it goes to the base but is slightly off center of what it would be in a normal melee map. It's driving me insane. It may affect all units/buildings but it's easiest to demonstrate using the bases because of their relative location to minerals. I made an example gif.
So in this image you can see that in both games I have the hatchery set to '5', but when I double click 5 to center my camera on the hatchery in a normal melee game, it centers with all of the minerals visible. In my custom map it centers with the minerals partially cut off.
I have managed to eliminate the following as possible causes:
Arcade maps - In a basic arcade map with default settings this problem does not occur.
Camera changes - I disabled any instance of camera related triggers in my map and still had the problem.
Show/Hide UI - I disabled any instance of showing/hiding the ui and still had the problem.
Show/Hide Game World - I disabled any instance of showing/hiding the game world and still had the problem.
I cannot figure out what might be causing this issue. It happens on multiple maps as well. Any thoughts are greatly appreciated.
Okay Blizzard took a look at my map and found the problem.
Apparently the game centers the camera based on the size of the world panel. I was hooking up that panel in my map and then setting it to size of parent (fullscreen basically) while it is actually supposed to be offset by -200.
So if anyone else is having this issue look for anything that might be modifying the size or offset of the world panel.
I am using Liberty Mod, Liberty Multi Mod, and then three of my own mods. None of which should do anything with cameras.
Okay so I still haven't managed to find a fix for this. I spoke to Peepmode guy about it and he is having the same issue with no solution.
I tried setting the default options in the beginning and I still get it.
Well I feel like it must be related to some triggers I have in my map, as setting up a fresh arcade/custom map using the same map does not replicate the issue. I tried removing any action the involved cameras or UI but it didn't help. Maybe it is game variant related, which seems strange but I suppose it's possible.
I think that in the custom map the unit is centered on the screen, but in the melee map it is center in the visible ground/grid, accommodating for perspective.
So I am getting this strange bug in my map where, when someone hotkeys one of their bases (a hatchery in this example) and then tries to center their camera on that base by double clicking the hotkey, it goes to the base but is slightly off center of what it would be in a normal melee map. It's driving me insane. It may affect all units/buildings but it's easiest to demonstrate using the bases because of their relative location to minerals. I made an example gif.
So in this image you can see that in both games I have the hatchery set to '5', but when I double click 5 to center my camera on the hatchery in a normal melee game, it centers with all of the minerals visible. In my custom map it centers with the minerals partially cut off.
I have managed to eliminate the following as possible causes:
Arcade maps - In a basic arcade map with default settings this problem does not occur.
Camera changes - I disabled any instance of camera related triggers in my map and still had the problem.
Show/Hide UI - I disabled any instance of showing/hiding the ui and still had the problem.
Show/Hide Game World - I disabled any instance of showing/hiding the game world and still had the problem.
I cannot figure out what might be causing this issue. It happens on multiple maps as well. Any thoughts are greatly appreciated.