@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:
- [mission_name].level
- [mission_name].lua
The following optional files may also be found:
- teamcolour.lua
- [mission_name].dat
- [name].nis
- [script].lua
We will look at these files in some detail to examine their roles and contents.
Posts: 5
Participants: 2