OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: goki on 29 May 2003, 13:10:06
-
Hi,
I am using basic 1.0 version of ofp and maybe its the essential problem.
The problem:
I am not able to add picture to my overview.html file in any way.
I have read related tutorial and downloaded "tutorial mission" and looked at its overview file to figure out the way. yet it didn't work.
the lines I am using in overview.html are
<html>
<head>
<title>Overview</title>
</head>
<body>
<br>
<h2 align="center"><a name="Main">MissionName</a></h2>
<p align="center"><img src="mypic.jpg" width="128" height="64"></p>
<BR>
<p>
xxx
<br>
</p>
<br>
</body>
</html>
here my picture, mypic.jpg , is a 128-64 pixel jpeg.
I have also tried putting "tutorial mission"s overview file in my mission folder with its original picture but it didn't work either :(
It would be great if somebody sends me an exemplary overview.html and a simple picture which is used in the same overview.html which worked for him/her.
suppose the problem is my 1.0 version doesn't support that stuff ain't it?
your help is needed intensely - I am getting close to get mad -
-see you,
-G.
-
this is a working overview file (there are czech comments because it was taken from a bis mission, but now its for my mission ;D):
<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">RAH - 66 COMANCHE</a></h2>
<p align="center"><img src="c3a.jpg" width="128" height="64"></p>
<BR>
<p>
<h3 align="center">MAPFACT EDITION</h3><br>
Like Ground Attack I or II but a bit more intricate...
<br>
<br>
<br>
Version: 1.0b
<BR>
<BR>
Questions and suggestions to:
<BR>raedor.ofp@web.de
<! --- struèný popis mise>
</p>
<! --- konec popisu mise>
</body>
</html>
-
Thanks man.
I will check if the file is working for me tomorrow, cause now I have tasks to do.
again thanks for paying your time and help,
happy editing...
-G.
-
why are you using that version of flashpoint?
-
Oh!!! My friend...! I used to work with OFPv1.00, just a few weeks ago! I know what's the problem:
.jpg file format is not compatible with OFPv1.00, only newer version support it. Therefore you may only use .paa image format...
There's a paa/pac viewer at [bb]Editors Depot[/bb], which lets you save your own pictures into .paa.
-
Yet another reason to upgrade to at least 1.46. The patch is free over at the official site www.flashpoint1985.com and if you have trouble with a slow or intermitttant connection use Getright or another download manager which allows you to pick up where you left off if the connection is broken.
-
First, thanks for paying interest,
well, my upgrade cd is broken and thus I am alone with basic version cd :( yet it was actually nice to edit till now with 1.0 - now I am put through the wringer since I have completed my mission but can't write overview.html with picture :( ???
paa/pac viewer in ed. depot ( Partial PAA/PAC viewer utility by MikeSchell ) which I have downloaded is not working !
As macguba said I had better upgrade it with the patch at the official site www.flashpoint1985.com but internet is awfully slow nowadays due to the earthquake in the ocean you know...
yet thanks for helping, now I figured out what to do...
Groovy Editing :)
-G.
-
Oh! I know what's like to edit on v1.00... It really freaks you out! However, it can be quite fun to play missions that require Resistance. All you must do is decompress the .pbo and change EVERYTHING! In the end it's very worthy!
Now, about what really matters, the .paa/.pac viewer. The one you downloaded was marked as obsolete by toadfile... :P
The one you must download is the TexView (http://www.ofpec.com/includes/download2.php?id=261), made by BIS for OFP editors.
.paa can be better than jpeg as it as a alpha channel which enables you to give your pictures a good look! Its like configuring an alpha channel on a TGA (by the way, tga and jpg are the only formats compatible with TexView), all you must have is a good graphical editor like Adobe PhotoShop.
-
For the record :o pics in overview files just have to be streched & scewed right :)
Then they'll work fine! Here's the details again:
Pic's in overviews are added via putting a screenshot in the mission folder & then refer to it in the overview html.
like this :
----------------------------------------------------------------------------------------------------------
<html>
<head>
<title>Overview</title>
</head>
<body>
<br>
<h2 align="center"><a name="Main">YourMissonName</a></h2>
<p align="center"><img src="YourPicHere.jpg" width="170" height="64"></p>
<BR>
<p>
YOURTEXTHERE
<br>
</p>
<br>
</body>
</html>
-----------------------------------------------------------------------
The line of the picture is this one:
<p align="center"><img src="MyPic.jpg" width="170" height="64"></p>
or, if you want another size of the picture :
<p align="center"><img src="montignac.jpg" width="200" height="160"></p>
...Where you can align the picture, Left, Right , Center. ;)
IMPORTANT:
The file name of the image, you can only use jpgs in version 1.3 and later, otherwise you must use a paa, or pac. :o
The width and height are in pixels. 200 is as wide as the briefing can fit.
-----------------------------------------------------------------------
See, a JPEG won't do if ya play OFP v_1.01 :-\ :-* ;)
-
Hi,
Yes textview worked almost precisely ! thanks for helping,
yet there is a little point,
first I opened my jpeg with microsoft photo editor, resized it and finally saved it as a .gif file in order to use textview. cause textview is unable to open jpeg directly ain't it? or I made a mistake.
anyway, as a result it appeared on overview but converting jpeg into gif made my picture a "wasted" thing. lack of quality is a real problem now !
do you know how to keep the quality of the original image high?
-g.
-
:) Texview can open & "use" JPEG's just fine (you didn't even try that ?) ???
no need for any GIF crap, sunnyboy! :thumbsup:
-
"(you didn't even try that ?) "
Tomb I am really sorry man ! :-[ :)
Yes I tried but with a wrong way ( I hadn't even read "readme" of it )
Yes it definetely works now !
thanks to everyone ! ( it sounds as a hollywood movie ending happily -sounds cliche :) - )
"GIF crap"
yes I think so ! gif is all crap... :D I don't know who needs...
-G
-- sunnyboy gets happy and keep editing groovily --- :))
-
;D
-
you are all mad i tell you , maaaaaaaaaaaad
*gets dragged off screaming a drooling my men in white coats*
:beat: