Home   Help Search Login Register  

Author Topic: Overview Pic Trouble  (Read 1187 times)

0 Members and 1 Guest are viewing this topic.

Offline mboshell

  • Members
  • *
Overview Pic Trouble
« on: 22 Apr 2010, 09:51:59 »
I thought it would be best to start a new thread for better organization of the topics. 

I must first say, this seems like a ridiculous amount of trouble to go through for a simple screenshot.  I've been at this all night...lol.

Anyways, I believe I've followed the instructions perfectly.  Took the screenshot with fraps and used the snipping tool to snip what I wanted and saved to jpeg.  Then, opened up with Microsoft Office Picture Manager and resized it to 128 x 64.  I then used a BIS mission overview.html and did the necessary editing of the file and saved it in my mission folder along with the pic.

My overview.html file reads like this...

<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1250">
<meta name="GENERATOR" content="VB">

<title>Overview</title>
</head>

<body bgcolor="#FFFFFF">

<br>
<h2 align="center"><a name="Main">Konduz Sweep</a></h2>

<p align="center"><img src="konduz sweep ss1.jpg" width="170" height="64"></p>
<BR>
<p>
<! --- struèný popis mise>
Ride with your squad in a HMMWV to Konduz and conduct a quick sweep of the village before

returning to base.

<br>

</p>
<! --- konec popisu mise>

</body>
</html>

All of the text comes up perfectly in the overview, but my pic gets an error that reads...

"Dimensions 654x343 not 2^n"

I did read somewhere that you cannot have too many units in your pic, but I only have one humvee, and three soldiers.  Is that too many?  Or could there be another problem?

Thanks  :)

Offline Krieg

  • Mission Maker
  • Members
  • *
  • Who dares wins.
Re: Overview Pic Trouble
« Reply #1 on: 22 Apr 2010, 18:32:00 »
Hmm... OK, this definitely leaves me puzzled.

One of my old mission's overview, "The Red Grinder", reads like this:
Code: [Select]
<body>

<!-- Overview Title -->
<br><h2 align="center"><a name="Main">
The Red Grinder
</a></h2>

<!-- Overview Picture -->
<p align="center"><img src="t80.jpg" width="128" height="64"></p>

<!-- Overview Text -->
<p><br>
Take Soviet Union's latest tank, the T-80, and use it to crush remaining enemy resistance on Everon.
<br></p>

</body>
</html>

I immediately notice differences.
For example, I have no idea what this is suppose to mean:
Code: [Select]
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1250">
<meta name="GENERATOR" content="VB">

But, anyways, I suggest that you generate overviews with Chris' OFP Script Editor and then edit them with same tool.

I never edited a BIS overview, so I can be no longer of any use in this post.

Hope that helped,
Krieg
If you see a light at the end of the tunnel, then it's probably an enemy tank.

Offline savedbygrace

  • Intel Depot
  • Administrator
  • *****
  • Be swift to hear...slow to speak...slow to wrath.
Re: Overview Pic Trouble
« Reply #2 on: 22 Apr 2010, 20:29:11 »
Quote
I did read somewhere that you cannot have too many units in your pic, but I only have one humvee, and three soldiers.  Is that too many?  Or could there be another problem?
That's ridiculous. :D The content of your image is irrelevant. I think perhaps that you are resizing your image to 128 X 64 and then trying to get the editor to stretch it back to 170 X 64. In fact, your image can be whatever size as long as the dimensions are squared in the overview code. So retake your photo, and edit it however you like but you don't have to re-size it. Rather just insert it into your mission folder and it should work.

There is nothing wrong with your overview as it is obviously a replicated file from BIS content.
Quote
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1250">
<meta name="GENERATOR" content="VB">
All of that information is irrelevant as well.(Only needed as a content identifier for HTML)

Sorry, when I mentioned earlier about me resizing my images, I only meant that I would cut out any cinema borders or other unwanted content.

Offline mboshell

  • Members
  • *
Re: Overview Pic Trouble
« Reply #3 on: 25 Apr 2010, 03:43:41 »
Just replying to thank you both for the assistance.  I haven't gotten to try the overviews again because I have finals this week, so everything is on hold.  I'll be free after Wednesday when I will pick up the pace majorly and get the first version of this campaign beta finished.

Savedbygrace, I thought the idea that you couldn't have too many units in the pic sounded ridiculous, but after checking all of the overview pics in other missions, I noticed that they are pretty simple with few units, so I bought into it...lol. 

Thanks again fellas  :)