Now that I finally succeeded with setting up a custom minimap background image, I've got some annoying issues with scaling.
What I want:
I've got one Minimap.tga background image (see picture below on the left!). This will be my ingame Minimap (already works).
Now I want the background image (see picture below on the right) to perfectly fit around the minimap.tga.
It works perfectly in Photoshop, but ingame there is some weird scaling of the minimap, so the borders of the minimap picture don't fit the borders of the right picture (added with dialogs).
what I already tried:
Minimap.tga in resolutions of 256x256, 291x286, 395x327 in combination with various resolutions in the Minimap-Layout-File.
Someone got an idea or somebody knows how the minimap scaling works in general?
make the minimap larger then the minimappanel and position it as needed in the sc2layout files. Will take some tweaking, but when you have it positioned correctly it will fit.
normally you have a smaller object in a larger panel, but if you reverse it the edges that are larger then the panel will be cut off, thus resulting in a better fit.
thanks for your answer! It is damn good to know how to fit the minimap in size and therefore solves some part of my problem.
The only problem with that method is, that if I'm cutting off edges, the minimap will fit in size but not in pattern. Take my example picture. Assuming I make the minimap picture larger, I would have to know how much of the edges will be cut off, or otherwise the horizontal lines (wooden pattern) won't fit with the frame :(.
Do you know how much will be cut off? Or what is the default size/scale of the minimap picture? If I knew that, I possibly could calculate the required size of the image and the frame.
Alright - trial and error it is ;)! If I come up with something useful, I will paste the results in here...
EDIT: Finally I succeeded: Save the minimap as 236x228. minimap gets scaled to 291x286 ingame, so make the gap in the frame also 291x286 and it should fit perfectly ;).
Hello everyone,
Now that I finally succeeded with setting up a custom minimap background image, I've got some annoying issues with scaling. What I want:
I've got one Minimap.tga background image (see picture below on the left!). This will be my ingame Minimap (already works). Now I want the background image (see picture below on the right) to perfectly fit around the minimap.tga.
It works perfectly in Photoshop, but ingame there is some weird scaling of the minimap, so the borders of the minimap picture don't fit the borders of the right picture (added with dialogs).
what I already tried: Minimap.tga in resolutions of 256x256, 291x286, 395x327 in combination with various resolutions in the Minimap-Layout-File.
Someone got an idea or somebody knows how the minimap scaling works in general?
TheuSs
@MaNtEc0r: Go
make the minimap larger then the minimappanel and position it as needed in the sc2layout files. Will take some tweaking, but when you have it positioned correctly it will fit.
normally you have a smaller object in a larger panel, but if you reverse it the edges that are larger then the panel will be cut off, thus resulting in a better fit.
@Helral: Go
Hi Helral,
thanks for your answer! It is damn good to know how to fit the minimap in size and therefore solves some part of my problem. The only problem with that method is, that if I'm cutting off edges, the minimap will fit in size but not in pattern. Take my example picture. Assuming I make the minimap picture larger, I would have to know how much of the edges will be cut off, or otherwise the horizontal lines (wooden pattern) won't fit with the frame :(.
Do you know how much will be cut off? Or what is the default size/scale of the minimap picture? If I knew that, I possibly could calculate the required size of the image and the frame.
Greetings and thanks again -
TheusS
@MaNtEc0r: Go
You can by trial and error play around with it until it fits correctly. Got no better advice then this.
@Helral: Go
Alright - trial and error it is ;)! If I come up with something useful, I will paste the results in here...
EDIT: Finally I succeeded: Save the minimap as 236x228. minimap gets scaled to 291x286 ingame, so make the gap in the frame also 291x286 and it should fit perfectly ;).