Home   Help Search Login Register  

Author Topic: briefing annoying me  (Read 940 times)

0 Members and 1 Guest are viewing this topic.

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
briefing annoying me
« on: 10 Aug 2003, 17:11:58 »
so im making my briefing - fine... and this is what i have so far (well, theres more - but this is what is annoying me)

Code: [Select]
<!-- saved from url=(0022)http://internet.e-mail -->
<html>

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

<body bgcolor="#FFFFFF">

<br>
<h2><a name="Main"></a></h2>
<br>
<h6>
   Its been too long. I mean, I've not seen operational combat for years now. The old dog of the long famed, and long gone black ops. I was pulling ops in China before some of these Special Forces boys were in nappies. They couldn't even accomplish a walk in the park.<br><br>
   No use complaining. They say I'm the best of a dying breed. None of the gung-ho heroes we have today. We were trained by the SAS, they're now trained by ignorant commanders. This country's military is shocking.<br><br>
   I keep asking why I was called up? Why did they choose me for this Lone Wolf mission? I still get the nightmares, the screaming, the bodies. Not a day goes past when I remember that awful day. They don't want to send more letters out to mothers, lying about heroic fights and serving their country to the end. The truth being their commanders killed them with bad intel and bad training. They don't need another... nevermind.<br><br>
   20 KIA, 6 MIA. Thats the score sheet, thats the blue on blue we just scored. They didn't die heroicly, they didn't die fighting. They were blown up in their Blackhawks waiting. If I can find these Delta, maybe I can help with the little PR war back home. Nothing can get worse out there.
</h6>

<hr>
<p><a name="Plan"></a>

<h2 align="center">October 31 2003</h2>
<br><br>
<h2 align="center">Operation Amethyst Briefing and Intel Report</h2>
<br><br>
<h2 align="center">Commanding Officer, General G. D. Howard</h2>
<br><br>

Mission Breifing:<br><br><h2>

Read the <a href="#orders">Detailed Orders.</a>
<br>
<br>
Read the <a href="#hind">Objective Recon Report.</a><br><br>

<h2>Mission Objectives:<h2>
</p>

<hr>
<p><a name = "OBJ_1"></a>Land on the<a href="marker:land"> main road</a>.
</p>
<hr>

<p><a name = "OBJ_2"></a>Remove evidence of US ensignia and equipment from the<a href="marker:crash1"> crash site</a>.
</p>
<hr>

<p><a name = "OBJ_3"></a>Rendesvous and exfiltrate the SFOD-Delta
</p>
<hr>

now what i wanted was the lines that are at the top with the date, title and commander to be alligned center and have the cool typewriter text... but when i out the following it just has it all alligned left and normal brifing text...

ive tried to copy Sui's briefing to see whats up... but i cant see the problem...

any help would be appreciated. cheers  ;)
Proud Member of the Volunteer Commando Battalion

asmodeus

  • Guest
Re:briefing annoying me
« Reply #1 on: 10 Aug 2003, 17:38:32 »
I don't know about the different text really..

*Edit*

Well, here's the code you'd use:

Code: [Select]
<font face="Bell MT">Insert typing here</font>
Where "Bell MT" is the name of the font of course.. Now the thing is that I don't know which fonts are available in OFP!   :P

*edit*

But the align center you've got going on there should work!   :-\

Strange...  I tested it and it works in Frontpage.. Didn't test it in game, but I'll take your word for it.  

What if you aligned it Left right before that, then aligned it center like you are?  (sometimes you gotta "kick" the code through)   ::)   ;D

Asmo
« Last Edit: 10 Aug 2003, 17:41:35 by Asmodeus »

Offline KJAM

  • Contributing Member
  • **
  • Why Me, Whats it For?
    • Nightstalker mod
Re:briefing annoying me
« Reply #2 on: 10 Aug 2003, 18:04:18 »
i think the html on ofp briefings is limited, not tried much one or two things liek background clour, that worked in normal html preview but not in ofp, as for fonts i dont know lol

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:briefing annoying me
« Reply #3 on: 10 Aug 2003, 18:45:15 »
ofp fonts are the numbers:

<h2> <h4> <h6>

those refer to different text types... its just none of its working... and i cant figure it out  ::)
Proud Member of the Volunteer Commando Battalion

peter

  • Guest
Re:briefing annoying me
« Reply #4 on: 10 Aug 2003, 23:29:42 »
maybe you could use some older html-tags like <center> and <code> ...

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:briefing annoying me
« Reply #5 on: 11 Aug 2003, 01:30:03 »
well i tried the centering thing on a start from scratch one and it worked fine.... but i cant make my one work... this is gonna pee me off  ::)
Proud Member of the Volunteer Commando Battalion

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:briefing annoying me
« Reply #6 on: 12 Aug 2003, 02:07:46 »
To tell you the truth, I cheat and use dreamweaver ::)

