+++ STEP 7 - A BIT OF SCRIPTING +++
I have not dealt with scripting in my previous tutorials and I do not intend to go into detail on it here. However it is necessary to do a bit of scripting to get our innate subsystem to work. We will need to create two files in the same directory as the HOD file:
They can both be copies of one of the other innate subsystems, because they do not contain anything special. To do this, the following steps are required (I assume that you know how to do this - if not, reply here and someone will help you).
- decrypt big file HW2Ships.big
- extract the above files (I used hgn_des_engine but any engine subsystem will probably do)
- copy them and rename as shown above
The final thing we need to do is to add a line of code to the tur_p1mothership.ship file. Again, follow the steps above to get the file from Homeworld2.big and place it with tur_p1mothership.HOD in
C:\Program Files (x86)\Steam\steamapps\common\Homeworld\HomeworldRM\Data\ship\tur_p1mothership\
Now open tur_p1mothership.ship with Notepad++ and insert the following line after the “Weapon_Gun11” line:
This tells the game that the ship has a hardpoint called “Hardpoint_Engine” (which picks up the name of the dummies in the ship HOD) and that the hardpoint itself is “Tur_CarrierEngine” (which points to the files we just created).
Now launch the game and click on the Turanic carrier to see the hardpoint in action: