op2_sdk:textdialogbox

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
op2_sdk:textdialogbox [2016/03/28 18:24] vagabondop2_sdk:textdialogbox [2016/03/29 14:54] vagabond
Line 1: Line 1:
 ====== In Game Text Dialog Box ====== ====== In Game Text Dialog Box ======
  
-A text dialog box can be opened when a new colony mission is started to give background story and mission briefings. The dialog box can be formatted to match the rest of the Outpost 2 UI theme using odasl.+The Outpost 2 SDK supports adding custom dialog boxes during single player scenarios. Often dialog boxes are used to provide mission briefings or background story for colony missionsSierra's odasl library can format dialog boxes to match the Outpost 2 UI theme.
  
-Creating the text dialog box requires the following steps:+Creating an Outpost themed text dialog box requires the following steps:
  
   * Write up the briefing/backstory in rich text format (RTF).   * Write up the briefing/backstory in rich text format (RTF).
Line 19: Line 19:
 Typically, the RTF file is saved as briefing.rtf and added to the root directory of the scenario's project. Typically, the RTF file is saved as briefing.rtf and added to the root directory of the scenario's project.
  
-**Note:** //Although Microsoft Word can create and save RTF documents, it is not recommended. Microsoft Word adds large amounts of metadata to the document that is not necessary for Outpost 2, typically increasing a small amount of text from about 3 kb to about 50 kb. This file size increase will carry into the compiled DLL.//+**Note:** Although Microsoft Word can create and save RTF documents, it is not recommended. Microsoft Word adds large amounts of metadata to the document that is not necessary for Outpost 2, typically increasing a small amount of text from about 3 kb to about 50 kb. This file size increase will carry into the compiled DLL.
  
 **Example RTF file** **Example RTF file**
  • op2_sdk/textdialogbox.txt
  • Last modified: 2016/12/28 19:03
  • by vagabond