OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: DoGfromBeYoND on 02 Apr 2003, 07:59:06
-
Dog again. How's everybody doin'? 8)
Could someone explain how they themselves made the overview picture work? ??? I've read Fishion's tutorial, tried what it had to say and several other little methods based off of it, and couldn't get it to work. I've also tried a few different ideas of my own, failing there as well. :-\
The problem isn't getting the picture, of course. It's making it appear. That "img src=bla bla bla" thing in the tute...is it right? ???
-
Hey!
Hope this helps, it's straight from my beta mission, Lebrija Landing.
<p align="center"><img src="destroy.jpg" width="128" height="64">
There are 2 key things to note.
1. The size of the image is very important, I have good luck with that size there. (recommend making the pic itself that size too) ;)
2. Make sure you put the pic in your ....programfiles/operationflashpoint/users/username/missions/missionname folder... ;)
Good luck! 8)
Asmo
*Edit*
Another important thing to note is that you should not use the same names for the pictures, as it will create conflicts. ;)
-
The crucial stage of this whole process is the distortion of the picture. Here's what you do.
Take your screenshot, add a border, mess around with it,whatever. When you are finished you have a nice picture with a size, in pixels, of say 160x64. But it could be whatever you like.
Now, distort the picture to 128x64 and save it. This is the file that goes in your mission folder. As you will know from reading fishion's tute it is essential that the file has sides a factor of 2: 32,64,128, 256 etc.
However, in your Overview you can define the size as it appears on the screen to be anything you like. So have
<p align="center"><img src="destroy.jpg" width="160" height="64">
to restore the picture to its original shape.
If all else fails, get hold of the Tutorial Mission (http://www.ofpec.com/editors/resource_view.php?id=84)and use the Overview in there. Simply delete the pic and replace it with your own, which has the same name. That way you don't have to edit the code in the Overview at all. (Change the text obviously!)
-
Woohoo! It worked! I almost dumped in my drawers when I saw that picture show up! Well, okay, maybe it wasn't THAT extreme, but I was still really excited. Thanks a lot guys. 8) 8)
I know, macguba, I know ;). You don't need to tell me. Both of you will be acknowledged. ;D
:D As for any upcoming beta, we'll see. My mission is under some heavy reconstruction based on (guess who) macguba's "Creating Good Missions" tute. Also, I'm still waitin' on cable, which I should have in just a few short days here.
- Throw me a treat and I'll roll over -
Dog
-
:D I'm just glad it worked. 8)
*tosses Dog a scooby snack*