But yes, OFP does use a very limited suite of html features.
I remember trying to put frames and all sorts in to get the pictures in the overview... in the end I had to settle for trial and error to get their spots just right (using spaces of all things :P)

As far as centering text goes, here's code I use:

Code: [Select]
<h2 align="center"><a name="Main"></a>Operation: Spiked Wheel</h2>
It's just the align="center" part that does it...
As far as different fonts goes, OFP uses h1 - h6 and paragraph text (p).
h1 - h3 are different sized heading texts, h4 is a very small font (I use it for paragraphs when I need to squeeze stuff in). h5 is (I think) typewriter sort of text, and h6 is that sort of handwritten, scriptish looking font.

The trick I generally use it to grab a pre-existing briefing (ie. one from one of my old missions) and simply change the text, links and throw in the odd bit of eye candy. It makes a good base to build on, without going through the headaches of writing it from scratch ;)

G'Luck Messy :wave:

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:briefing annoying me
« Reply #7 on: 12 Aug 2003, 03:03:59 »
ok... heres the weird thing - everything ive written seems to be correct - and when i view the briefing as a webpage, the text is how it should be...

put it into ofp - and it doesnt work - no centering, no different texts on the same page... really getting at me now...

attached so u can look - Sui, cheers for the help, any more would be really appreciated :thumbsup:
Proud Member of the Volunteer Commando Battalion

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:briefing annoying me
« Reply #8 on: 12 Aug 2003, 03:38:25 »
Hmm... wierd.

I had to muck around with it to get it to work, but I managed to get the fonts up properly.

Quite frankly, I blame microsoft ;)

Give frontpage the push, as it is inserting a lot of redundant gaps (which OFP completely misinterprets, due to it's html limitations).

Here is an example of the code I usd for spaces in one of my briefings:
Code: [Select]
<h2 align="center"><a name="Main"></a>Operation: Spiked Wheel</h2>
<h3 align="left">Phase III</h3>
<h4>&nbsp;</h4>
<h4>&nbsp;</h4>
<h4>Fox Company, 3rd Platoon</h4>
<h4>12th June</h4>

Notice that there are no blank lines in there. When I want to skip a line, it uses the code:
<h4>&nbsp;</h4>

I think what's happening in your briefing is that OFP is spitting the dummy due to all the blank lines. Try getting rid of them and see if that solves it ;)

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:briefing annoying me
« Reply #9 on: 12 Aug 2003, 14:14:15 »
i tried that.... but it just made everything worse - much of the extra pages didnt show up etc,...

what the hell is going on  ???
Proud Member of the Volunteer Commando Battalion

Offline KJAM

  • Contributing Member
  • **
  • Why Me, Whats it For?
    • Nightstalker mod
Re:briefing annoying me
« Reply #10 on: 12 Aug 2003, 16:03:32 »
messy, if ya want i can get a friend of mine who is a html whizz, but sadly not an ofp player to check it for you, he wouldnt be able to check markers etc but the general html of it

he owes me a favour or two :D

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:briefing annoying me
« Reply #11 on: 13 Aug 2003, 02:44:35 »
Hmm... are you editing the source code directly?

If all else fails, load it up in a text editor (notepad/wordpad etc.) and check it from there.

The problem with these frontend html editors (frontpage/dreamweaver etc.) is that they add their own little bits of code. This is fine for a webpage, as your web browser knows how to interpret it. However OFP simply doesn't.

Anyway, try that and see if you can get it going. If not, I'll see if I can beat it into shape for ya ;D

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:briefing annoying me
« Reply #12 on: 13 Aug 2003, 13:43:17 »
im using notepad to edit it... its how ive always done it  ;)

still can't get the damn thing working - not even different texts, let alone centering etc  >:(
Proud Member of the Volunteer Commando Battalion

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:briefing annoying me
« Reply #13 on: 14 Aug 2003, 10:27:49 »
Right... I'm no HTML mechanic, but I reckon I can have a fair crack at sorting this out :)

* Sui pulls out his 'HTML HAMMER'

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:briefing annoying me
« Reply #14 on: 14 Aug 2003, 10:51:24 »

**strange banging noises**






**sound of a power saw**




**More banging noises, faster this time**


Whew! There we go. Hopefully that should go for ya ;)
You may need to adjust the fonts, as the first font you've used looks a bit big...
Anyway, all I did was get rid of all the stupid frontpage inserts and the redundant spaces...



Oh, by the way. When I had finished putting it back together again, I had these parts left over. I'll give them to you, because I don't know where to put them :)

* Sui hands Mezzy some grease covered, banged up pieces of HTML

Enjoy :wave: