Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
op2_sdk:textdialogbox [2016/03/28 18:15] – vagabond | op2_sdk:textdialogbox [2016/03/28 18:24] – 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. | + | 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. |
- | Creating the text dialog box programmatically | + | Creating the text dialog box requires the following steps: |
* Write up the briefing/ | * Write up the briefing/ | ||
Line 239: | Line 239: | ||
**Note:** //0x prefix on a number indicates it is in hexadecimal form.// | **Note:** //0x prefix on a number indicates it is in hexadecimal form.// | ||
+ | **Resource Header Example** | ||
<code cpp> | <code cpp> | ||
// | // |