New Skinnable Object (3-1-4, 3-1-5)

Talk about the map editor here

Moderator: English Moderator

User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

New Skinnable Object (3-1-4, 3-1-5)

Post 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
Fix
Nadeo
Nadeo
Posts: 1256
Joined: 14 Jun 2010, 17:28

Re: New Skinnable Object (3-1-4, 3-1-5)

Post 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
User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: New Skinnable Object (3-1-4, 3-1-5)

Post 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 :thumbsup:
User avatar
Jojo_44
Posts: 485
Joined: 12 Jul 2010, 15:58
Location: Germany->Bavaria
Contact:

Re: New Skinnable Object (3-1-4, 3-1-5)

Post 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
Image
my english sounds very unfriendly but it isn´t ;)
User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: New Skinnable Object (3-1-4, 3-1-5)

Post 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
User avatar
d.m.f._nl_
Posts: 228
Joined: 28 Jun 2010, 13:15
Location: Netherlands
Contact:

Re: New Skinnable Object (3-1-4, 3-1-5)

Post 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 :D :yes: :thumbsup:
If you think my English S*cks than you have to watch my driving and shooting :P

Image
PC Specs at home:https://www.dropbox.com/s/2qfjhjrqes1p3pj/PC-Specs.txt
User avatar
Skeleton
Posts: 596
Joined: 23 Jun 2010, 19:42

Re: New Skinnable Object (3-1-4, 3-1-5)

Post 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.
User avatar
d.m.f._nl_
Posts: 228
Joined: 28 Jun 2010, 13:15
Location: Netherlands
Contact:

Re: New Skinnable Object (3-1-4, 3-1-5)

Post 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.
If you think my English S*cks than you have to watch my driving and shooting :P

Image
PC Specs at home:https://www.dropbox.com/s/2qfjhjrqes1p3pj/PC-Specs.txt
User avatar
Skeleton
Posts: 596
Joined: 23 Jun 2010, 19:42

Re: New Skinnable Object (3-1-4, 3-1-5)

Post 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 :roflol:

Skele
User avatar
d.m.f._nl_
Posts: 228
Joined: 28 Jun 2010, 13:15
Location: Netherlands
Contact:

Re: New Skinnable Object (3-1-4, 3-1-5)

Post by d.m.f._nl_ »

Well i think the should change 1 out of 2 to have the uniformaty in the game :pop:
If you think my English S*cks than you have to watch my driving and shooting :P

Image
PC Specs at home:https://www.dropbox.com/s/2qfjhjrqes1p3pj/PC-Specs.txt
Post Reply

Return to “Map Editor”

Who is online

Users browsing this forum: No registered users and 2 guests