Quantcast
Channel: Homeworld Mods and Modding - The Official Gearbox Software Forums
Viewing all articles
Browse latest Browse all 663

[TUTORIAL] Single Player Mission

$
0
0

@Dom2 wrote:

I have been asked about making a single player mission tutorial on several occasions, so here goes…

I am not setting out to make a comprehensive guide, but rather to give an overview of the basics to help a newcomer to get started. I will not go into details of function arguments and usage. For that, see:

hw2wiki.net/wiki.hw2.info/FunctionReference.html

We will have a quick look at one of HW2’s stock missions to review the file structure and the content of each of the files required to make a single player mission.

Firstly, let’s have a look at the file structure for the first tutorial mission:

leveldata/campaign/tutorial/m01/

As with all Homeworld modding, the file structure must be respected or it will not work.

Within the mission directory, the following two files are the minimum necessary for a working mission:

  1. [mission_name].level
  2. [mission_name].lua

The following optional files may also be found:

  1. teamcolour.lua
  2. [mission_name].dat
  3. [name].nis
  4. [script].lua

We will look at these files in some detail to examine their roles and contents.

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 663

Trending Articles