Home   Help Search Login Register  

Author Topic: icarus_uk briefing pictures  (Read 1755 times)

0 Members and 1 Guest are viewing this topic.

captain canada

  • Guest
icarus_uk briefing pictures
« on: 02 Sep 2002, 23:21:00 »
I found this  previous post of yours regarding inserting pictures in to the briefing setup

Put in your briefing file the code;

                         <p align="center"><img src="montignac.jpg" width="200" height="160"></p>

                         Where you can align the picture, Left, Right , Center.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. The width and height are in pixels.200 is as
                         wide as the briefing can fit.

I pasted it into my decription file as such:


respawn=3
respawndelay=4
<p align="center"><img src="canuck1.jpg" width="200" height="171"></p>

class CfgSounds
{
sounds[] =
{
Bodies
};

class Bodies

{
name = "Bodies";
sound[] = {"Bodies.ogg", 1, 1.0};
titles[] = { };
};



};


class Weapons
{
class M16
{
count = 50;
};
class M4
{
count = 50;
};
class HK
{
count = 6;
};
class M21
{
count = 6;
};
class LAWLauncher
{
count = 6;
};
class Binocular
{
count = 6;
};
class NVGoggles
{
count = 6;
};
};



class Magazines
{
class M16
{
count = 50;
};
class M4
{
count = 50;
};
class HK
{
count = 50;
};
class M21
{
count = 50;
};
class LAWLauncher
{
count = 50;
};
class Mortar
{
count = 50;
};
}

When I try to launch the game it crashes out with the message\description.ext':'<" encountered instead of"="
so where did I screw up?

Gameer_77

  • Guest
Re:icarus_uk briefing pictures
« Reply #1 on: 02 Sep 2002, 23:32:11 »
You don't put:

<p align="center"><img src="canuck1.jpg" width="200" height="171"></p>

Into the description.ext, only the briefing.

 8) PEACE

captain canada

  • Guest
Re:icarus_uk briefing pictures
« Reply #2 on: 02 Sep 2002, 23:45:21 »
LOL,told you I was newbie!!!
Anyways  I'm using the  Briefing and Overview generator V 1.9. and i was wondering if there is anyway to edit the exisiting files that have already been created using this program instead of having to re write everythng fom scratch each time you make a change?.You can save files with the program but how do you edit existing ones?

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:icarus_uk briefing pictures
« Reply #3 on: 03 Sep 2002, 00:37:50 »
Open up the briefing.html file and select File>Edit With Notepad.

Alternatively right click on the briefing file and select Open With>Notepad

Dont use Word to alter the html, word uses a form of html much too complex for the game to understand.  And yes the file is in html, this is a clever form of code that lets you do all the purrty stuff.  You will need to know html, or at least be able to bodge around inside the file to get the results you want.

Oh and thanks for the ego boost seeing my name on the forums  lol.

captain canada

  • Guest
briefing pictures PROBLEMS
« Reply #4 on: 03 Sep 2002, 00:54:38 »
Okay so I tried to paste it into my briefing file.Nothing showed up. I used an HTML editor to put the image in the page I can see it in the preview in that editor but when I run the game I can't see the image only the space for the image( the text has moved down leaving  blank space). I have checked the image extension and it is canuck1.jpg  I even resaved it out as canuck1.jpeg ( because some programs do not recognize the jpg extenion name)and still it does not show up.
I have placed the image in the mission folder. WTF?

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:icarus_uk briefing pictures
« Reply #5 on: 03 Sep 2002, 00:57:03 »
Assuming youve done it all right then the picture should be showing.  What version of OFP are you using?  Maybe you can post the briefing file on the forums for someone to take a looky at.

seanver

  • Guest
Re:icarus_uk briefing pictures
« Reply #6 on: 03 Sep 2002, 01:02:58 »
Probably you need to change the size of the image to a power of two, for example 128x 64 pixels. In the size of the briefing.html put the original size, so the picture will be shown well

captain canada

  • Guest
The file
« Reply #7 on: 03 Sep 2002, 01:18:42 »
I think that there might be a problem with the extra HTML code Frontpage puts into the file


<html>

<head>
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1250">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<title>OFP Mission</title>
</head>

<body bgcolor="#FFFFFF">


<h2><a name="Main"></a></h2>
<br>
<h6>
today is a good day to die
</h6>
<hr>
 <p align="center"><img src="canuck1.jpeg" width="200" height="171">
<p><a name="Plan"></a>
</p>The latest Intel from our Predator recon flight has located a heavily guarded Scud base. We need to stop Osama from deploying these weapons of mass destruction. It's going to be a hairy beach insertion for our Canadian sniper team
<hr>
<p><a name = "OBJ_"></a>Take out the FOP before they can send a radio alert,
kill the bastards
</p>
<hr>

<p><a name = "OBJ_"></a>Find the ammo dump, load up and secure alternative ground transport
</p>
<hr>

<p><a name = "OBJ_"></a>There'll be a  armored patrol enroute, ambush them, kill them all and let God sort em out
</p>
<hr>

<p><a name = "OBJ_"></a>Intel says General Guba is at the SCUD base, exterminate with extreme predjudice
</p>
<hr>

<p><a name = "OBJ_"></a>Destroy the SCUD Base
</p>
<hr>

<hr>
<br>
<h2>
<a name="Debriefing:End1">Mission Accomplished</a>
</h2>
<br>
<p>Good Job Soldier!</p>
<br>

<hr>
<br>
<h2>
<a name="Debriefing:End2">Mission Failed</a>
</h2>
<br>
<p>Maybe next time soldier..If there is one</p>
<br>

<hr>
<br>
<h2>
<a name="Debriefing:End3">End 3</a>
</h2>
<br>
<p>End 3 Description</p>
<br>

<hr>
<br>
<h2>
<a name="Debriefing:End4">End 4</a>
</h2>
<br>
<p>End 4 Description</p>
<br>

<hr>
<br>
<h2>
<a name="Debriefing:End5">End 5</a>
</h2>
<br>
<p>End 5 Description</p>
<br>

<hr>
<br>
<h2>
<a name="Debriefing:End6">End 6</a>
</h2>
<br>
<p>End 6 Description</p>
<br>

</body>
</html>

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:icarus_uk briefing pictures
« Reply #8 on: 03 Sep 2002, 01:21:37 »
Get rid of all that front page stuff.  Flashpoint doesnt understand it and has a good cry.  Use notepad to edit the html.

Also in the objective parts, you need to write OBJ_number otherwise the briefing doesnt know which objective is which when you want to tick them off.  For example;

<p><a name = "OBJ_2"></a>text here blah blah

in the briefing would represent the second objective, which would be ticked when you did "2" ObjStatus "DONE" in the mission.
« Last Edit: 03 Sep 2002, 01:24:32 by [icarus_uk] »