OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: shadow99 on 08 Jul 2004, 13:20:03
-
For a while now I have been wondering how to get that hand-written like font in the "Notes" section of a briefing. I've seen it in missions other than the official ones, so I know it can be done by anyone.
-
If you've seen something done in a mission and want to do it yourself, the best thing to do is just unpbo the mission and see if you can figure it out. In this case its easy:-
<h6>
text
</h6>
Use the Briefing in the Tutorial Mission (or indeed any other mission you like) as a template for your own missions.
-
Greetings, Shadow99.
There are several different types of font you can use in your briefing.html file. The fonts are defined by placing HTML tags around your text.
Strangely, you don't use the standard HTML font tag to define fonts. You use a <h#> tag.
Let me explain:
You need to place two tags, one at the beginning, and the other at the end of the text you want to be in handwriting. The '#' in the <h#> is a number from one to six. Observe:
<h6>
Captain's log,<br>
Suplemental.<br>
Drank coffee. Read reports.
</h6>
Everything between <h6> and </h6> will be in handwriting.
Some other font tags:
<h3></h3> - Standard font.
<h4></h4> - Smaller font ('book' font)
<h2></h2> - Title
Reference:
http://www.ofpec.com/editors/resource_view.php?id=1
-Supr. Cmdr. PsyWarrior
-Psychic Productions
Blast! Beaten once again... :P
-
Now I get what those numbers are for. Thanks guys even though this isn't my thread. ;D ;)
-
Thanks GuiltyRoachKilla + PsyWarrior. Never realised all it took was a tiny command.
-
Dude I had no input here. I never knew what those numbers were like you did. :P ;)
It should be PsyWarrior + Macguba. ::) ;D
-
Oh, sorry, yes it was. I must have read the wrong name from the wrong post. Thanks macguba. And what the hell, thanks GuiltyRoachKilla :P
-
Useful... very useful. Thanks fellas!