While there are a couple of tutorials covering turrets there is no straight forward simple tutorial that explains how to create a custom Turret Unit with Rotation. NOTE THAT I am not 100% sure this would work with models that usually are not rotating, i.e a Siege Tank - this is for you to explore if you are in need of that.
1. Data->Unit-tab->Create Unit: Create a Unit based on the 'Auto-Turret'-unit.
2. Data->Actor-tab->Create Unit-Actor: Create an actor of type Unit and link it to the Unit.
3. Data->Turret-tab->Create Turret: Create a Turret based upon the 'Auto-turret'-turret.
....................................................................................................................................
Here comes the part that took me long to find out due to lack of a simple tutorial. You need MORE THAN just ONE actor. You need a Unit-actor and a Turret-actor.
....................................................................................................................................
4. Data->Actor-tab->Create Turret-Actor: Create an actor of type Turret.
5. Data->Actor-tab->"MyTurretActor" ->Events+: (This field is located in the righ hand window of the data editor).
6. 'Event+' -> 'Right-click' in the empty field and click 'Add Event'.
7. For your newly created event, in the field to the right:
-Msg Type: Turret Enable
- Source Name: Flame Turret
- Sub Name: (Any)
8. Click the icon beneath your newly created 'Event', in other words, the 'Action':
- Msg Type: Create
And that is how it is done! If creating the unit and the actors be sure to use "Based On" to get it right, if you chose to create them from scratch you can look at the corresponding settings for the original content. In other words, look at these for reference:
While there are a couple of tutorials covering turrets there is no straight forward simple tutorial that explains how to create a custom Turret Unit with Rotation. NOTE THAT I am not 100% sure this would work with models that usually are not rotating, i.e a Siege Tank - this is for you to explore if you are in need of that.
[!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]
1. Data->Unit-tab->Create Unit: Create a Unit based on the 'Auto-Turret'-unit.
2. Data->Actor-tab->Create Unit-Actor: Create an actor of type Unit and link it to the Unit.
3. Data->Turret-tab->Create Turret: Create a Turret based upon the 'Auto-turret'-turret.
....................................................................................................................................
Here comes the part that took me long to find out due to lack of a simple tutorial. You need MORE THAN just ONE actor. You need a Unit-actor and a Turret-actor.
....................................................................................................................................
4. Data->Actor-tab->Create Turret-Actor: Create an actor of type Turret.
5. Data->Actor-tab->"MyTurretActor" ->Events+: (This field is located in the righ hand window of the data editor).
6. 'Event+' -> 'Right-click' in the empty field and click 'Add Event'.
7. For your newly created event, in the field to the right:
-Msg Type: Turret Enable
- Source Name: Flame Turret
- Sub Name: (Any)
8. Click the icon beneath your newly created 'Event', in other words, the 'Action':
- Msg Type: Create
[!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]
And that is how it is done! If creating the unit and the actors be sure to use "Based On" to get it right, if you chose to create them from scratch you can look at the corresponding settings for the original content. In other words, look at these for reference:
Data->Units-> 'Auto-Turret'
Data->Turrets-> 'Auto-Turret'
Data->Actors-> 'Auto Turret' (Actor Type: Unit)
Data->Actors-> 'Auto Turret Turret' (Actor Type: Turret)
[!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]
Common Errors:
Be sure to check the fields: 'Combat: Weapons+' and 'Combat: Turrets+'.
Be sure to check all the fields compared with the original turret: Data->Turrets-> 'Auto-Turret'
[!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!]
I hope this will help someone who have problems, just like I had!
Best Regards, Ice_bane @ EU
@Ice_bane: Go
Nice thanks!!!! Will try this ASAP and report back.
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)