OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 456820 on 21 Dec 2004, 12:44:53

Title: pictures
Post by: 456820 on 21 Dec 2004, 12:44:53
this doesnt really go under this but i couldn think of anywere else it would go.
   i cant seem to make the pictures in my overview its either to big or the right size just not all of the picture does anyone know an easy way to do it (i read fushion's tute in the editors depot it didnt really help)
Title: Re:pictures
Post by: Rokket on 21 Dec 2004, 12:57:51
what programs are you using? what sizes (in pixels) are your pix? any more detail might help.

The briefings and tutes I've seen use pix that are often displayed at 128x64 pixels, or any multiples of 2 (177 x 88, etc). Often your orig source pic has to be big, say 1024 x 512, and then reduced when displayed, otherwise you get pixelly fuzz. I found 256 x 128 too large, 128 x 64 a good size.

Title: Re:pictures
Post by: THobson on 21 Dec 2004, 13:37:18
The saved picture needs to be 2^n x 2^m pixels where n & m are whole numbers.  The size in the overview is determined by the size you specify there (which also needs to be in whole powers of 2).  It will either compress or exapand your saved picture to fit the size you specify.  If it is not the correct size I would suspect the instruction in the overview file.

What instruction are you using in your overview file to place the picture?
Title: Re:pictures
Post by: 456820 on 21 Dec 2004, 13:57:45
im using chris' ofp editor to make the overview and im making the pictures in 18cm - 9cm theres a mission wich does that and there picture works fine
Title: Re:pictures
Post by: THobson on 21 Dec 2004, 14:53:07
You might want to open the overview file with a text editoor and find the instruction that is placing the picture.  It should have some sizes inculded in it.  If the picture is too  large try reducing the numbers in that instruction - but keep the sizes to powers of 2 as I mentioend above.
Title: Re:pictures
Post by: 456820 on 21 Dec 2004, 16:08:38
oh ok thanks i will
Title: Re:pictures
Post by: bored_onion on 21 Dec 2004, 16:10:27
adding pictures is usually a lot more reliable when you use direct html coding for the briefings. its really simple to learn and improves briefings so much. check out snYpirs tutorial on briefing.html which also links to a tutorial on adding pictures.