Page 1 of 1

Sleeve number problem

Posted: Sat Nov 17, 2007 5:15 pm
by BigSmooth
Since version 2.0 came out, I've noticed that my sleeve numbers now have the pink fuzz around them. I did not notice that in the previous versions. I think it happens because the U9 template is stretched from the mapping on the sleeve. Does anyone else have this problem and more importantly, come up with a way to fix this?

RE: Sleeve number problem

Posted: Sat Nov 17, 2007 8:08 pm
by David Winter
If you have custom uniforms that need a sleeve number you probably need to add a U9.bmp file. It's the same ratio and layout as the U7.bmp, but the size is 256*32. That should remove the magenta/pink colour. If you don't have a U9.bmp file the game will use the U7 one in stead, and you're right, when it's stretched, you might see the aliasing.

RE: Sleeve number problem

Posted: Sat Nov 17, 2007 8:12 pm
by bassman58
I've noticed that some U7 files cause the same problem. The game uses the U7 file for both numbers if there is no U9 file. I think the only solution is to create new U7 and U9 files for the offending uniforms. When I create uniforms I create numbers using vector images with antialiasing. The antialiasing makes the numbers smoother but has partially transparent edges. This causes the magenta(pink) to bleed through. What I do is create a layer under the number with the color of the jersey torso for the U7 and the color of the shoulders for the U9. Due to shading I use the Color Picker (eye dropper tool) to select the colors from the BMPs. For my uniforms I need to expand this layer a pixel or two.

RE: Sleeve number problem

Posted: Fri Jan 11, 2008 1:15 am
by simmer
I have found that you can fill the back ground in with shirt color and it works without bleeding. You can also use U7 as U9 for the sleve without having to make it smaller

RE: Sleeve number problem

Posted: Fri Jan 11, 2008 1:41 am
by Marauders
I have found that you can fill the back ground in with shirt color and it works without bleeding.
 
Nice trick.
 
It obviously will not be transportable to other uniforms, but it should work.

RE: Sleeve number problem

Posted: Fri Jan 11, 2008 4:31 am
by redwolf1
Gee, I hadn't noticed the problem until today (I have only a very few teams with numbers on their sleeves).

Anyways, using th u7 as a u9 didn't work all that great for me as the second number gets a little too distorted in game (noticable anyway).

Tried the background colour change trick as simmer suggested and it works - thanks. The drawback is you loose the sleeve texturing in a rectangular area around the numbers (because of the loss of the pink transparency). To minimize this, I suppose one could add sleeve texturing to the background of the u9 as well (if you are anal about it), or simply minimize the "shirt colour" colouring around the numbers (adding the shirt colour only around the numbers and not the rest of the pink field). Off to try this...

Edit: Jeez I'm dense this evening - just released that bassman basically suggested the same thing - LOL ...

Anyways, thanks for the heads up and the ideas for this issue. :)


Edit: I discovered that it was a bad idea of mine above (minimizing "shirt colour" around numbers) as you run the risk of getting aliased pink lines around this shirt coloured area - best to make the whole u9 background the shirt colour to avoid the pink "fuzzies".


RE: Sleeve number problem

Posted: Fri Jan 11, 2008 4:59 am
by David Winter
Hi.

As I mention above, U7 and U9 are different textures with different bitmap sizes. U9 is specifically sized for the sleeves and so if you have a U9 texture at 256*32 pixels, you shouldn't get any antialiasing. If U9 does not exist, the game will try and use U7, but it needs to resize it and in the process of doing that, you get the bleeding as a result.

U7 = 512*64
U9 = 256*32

thanks
David

RE: Sleeve number problem

Posted: Fri Jan 11, 2008 5:06 am
by redwolf1
Sorry, just ignore me tonight - too much cold medication I think.

Just realized that all my U9 templates are 512x64 (just with small scaled numbers vs. U7). Guess that is my problem.

Thank you.

Red

RE: Sleeve number problem

Posted: Fri Jan 11, 2008 5:12 am
by David Winter
ick.. cold medication... hate that. There's a TV commercial that mentions "medicine head".. that's probably the most truth in advertising I've ever seen on TV LOL

And all this continual rain we've been having locally can't be helping... someday, I hope to see the sun again.

David