Home   Help Search Login Register  

Author Topic: breifings...  (Read 1885 times)

0 Members and 1 Guest are viewing this topic.

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:breifings...
« Reply #15 on: 16 Oct 2003, 02:04:32 »
The way OFP reads HTML isn't the same way your browser/HTML editor reads it...

Sometimes redundant HTML code (like program identifiers) can stuff things up and confuse OFP.

I can't recall who it was, but someone threw me over a briefing a while ago with similar problems. The formatting commands wouldn't work.
It turned out they were using M$ frontpage, which was adding in a lot of M$ crap, which was making OFP ignore the formatting commands.

I suggest you learn some basic HTML, and edit the source rather than using an editor. It's not nearly as hard as it sounds ;)

KyleSarnik

  • Guest
Re:breifings...
« Reply #16 on: 16 Oct 2003, 02:29:40 »
erm sorry if I made it seem that way but I didn't use an HTML editor, just notepad... I copy/pasted breifings I did from previous missions (alot easier than re-writing them all) and it worked in the overviews but not in the breifings... I did attach the HTML and the picture.... if anyone wants to take a look...

http://www.ofpec.com/yabbse/attachments/breifing_and_pic.zip
« Last Edit: 16 Oct 2003, 02:30:14 by KyleSarnik »

Homefry31464

  • Guest
Re:breifings...
« Reply #17 on: 16 Oct 2003, 02:56:25 »
Does OFP recognize normal tags like "<center>"??

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:breifings...
« Reply #18 on: 17 Oct 2003, 02:29:42 »
oh... sorry Kyle, I guess assumption is still the mother of all..  :-X ;)

Just taking a look at your briefing, I think it has to do with all the spaces you've got in there. The html code for an empty line is:

<p>&nbsp;</p>

Try replacing all those empty lines with that and see if OFP starts to recognize the formatting...

Homefry...

The code I use to center stuff looks like:

<h2 align="center"><a name="Debriefing:End1">Mission Accomplished</a></h2>

The only HTML I know is 'OFP HTML', so I'm not sure if that's 100% correct or not ;)

KyleSarnik

  • Guest
Re:breifings...
« Reply #19 on: 17 Oct 2003, 02:37:08 »
Sui:

do you mean the spaced between notes, plan, objectives, etc? Well I'll try it later, right now I'm kind of busy... Anyways I will let you know if it works or not...

KyleSarnik

  • Guest
Re:breifings...
« Reply #20 on: 17 Oct 2003, 21:20:17 »
Oh wait do you mean that in place of <br>?? I will try it...

KyleSarnik

  • Guest
Re:breifings...
« Reply #21 on: 17 Oct 2003, 21:30:03 »
Nope, does nothing... Does it have anything to do with running version 1.94??

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:breifings...
« Reply #22 on: 17 Oct 2003, 21:47:06 »
Kyle

Try this version of your briefing.

The picture is centered in-game, at least it is on my machine.

btw.......I am running 1.94 as well.



Planck
I know a little about a lot, and a lot about a little.

KyleSarnik

  • Guest
Re:breifings...
« Reply #23 on: 17 Oct 2003, 23:43:01 »
Thank you very very much now I can just copy/past it from that into all of my breifings because it doesn't work on my comp unless someone does it on theirs first.... Really really odd...