I have made this brief tutorial on copying a unit for basic modifications to hopefully solve some issues people have been having with duplicating units and not getting them to work.
Start off by opening the Data editor.
You will need to have the first 4 of these buttons selected.
*note toggling the first button will be more useful for modifications later.
Step one find your unit
I will copy the marine, which is easily findable via the search box
Step two duplicate the unit
select the following 3 boxes only:
Unit, Actor, Model
*note if you want to edit the weapons and other things you may need to add more but for now I'm just using the unit as a shell.
The first thing you'll notice is that the file is completely copied and just renamed, which is good as you wont have to edit too much back to the original.
The second thing you'll notice is that the game will give you a white blob if you try to paste the unit (or in some cases like mine a black blob)
Step three rename the unit, you do this by double clicking the duplicated unit (it should be in green)
This will help for later on, however the name can always be changed.
Step four setting the model, you do this by right clicking on the model in the unit tree and going to View linked object.
Right I'm going to change the model to marine, however you should be more than able to change to any model you like.
*note the current model will not exist.
To change it find a model part that you want(you can use the search function to make this easier
Step five editing the actor.
Firstly check the Token (this is where the actor links to the unit)
You'll want to copy a few things from the marine actor to your copy if you want it to use the same voice or which ever unit you want it to sound like.
The one area you'll really want to check if anything is Events:
This area is responsible for a lot of the things your unit does and what it looks like while it does it.
You will need to double check all 3 (Send, Target and Terms) are linked to the correct unit/ model ID which in my case is Marine2.
All 3 will have the following two bits that most likely need to be changed if the correct model is not displaying.
A last note do not remove sound files, even if they have nothing in them.
i.e. (Marine_Birth (Unknown)
As they stop a default sound being played globally.
Tutorials submitted by users are copyright of the original author. All other content on this site is copyright TheHelper.net.
Copyright is secured automatically upon creation, and does not require registration