op2_sdk:textdialogbox

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.

Creating the text dialog box programmatically requires the following steps

  • Write up the briefing/backstory in rich text format (RTF).
  • Add a resource script (.rc) to the project detailing the design of the dialog box.
  • Add a resource header file (typically resource.h) to the project providing a link between the resource script file and the rest of the source code.
  • Add code to the scenario that formats and opens the dialog screen through the windows API.

- Go Back to Programming a Scenario
- Go Back to Outpost 2 Mapmaking
- Go Back to Outpost 2 Main page
- Go Back to Wiki Home Page

  • op2_sdk/textdialogbox.1459112790.txt.gz
  • Last modified: 2016/03/27 21:06
  • by vagabond