Recently I ran into a curious issue while developing my map, after creating applying custom tileset to my map, my minimap went completely black except for the water. It was black both in the editor and the game. Thinking it was just another issue I could fix by restarting the editor, I did so, and the editor had the minimap, however the game still showed as black. I was totally lost as to why this would issue would occur with just my custom tileset, as changing it back to the original tileset I had been using fixed the issue completely. Googleing the issue turned up some-what complicated solutions about deleting minimap.tga, and I just did not feel like getting into that, so I returned to the editor to see what I could come up with.
As it turned out a habit of mine, generating a new lightmap anytime it goes out of date, combined with a missing field entry in the editor was causing the issue. Closely examining the differences between my tileset, and the one I duplicated, I only expected to see a difference in the tile and reverb properties I had changed. However there was one key difference between the two tilesets: A property called "Lighting". This particular entry was blank in my tileset, but was set to 'Ulaan' in the other. Selecting a light, re-applying my custom tileset, and re-generating the light map, and my issue was solved.
I can only assume that the minimap data is generated using the light source selected in the tileset. As for the light map, I can't be certain that it was involved, altho I highly suspect it was.
The steps I used to fix this was:
Backup your map
Goto the custom tileset in the data editor
Scroll down until you see a drop-down list labeled "Lighting"
Select the type of lighting you wish to use
Save. After saving you should notice that your map lighting in the editor has changed. (For example changing it from Ulaan to Bel'shirSunset creates dramatically different hues)
In the terrain editor, open the menu "Data" and select "Generate Light Map..."
Save
Test you map
Tip for testing lights: Put the terrain window and the data editor window side by side and the lighting will automatically change in the terrain editor as you adjust it in the data editor. This makes it very easy to choose what type of lighting you want.
P.S. If your lighting in the terrain editor does not change after changing the lighting property in the data editor, save, exit, and reopen. I ran into this one a time or two.
Just to point it out - this is a bug that happens frequently if you open a map made with the editor of version X with an editor older than version X. Your problem might simply have been the fact that you hadn't updated your Starcraft.
Thanks for the problem plus solution though, be sure to come in handy.
I had a different problem than yours. I was attempting to override the minimap.tga reserved and my minimap turned into a 16x16 empty image. Desperate enough, I tried this method even though the problem wasn't the same and it worked 100%. Thank you so much!
Recently I ran into a curious issue while developing my map, after creating applying custom tileset to my map, my minimap went completely black except for the water. It was black both in the editor and the game. Thinking it was just another issue I could fix by restarting the editor, I did so, and the editor had the minimap, however the game still showed as black. I was totally lost as to why this would issue would occur with just my custom tileset, as changing it back to the original tileset I had been using fixed the issue completely. Googleing the issue turned up some-what complicated solutions about deleting minimap.tga, and I just did not feel like getting into that, so I returned to the editor to see what I could come up with.
As it turned out a habit of mine, generating a new lightmap anytime it goes out of date, combined with a missing field entry in the editor was causing the issue. Closely examining the differences between my tileset, and the one I duplicated, I only expected to see a difference in the tile and reverb properties I had changed. However there was one key difference between the two tilesets: A property called "Lighting". This particular entry was blank in my tileset, but was set to 'Ulaan' in the other. Selecting a light, re-applying my custom tileset, and re-generating the light map, and my issue was solved.
I can only assume that the minimap data is generated using the light source selected in the tileset. As for the light map, I can't be certain that it was involved, altho I highly suspect it was.
The steps I used to fix this was:
Tip for testing lights: Put the terrain window and the data editor window side by side and the lighting will automatically change in the terrain editor as you adjust it in the data editor. This makes it very easy to choose what type of lighting you want.
P.S. If your lighting in the terrain editor does not change after changing the lighting property in the data editor, save, exit, and reopen. I ran into this one a time or two.
Just to point it out - this is a bug that happens frequently if you open a map made with the editor of version X with an editor older than version X. Your problem might simply have been the fact that you hadn't updated your Starcraft.
Thanks for the problem plus solution though, be sure to come in handy.
Great, that worked! Thanks a lot.
This did not fix my issue.
@Nividica: Go
VERY helpful :)
Thank You!
I had a different problem than yours. I was attempting to override the minimap.tga reserved and my minimap turned into a 16x16 empty image. Desperate enough, I tried this method even though the problem wasn't the same and it worked 100%. Thank you so much!
+ invisible rep :)
@Stealthsam, @FockeWulf, @dingoo71 Glad to be of assistance :)