Overview.html: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "[[category" to "[[Category")
m (Fix categories?)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Feature|arma3|Overview.html is obsolete in Arma 3, use [[Mission Overview]].}}
{{TOC|side}}
{{Feature|arma3|Overview.html is obsolete in {{arma3}}; instead, use [[Mission Overview]].}}


===Introduction===
The ''overview.html'' is an optional file, which simply means the game won't crash without it, but it adds polish to your creative efforts. It appears on the notebook before you start a mission or campaign.
The ''overview.html'' is an optional file, which simply means the game won't crash without it, but it adds polish to your creative efforts. It appears on the notebook before you start a mission or campaign. When you click on a mission, on the right you see an overview, which is mostly comprised of a picture and one or two lines of text. Alternatively, you could de-PBO an existing mission and use its overview file as a template.
When you click on a mission, on the right you see an overview, which is mostly comprised of a picture and one or two lines of text. Alternatively, you could de-PBO an existing mission and use its overview file as a template.


The overview applies to:
The overview applies to:
Line 8: Line 9:
* single missions,
* single missions,
* a campaign, and
* a campaign, and
* individual missions of a campaign.
* individual missions of a campaign.
 
The overview of a mission within a campaign is not visible until after you have played that mission. The intent of all overviews is to provide a brief idea of what the mission is about. The keyword is 'brief', because space in the notepad is at a premium.


The overview of a mission within a campaign is not visible until after you have played that mission. The intent of all overviews is to provide a brief idea of what the mission is about.
The keyword is 'brief', because space in the notepad is at a premium.


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.




== File Anatomy ==
==Anatomy of the overview.html==
 
 
<html><br>
<head><title>Overview or anything you like or nothing at all</title></head><br>
<body><br>
< h2 align="center">YOUR WAR< /h2><br>
< p align="center"><img src="Apicture.jpg" width="230" height="170"></p><br>
< p>a single sentence description< /p><br>
< p>another  sentence if you must< /p><br>
</body><br>
</html><br>
 
 


The three displayed elements of this html are
<syntaxhighlight lang="html">
<html>
<head>
<title>Overview or anything you like or nothing at all</title>
</head>
<body>
<h2 align="center">YOUR WAR</h2>
<p align="center"><img src="my_picture.jpg" width="230" height="170"></p>
<p>a single sentence description</p>
<p>another sentence if you must</p>
</body>
</html>
</syntaxhighlight>


* A centred title
The three displayed elements of this html are:
* A centered title
* A centered picture
* A centered picture
* One or more sentence descriptions
* One or more sentence descriptions
Line 40: Line 40:
Alter colored content to whatever you desire.
Alter colored content to whatever you desire.


===Centered Title===
=== Centered Title ===


<u>CAMPAIGN ONLY</u> Do not use this for missions
'''CAMPAIGN ONLY''' - do not use this for missions.


Using this in missions has no ill effect, however the title is already displayed as part of the mission content and you are losing valuable space to repeat the same thing. h2 tags can be used to make the font bold.
Using this in missions has no ill effect, however the title is already displayed as part of the mission content and you are losing valuable space to repeat the same thing. h2 tags can be used to make the font bold.


'''Note:''' Other document sources indicate this should be a header tag "''Main''". They never discuss it in the context of campaign overviews, only 'missions'. It is completely unnecessary and will mess up picture positioning if you use it.
{{Feature|informative|
Other document sources indicate this should be a header tag "''Main''".
They never discuss it in the context of campaign overviews, only 'missions'.
It is completely unnecessary and will mess up picture positioning if you use it.
}}


===Default Title===
=== Default Title ===


Centered default titles occur unconditionally for all missions. They do not appear for campaign overviews.
Centered default titles occur unconditionally for all missions. They do not appear for campaign overviews.


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 <syntaxhighlight lang="html" inline><title></syntaxhighlight> 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.Cain.pbo OR
* The filename of the mission folder will be displayed e.g {{hl|Apples.Cain.pbo}}, 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:


class Intel
<syntaxhighlight lang="cpp">
{
class Intel
  breifingName= "One Big Pineapple";
{
briefingName="One Big Pineapple";
</syntaxhighlight>


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 filename to be displayed. In order for it to work 'correctly':


* the briefingName= must exist
* the briefingName= must exist
* the briefingName= must be different to the filename.
* the briefingName= must be different from the filename.


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}} where if the briefing name is identical to the primary name of the mission folder the mission folder is displayed.


'''Example:''' folder name apples.cain (or apples.pbo.cain)
'''Example:''' folder name apples.cain (or apples.pbo.cain)


breifingName="apples" : results in the briefing name effectively being ignored. For this reason, you will often see
<syntaxhighlight lang="cpp">briefingName="apples"</syntaxhighlight> - results in the briefing name effectively being ignored.
 
