Tutorial; NewMissileType
How to Create a New Missile Type by Ranger.
The following tutorial describes how to create a new missile type using an existing missile type as a template.
This tutorial also assumes that you have the undumped Lua files unzipped into your game's "Data" directory and that you have a basic understanding of Microsoft Windows operations.
From this point on the template missile will be referred to as <template_missile>, and the new missile will be referred to as <new_missile>. Replace these names with the appropriate missile names (e.g., hgn_longrangetorpedo
for the template missile, and rng_phoenix2missile
for the new missile).
- Using Spooky's Relic Archive Tool, extract the ".hod" file for <template_missile> from the "homeworld2.big" file. The ".hod" file will automatically be placed in the game's "Data\missile**<template_missile>**" directory.
- Go to the game's "Data\missile" directory.
- Copy and paste the "<template_missile>" directory to your desktop. Rename the copy to "<new_missile>".
- Go to the "<new_missile>" directory.
- Rename the "<template_missile>.events", "<template_missile>.miss" and "<template_missile>.hod" files to "<new_missile>.events", "<new_missile>.miss" and "<new_missile>.hod", respectively.
- Go to the game's "Data\scripts\weaponfire" directory.
- Copy and paste the "<template_missile>" directory to your desktop. Rename the copy to "<new_missile>".
- Go to the "<new_missile>" directory.
- Rename "<template_missile>.wf" file to "<new_missile>.wf".
- Make any desired modifications to the new missile's stats by modifying the corresponding ".events", ".miss", and ".wf" files. If you merely want an exact copy of <template_missile>, you will not need to change anything.
- Create a new weapon (".wepn") file -- or modify an existing one -- and have it use your new missile.
Note: see the StartWeaponConfig function for more information. - Start the game and play a skirmish match to test your new missile.
Steps 10 and 11 are the only steps where you will need to edit the contents of any files (using a text editor, such as Notepad). All other steps merely require you to copy, paste, and rename directories and files.
Updated Formatting? Initial
Updated for HWRM? Initial
| Home | Search | Recent Changes | Revision History | About | User Help | Contributor Help | Discussion |