Jump to content

Unusual 1.06 Editor Graphics glitch


Recommended Posts

When I upgraded to 1.06 and imported my scenario I noticed that a number of my modded flags now had a white box surrounding them (See pic of Don Cossack HQ). I tried to eliminate this by using paint but it did not work. Usually, if I used the copy feature in paint to pick up an established "transparent" pixel, I could simply repaint the questioned area around the flag to make it transparent again. But now this is not working. I can paint the box different colors and the changes are shown, but I cannot eliminate the box.

I also noticed that the 1.06 bitmaps for the vanilla game now have a pink background instead of white. Does this have any significance to my problem?

image002ak1.th.jpg

Link to comment
Share on other sites

I haven't checked any graphics yet but if the background colour has changed then this will indeed be a problem. Look at the RGB values of the vanilla graphics background and transfer the exact same colour to the background of your alterred sprites. This will make 'the box' disappear.

No idea why background colours have been changed though! I will have to investigate when I get home tonight.

Link to comment
Share on other sites

Jp Wagner,

A change that was made for Vista compatibility was to have the code look for whatever color is at pixel (0,0) the upper left hand corner of the bitmap and use it as the transparent background color.

In doing so there was one issue with the 'flag_sprites_mirrored.bmp' as the pixel at (0,0) is not the desired transparent color but rather a pixel from the pole holding the flag. If you edit the pixel at (0,0) to be the same as the white background color this should resolve the issue on your end.

Link to comment
Share on other sites

Moonslayer, the change was made to pink, as the new code allowed me to use whatever color I needed, and pink has always been the desired color as it is much easier to see what will be transparent in game especially when using other white colors for sprites etc.

Problem is it looks like the pink color is not liked on a few systems out there but switching it back to white seems to have resolved the issue.

We are running a few more tests and if it looks like this is the final solution then I will be making a post to MODDERS to not use anything but white as there could be problems for those few users of the game.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...