For this reason, you will often see <syntaxhighlight lang="cpp">breifingName="apples "</syntaxhighlight> with an additional space to force correct display.
breifingName="apples " : (a space is added to force correct display)


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.
{{Feature|informative|Filename title is also displayed as a diagnostic aid if the {{hl|-campaign}} cheat is used.}}
 
===Pictures===


Many people have trouble creating a good overview picture.  Pictures must be 2^n pixels wide and 2^m pixels high (where n and m are whole numbers) keep in mind that very large pictures will not fit on the page.  Possible dimensions (width and/or height) in pixels are:
=== Pictures ===


32
Many people have trouble creating a good overview picture. Pictures must be 2^n pixels wide and 2^m pixels high (where n and m are whole numbers) keep in mind that very large pictures will not fit on the page.
64
Possible dimensions (width and/or height) in pixels are:
128
{{Columns|3|
256
* 32
512
* 64
1024
* 128
* 256
* 512
* 1024
}}


Many simple HTML tags will work in the [[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 [[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.


< p align="center" >
<syntaxhighlight lang="html">
 
<p align="center">
A tutorial for creating mission pictures is available [[Overview Picture|here]].
</syntaxhighlight>


See {{Link|Operation Flashpoint: Overview Picture|Overview Picture}} for a mission picture tutorial.


==See Also==


[[Briefing.html]]
== See Also ==


==Resources==
* [[Briefing.html]]
* [[OFPEC]] hosts a variety of tutorials on building a better briefing.


[http://www.flashpoint1985.com/index2.html BI] has a few tools to get you started.


[[OFPEC]] hosts a variety of tutorials on building a better briefing.
[[Category:Mission Editing]]
[[Category:ArmA: Mission Editing]]
{{GameCategory|ofp|Editing}}
[[Category:Operation Flashpoint: Editing]]
{{GameCategory|arma1|Mission Editing}}
{{GameCategory|arma2|Editing}}

Latest revision as of 15:38, 30 June 2024

Arma 3
Overview.html is obsolete in Arma 3; instead, use Mission Overview.

The overview.html is an optional file, which simply means the game won't crash without it, but it adds polish to your creative efforts. It appears on the notebook before you start a mission or campaign. When you click on a mission, on the right you see an overview, which is mostly comprised of a picture and one or two lines of text. Alternatively, you could de-PBO an existing mission and use its overview file as a template.

The overview applies to:

  • single missions,
  • a campaign, and
  • individual missions of a campaign.

The overview of a mission within a campaign is not visible until after you have played that mission. The intent of all overviews is to provide a brief idea of what the mission is about. The keyword is 'brief', because space in the notepad is at a premium.

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.


File Anatomy

<html>
<head>
	<title>Overview or anything you like or nothing at all</title>
</head>
<body>
	<h2 align="center">YOUR WAR</h2>
	<p align="center"><img src="my_picture.jpg" width="230" height="170"></p>
	<p>a single sentence description</p>
	<p>another sentence if you must</p>
</body>
</html>

The three displayed elements of this html are:

  • A centered title
  • A centered picture
  • One or more sentence descriptions

Alter colored content to whatever you desire.

Centered Title

CAMPAIGN ONLY - do not use this for missions.

Using this in missions has no ill effect, however the title is already displayed as part of the mission content and you are losing valuable space to repeat the same thing. h2 tags can be used to make the font bold.

Other document sources indicate this should be a header tag "Main".

They never discuss it in the context of campaign overviews, only 'missions'.

It is completely unnecessary and will mess up picture positioning if you use it.

Default Title

Centered default titles occur unconditionally for all missions. They do not appear for campaign overviews.

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 e.g Apples.Cain.pbo, or
  • The briefingName= contained in the mission.sqm of the mission folder, written as follows:
class Intel
{
	briefingName="One Big Pineapple";

It would be rare for you to want the mission filename to be displayed. In order for it to work 'correctly':

  • the briefingName= must exist
  • the briefingName= must be different from the filename.

There is a "bug" in Operation Flashpoint where if the briefing name is identical to the primary name of the mission folder the mission folder is displayed.

Example: folder name apples.cain (or apples.pbo.cain)

briefingName="apples"

- results in the briefing name effectively being ignored. For this reason, you will often see

breifingName="apples "

with an additional space to force correct display.

Or, the name of the folder containing the mission has underlines or some other device to make it different.

Filename title is also displayed as a diagnostic aid if the -campaign cheat is used.

Pictures

Many people have trouble creating a good overview picture. Pictures must be 2^n pixels wide and 2^m pixels high (where n and m are whole numbers) keep in mind that very large pictures will not fit on the page. Possible dimensions (width and/or height) in pixels are:

  • 32
  • 64
  • 128
  • 256
  • 512
  • 1024

Many simple HTML tags will work in the briefing.html or overview.html. For an added touch of professionalism, centre your text by adding the following above your main body of description.

<p align="center">

See Overview Picture for a mission picture tutorial.


See Also