Page 1 of 2
New Skinnable Object (3-1-4, 3-1-5)
Posted: 20 Dec 2012, 06:19
by steeffeen
Hey there,
i added the nice new skinnable object (3-1-5) to my map, but it seems like the big horizontal banner cuts off parts of the image specified by an URL.
Does anybody know how the correct image sizes for these blocks are?
No matter which width my image has, the left and right edge gets cutted off.
I had to edit my image and added free space on the left and right hand sides.. But this isn't really what you would like to do with every image..
Here is an example image which kind of works..
http://dl.dropbox.com/u/58886549/header.png
The image file has a size of 1330x200 pixels, while the image itself has a size of 1000x200pixels
and that's how it looks ingame:
http://dl.dropbox.com/u/58886549/ingame.png
Steff
// EDIT:
the same is necessary for the vertical version of the block (3-1-4), just with switched width and height
-> file size: 200x1330, contained image: 200x1000pixels
example image:
http://dl.dropbox.com/u/58886549/header2.png
ingame screen:
http://dl.dropbox.com/u/58886549/ingame2.png
Re: New Skinnable Object (3-1-4, 3-1-5)
Posted: 20 Dec 2012, 17:27
by Fix
The image is 3x1 but .dds format needs images size that are power of 2.
So we have 4x1 *.dds used for 3x1 texture UV coordinates.
left and right parts of the texture are unused on the horizontal screen and top and bottom on the vertical screen.
For a 1024x256 image, first and last 128 pixels are unused.
0...128<----IMAGE----->896...1024
Re: New Skinnable Object (3-1-4, 3-1-5)
Posted: 20 Dec 2012, 19:06
by steeffeen
Fix wrote:The image is 3x1 but .dds format needs images size that are power of 2.
So we have 4x1 *.dds used for 3x1 texture UV coordinates.
left and right parts of the texture are unused on the horizontal screen and top and bottom on the vertical screen.
For a 1024x256 image, first and last 128 pixels are unused.
0...128<----IMAGE----->768...1024
Thanks

Re: New Skinnable Object (3-1-4, 3-1-5)
Posted: 21 Dec 2012, 22:57
by Jojo_44
Fix wrote:For a 1024x256 image, first and last 128 pixels are unused.
0...128<----IMAGE----->768...1024
1024 - 128 is 896 isnt it ? So I suggest:
0...128<----IMAGE----->896...1024
Re: New Skinnable Object (3-1-4, 3-1-5)
Posted: 22 Dec 2012, 21:57
by steeffeen
Jojo_44 wrote:
1024 - 128 is 896 isnt it ? So I suggest:
0...128<----IMAGE----->896...1024
True words

The main point is that the outer left and right parts (having the 1/8 width of the whole image) aren't visible
Re: New Skinnable Object (3-1-4, 3-1-5)
Posted: 05 Jan 2013, 11:55
by d.m.f._nl_
Thats truely a work-around like i said in topic
http://forum.maniaplanet.com/viewtopic. ... 26&t=15482
So hope Nadeo is gonna fix this so the whole picture we make is shown

Re: New Skinnable Object (3-1-4, 3-1-5)
Posted: 07 Feb 2013, 22:24
by Skeleton
I think easiest way around this using PS is to start with the image 512x1536 = 1x3. Now get the image like you want it then go to Image/Canvas Size and change height to 2048 and save.
I don't class this has a bug and doesn't need fixing, since TM started there's always been textures that modders have had to work out how it's tiled or stretched. this is just another one of them textures. Just need a little common sense when making your signs to fit the sign. Loading screen has always been a little like this and has never needed a fix.
Re: New Skinnable Object (3-1-4, 3-1-5)
Posted: 18 Feb 2013, 15:53
by d.m.f._nl_
Skeleton wrote:I think easiest way around this using PS is to start with the image 512x1536 = 1x3. Now get the image like you want it then go to Image/Canvas Size and change height to 2048 and save.
I don't class this has a bug and doesn't need fixing, since TM started there's always been textures that modders have had to work out how it's tiled or stretched. this is just another one of them textures. Just need a little common sense when making your signs to fit the sign. Loading screen has always been a little like this and has never needed a fix.
I understand how the loadingscreens work and used to work.
But when i started to make signs for TM2 it was what you make is what you see ( for example 2x1 )
Now thats stayed the same but signs making for SM is different, in 1 gamingsystem what Maniaplanet suposed to be ( and is ).
Thats seems strange to me.
If Nadeo want to keep it this way its fine by me, but makes it a bit harder to believe its all the same development, with the same properties.
We dont make the mediatracker 2x different, 1 for TM2 and 1 for SM dont we?
So now its still possible to change the propperties of those 2 signs in SM, before the comunitie make a whole lot of signs that need to be redone, in order to make it the same.
Re: New Skinnable Object (3-1-4, 3-1-5)
Posted: 18 Feb 2013, 16:30
by Skeleton
I think they will stay like this for a couple of reasons.
1, the blocks are made to take a 3x1 and a 1x3 image and I can't see them changing the whole blocks.
2, if they changed it so we could just make a 1x3 or a 3x1 image then we wouldn't be able to use .dds format
I think they could change it so a 1x2 image could fit but you would still have just as much work to do because then you would have to start with a 1x3 do your image and then make image 1x2 and let the game stretch the image back to it's right size.
But after saying all that they change loads of Storm textures and broke all the mods people had already made
Skele
Re: New Skinnable Object (3-1-4, 3-1-5)
Posted: 18 Feb 2013, 18:53
by d.m.f._nl_
Well i think the should change 1 out of 2 to have the uniformaty in the game
