This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ofp:missions:overview.html [2007-07-09 01:43] snakeman created overview.html initial page |
ofp:missions:overview.html [2010-07-12 08:19] snakeman changed new bis forum link. |
||
---|---|---|---|
Line 13: | Line 13: | ||
Version numbers and mission author details should really be kept to the //ReadMe.txt// file, but many authors choose to include this information within the overview for reference. | Version numbers and mission author details should really be kept to the //ReadMe.txt// file, but many authors choose to include this information within the overview for reference. | ||
+ | |||
====== Anatomy of the overview.html ====== | ====== Anatomy of the overview.html ====== | ||
- | <code> | + | <code html> |
<html><br> | <html><br> | ||
<head><title>Overview or anything you like or nothing at all</title></head><br> | <head><title>Overview or anything you like or nothing at all</title></head><br> | ||
Line 29: | Line 30: | ||
The three displayed elements of this html are | The three displayed elements of this html are | ||
- | * A centred title | + | * A centered title |
* A centered picture | * A centered picture | ||
* One or more sentence descriptions | * One or more sentence descriptions | ||
Line 49: | Line 50: | ||
The title of the overview (not the html <title> above, the name of the mission this overview represents) comes from one of two sources: | The title of the overview (not the html <title> above, the name of the mission this overview represents) comes from one of two sources: | ||
- | * The filename of the mission folder will be displayed. Eg Apples.Pbo.Cain OR | + | * The file name of the mission folder will be displayed. Eg Apples.Pbo.Cain OR |
* The briefingName= contained in the //mission.sqm// of the mission folder, written as follows: | * The briefingName= contained in the //mission.sqm// of the mission folder, written as follows: | ||
- | <code> | + | <code cpp> |
class Intel | class Intel | ||
{ | { | ||
Line 58: | Line 59: | ||
</code> | </code> | ||
- | It would be rare for you to want the mission filename to be displayed. In order to work 'correctly' | + | It would be rare for you to want the mission file name to be displayed. In order to work 'correctly' |
* the briefingName= must exist | * the briefingName= must exist | ||
- | * the briefingName= must be different to the filename. | + | * the briefingName= must be different to the file name. |
There is a "bug" in OFP, in that if the briefing name is identical to the primary name of the mission folder the mission folder is displayed. | There is a "bug" in OFP, in that if the briefing name is identical to the primary name of the mission folder the mission folder is displayed. | ||
Line 67: | Line 68: | ||
**Example:** folder name apples.cain (or apples.pbo.cain) | **Example:** folder name apples.cain (or apples.pbo.cain) | ||
- | <code> | + | <code cpp> |
- | breifingName="apples"; results in the briefing name effectively being ignored. For this reason, you will often see | + | breifingName="apples"; //results in the briefing name effectively being ignored. For this reason, you will often see |
</code> | </code> | ||
- | <code> | + | <code cpp> |
- | breifingName="apples "; (a space is added to force correct display) | + | breifingName="apples "; //(a space is added to force correct display) |
</code> | </code> | ||
Or, the name of the folder containing the mission has underlines or some other device to make it different. | Or, the name of the folder containing the mission has underlines or some other device to make it different. | ||
- | **Note:** Filename title is also displayed as a diagnostic aid if you use cheat sequence -campaign. | + | **Note:** File name title is also displayed as a diagnostic aid if you use cheat sequence -campaign. |
**Pictures** | **Pictures** | ||
Line 92: | Line 93: | ||
</code> | </code> | ||
- | Many simple HTML tags will work in the [[ofp:missions:briefing.html|briefing.html]] or //overview.html//. For an added touch of professionalism, centre your text by adding the following above your main body of description. | + | Many simple HTML tags will work in the [[ofp:missions:briefing.html|briefing.html]] or //overview.html//. For an added touch of professionalism, center your text by adding the following above your main body of description. |
- | <code> | + | <code html> |
< p align="center" > | < p align="center" > | ||
</code> | </code> | ||
A tutorial for creating mission pictures is available Overview Picture. | A tutorial for creating mission pictures is available Overview Picture. | ||
+ | |||
====== See Also ====== | ====== See Also ====== | ||
[[ofp:missions:briefing.html|briefing.html]] | [[ofp:missions:briefing.html|briefing.html]] | ||
- | |||
- | ====== Resources ====== | ||
- | |||
- | [[http://www.flashpoint1985.com/index2.html|BI]] has a few tools to get you started. | ||
- |