Jump to content
Sign in to follow this  
mp_phonix

Problem with "overview"

Recommended Posts

Hello ! smile_o.gif

I have a problem in making the "overview" file {that present a picture and text in the SP}.

I'm making a mission . I havent done with it but i want to make an overview file first. My overview file looks like this:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

<html>

<head>

<title>Overview</title>

</head>

<body>

<br>

<p align="center"><img src="spets.JPG" width="220" height="95"></p>

<br>

</body>

</html>

In case you wondering, the picture Is 220x95 JPEG file ; I puted the overview+the pic in the mission folder and then exported it to PBO in the editor {the "export to single player" save}.

When I click to just look at the mission in the SP notebook he gives me this error:

The error {pic is over 100kb}    goodnight.gif

*Note:

I do NOT want a text in the overview {so I diden't put any  tounge2.gif }  

So, can you tell me how to fix it and what did I do wrong ?   icon_rolleyes.gif

Share this post


Link to post
Share on other sites

The image has to be in the power of two. It has to be about five years since I last worked on a SP mission, but if I remember correctly you can use 256x128.. it should fit on the page (?).

I think this bit is not needed

width="220" height="95"

but then again I might be wrong wink_o.gif

Share this post


Link to post
Share on other sites

anybody else ?

{no disrespect Artak, i just one more answers  wink_o.gif }

Share this post


Link to post
Share on other sites
The image has to be in the power of two.

Correct, width and height should be in power of 2.

Now you have two answers.

Share this post


Link to post
Share on other sites

Artak got it smile_o.gif

image has to be power of two in width and height

choose from: 2,4,8,16,32,64,128,256,512 and up

Share this post


Link to post
Share on other sites

What do you mean power of two ?

like if the length is 256 the height needs to be 128 ?

Share this post


Link to post
Share on other sites

no, it means that you can have any combination

for example 256x128, 128x128, 128x256,32x512,64x64 and so on

both dimensions should be 2^n

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×