- Joined
- Jun 14, 2009
- Messages
- 124
Well, this is my first tutorial and I hope you enjoy!
In this tutorial I'll show you how to make a turret by making a unit.
We'll create the Heavy Mothership.
My english is not the best!
Thanks to ProzaicMuze from sc2mapster.
Actor - Events :
Event
Term
Action
-------------------------------------------------------------------------------
Effects Tab
• Create a new Effect named Turret 1 (Damage) with Effect Type : Damage
-- Set AI Notify Flags : Hurt Enemy
-- Set Amount : 30
-- Set Death : Fire
-- Set Flags : Notification
-- Set Kind : Ranged
-- Set Response Flags : [Acquire/Flee]
Duplicate 2 time and change ''1'' to ''2'' and ''3''
-------------------------------------------------------------------------------
Weapon Tab
• Create a new Weapon named Turret 1
-- Set Effect : Turret 1 (Damage)
-- Set Backswing : 0
-- Set Damage Point : 0
-- Set Period : 1.5
-- Set Damage Display Effect : Turret 1 (Damage)
-- Set Icon : btn-building-protoss-photoncannon.dds
-- Set Options : [Can Initiate Attack/Only Fire While Attacking]
-- Set Target Filters : Exclude [Dead/Hidden/Invulnerable/Missile/Self/Stasis] and Require [Visible]
Duplicate 2 time and change ''1'' to ''2'' and ''3''
Don't forget to asociate :
''1'' with ''1''
''2'' with ''2''
''3'' with ''3''
-- Set Damage Point : 0.5 and 1
-------------------------------------------------------------------------------
Turret Tab
• Create a new Turret named Turret 1
-- Set Idle : Spin
-- Set Yaw Arc : 360
-- Set Yaw Idle Arc : 45
-- Set Yaw Rate : 360
-- Set Yaw Start : 0
Duplicate 2 time and change ''1'' to ''2'' and ''3''
-------------------------------------------------------------------------------
Model Tab
• Create a new Model named Heavy Motheship Turret
-- Set Model : Pylon.m3
-------------------------------------------------------------------------------
• Create a new Model named Turret Beam
-- Set Model : ColossusBeam.m3
-------------------------------------------------------------------------------
• Create a new Model named Turret Death
-- Set Model : PylonDeath.m3
-------------------------------------------------------------------------------
Unit Tab
• Duplicate the Mothership and its Actor.
-- Set Name : Heavy Mothership.
-- Open Weapon + and add :
---- Turret :
-------- Turret 1
-------- Turret 2
-------- Turret 3
---- Weapon :
-------- Turret 1
-------- Turret 2
-------- Turret 3
• Set the actor Name : Heavy Mothership
-------------------------------------------------------------------------------
Actor Tab
• Create a new Actor named Turret 1 (Location) with Actor Type : Site Operation (Local Offset)
-- Set Local Offset :
---- X Offset : 0.00
---- Y Offset : 1.50
---- Z Offset : 1.00
-------------------------------------------------------------------------------
• Create a new Actor named Turret 2 (Location) with Actor Type : Site Operation (Local Offset)
-- Set Local Offset :
---- X Offset : 1.25
---- Y Offset :-0.75
---- Z Offset : 1.00
-------------------------------------------------------------------------------
• Create a new Actor named Turret 3 (Location) with Actor Type : Site Operation (Local Offset)
-- Set Local Offset :
---- X Offset :-1.25
---- Y Offset :-0.75
---- Z Offset : 1.00
-------------------------------------------------------------------------------
• Create a new Actor named Turret 1 with Actor Type : Model and Based On : ModelAddition
-- Set Model : Turret
-- Set Host+ : Actor, Heavy Motheship
-- Set Host Site Operations+ : SopAttachOrigin and Turret 1 (Location)
-- Open Event+ and Add :
---- Unit Birth - Heavy Mothership
-------- Create
---- Unit Death - Heavy Mothership
-------- Model Swap Turret Death
---- Actor Creation
-------- Animation Play
------------ Name : Attach
------------ Animation Properties : Stand
------------ Flags : Play Forever
---- Model Swapped
-------- Animation Play
------------ Name : Death
------------ Animation Properties : Death
---- AnimDone
-------- Animation Name : Death (Term)
-------- Destroy
Duplicate 2 time and change ''1'' to ''2'' and ''3''
Don't forget to asociate :
''1'' with ''1''
''2'' with ''2''
''3'' with ''3''
-------------------------------------------------------------------------------
• Create a new Actor named Turret Beam with Actor Type : Beam Simple and Based On : Beam Simple Animation Style One Shot
-- Set Model : Turret Beam
-- Open Event+ and Add :
---- Actor Creation
-------- Animation Play
------------ Name : Beam
------------ Animation Properties : Stand
------------ Time Variant : 0.5
------------ Time Type : Duration
---- Animation Done
-------- Destroy
-------------------------------------------------------------------------------
• Create a new Actor named Site 1 with Actor Type : Site
-- Set Host+ : Actor, Turret 1
-- Set Host Site Operation+ : SOpAttachWeapon
-- Open Event+ and Add :
---- Unit Birth - Heavy Mothership
-------- Create
---- Unit Death - Heavy Mothership
-------- Destroy
Duplicate 2 time and change ''1'' to ''2'' and ''3''
-------------------------------------------------------------------------------
• Create a new Actor named Turret 1 Beam Attack with Actor Type : Action and Based On : GenericAttack
-- Set Beam : Actor, Turret Beam
-- Set Launch Assets+ : Sound, Colossus_AttackLaunch
-- Set Impact Map+ : Row number 1
---- Art, Colossus Attack Beam Impact
---- Sound, Colossus_AttackImpact
-- Set Launch Site : Sound, Actor, Site 1
-- Open Event+ and Add :
---- Effect - Turret 1 (Damage)
-------- Create
Duplicate 2 time and change ''1'' to ''2'' and ''3''
Don't forget to asociate :
''1'' with ''1''
''2'' with ''2''
''3'' with ''3''
-------------------------------------------------------------------------------
• Create a new Actor named Turret 1 Actor with Actor Type : Turret
-- Set Turret Body+ : Actor, Turret 1
-- Set Yaw Query+ : Direct, Turret Z
-- Open Event+ and Add :
---- Turret Enable - Turret 1
-------- Create
Duplicate 2 time and change ''1'' to ''2'' and ''3''
Don't forget to asociate :
''1'' with ''1''
''2'' with ''2''
''3'' with ''3''
-------------------------------------------------------------------------------
Well, I have done. I didn't re-read my tutorial so if there is any error or something just say it to me.
Any question about turret?
Thanks for reading my tutorial.
*I will put more image.
In this tutorial I'll show you how to make a turret by making a unit.
We'll create the Heavy Mothership.

My english is not the best!
Thanks to ProzaicMuze from sc2mapster.
Actor - Events :
Event
Term
Action
-------------------------------------------------------------------------------
Effects Tab
• Create a new Effect named Turret 1 (Damage) with Effect Type : Damage
-- Set AI Notify Flags : Hurt Enemy
-- Set Amount : 30
-- Set Death : Fire
-- Set Flags : Notification
-- Set Kind : Ranged
-- Set Response Flags : [Acquire/Flee]
Duplicate 2 time and change ''1'' to ''2'' and ''3''
-------------------------------------------------------------------------------
Weapon Tab
• Create a new Weapon named Turret 1
-- Set Effect : Turret 1 (Damage)
-- Set Backswing : 0
-- Set Damage Point : 0
-- Set Period : 1.5
-- Set Damage Display Effect : Turret 1 (Damage)
-- Set Icon : btn-building-protoss-photoncannon.dds
-- Set Options : [Can Initiate Attack/Only Fire While Attacking]
-- Set Target Filters : Exclude [Dead/Hidden/Invulnerable/Missile/Self/Stasis] and Require [Visible]
Duplicate 2 time and change ''1'' to ''2'' and ''3''
Don't forget to asociate :
''1'' with ''1''
''2'' with ''2''
''3'' with ''3''
-- Set Damage Point : 0.5 and 1
-------------------------------------------------------------------------------
Turret Tab
• Create a new Turret named Turret 1
-- Set Idle : Spin
-- Set Yaw Arc : 360
-- Set Yaw Idle Arc : 45
-- Set Yaw Rate : 360
-- Set Yaw Start : 0
Duplicate 2 time and change ''1'' to ''2'' and ''3''
-------------------------------------------------------------------------------
Model Tab
• Create a new Model named Heavy Motheship Turret
-- Set Model : Pylon.m3
-------------------------------------------------------------------------------
• Create a new Model named Turret Beam
-- Set Model : ColossusBeam.m3
-------------------------------------------------------------------------------
• Create a new Model named Turret Death
-- Set Model : PylonDeath.m3
-------------------------------------------------------------------------------
Unit Tab
• Duplicate the Mothership and its Actor.
-- Set Name : Heavy Mothership.
-- Open Weapon + and add :
---- Turret :
-------- Turret 1
-------- Turret 2
-------- Turret 3
---- Weapon :
-------- Turret 1
-------- Turret 2
-------- Turret 3
• Set the actor Name : Heavy Mothership
-------------------------------------------------------------------------------
Actor Tab
• Create a new Actor named Turret 1 (Location) with Actor Type : Site Operation (Local Offset)
-- Set Local Offset :
---- X Offset : 0.00
---- Y Offset : 1.50
---- Z Offset : 1.00
-------------------------------------------------------------------------------
• Create a new Actor named Turret 2 (Location) with Actor Type : Site Operation (Local Offset)
-- Set Local Offset :
---- X Offset : 1.25
---- Y Offset :-0.75
---- Z Offset : 1.00
-------------------------------------------------------------------------------
• Create a new Actor named Turret 3 (Location) with Actor Type : Site Operation (Local Offset)
-- Set Local Offset :
---- X Offset :-1.25
---- Y Offset :-0.75
---- Z Offset : 1.00
-------------------------------------------------------------------------------
• Create a new Actor named Turret 1 with Actor Type : Model and Based On : ModelAddition
-- Set Model : Turret
-- Set Host+ : Actor, Heavy Motheship
-- Set Host Site Operations+ : SopAttachOrigin and Turret 1 (Location)
-- Open Event+ and Add :
---- Unit Birth - Heavy Mothership
-------- Create
---- Unit Death - Heavy Mothership
-------- Model Swap Turret Death
---- Actor Creation
-------- Animation Play
------------ Name : Attach
------------ Animation Properties : Stand
------------ Flags : Play Forever
---- Model Swapped
-------- Animation Play
------------ Name : Death
------------ Animation Properties : Death
---- AnimDone
-------- Animation Name : Death (Term)
-------- Destroy
Duplicate 2 time and change ''1'' to ''2'' and ''3''
Don't forget to asociate :
''1'' with ''1''
''2'' with ''2''
''3'' with ''3''
-------------------------------------------------------------------------------
• Create a new Actor named Turret Beam with Actor Type : Beam Simple and Based On : Beam Simple Animation Style One Shot
-- Set Model : Turret Beam
-- Open Event+ and Add :
---- Actor Creation
-------- Animation Play
------------ Name : Beam
------------ Animation Properties : Stand
------------ Time Variant : 0.5
------------ Time Type : Duration
---- Animation Done
-------- Destroy
-------------------------------------------------------------------------------
• Create a new Actor named Site 1 with Actor Type : Site
-- Set Host+ : Actor, Turret 1
-- Set Host Site Operation+ : SOpAttachWeapon
-- Open Event+ and Add :
---- Unit Birth - Heavy Mothership
-------- Create
---- Unit Death - Heavy Mothership
-------- Destroy
Duplicate 2 time and change ''1'' to ''2'' and ''3''
-------------------------------------------------------------------------------
• Create a new Actor named Turret 1 Beam Attack with Actor Type : Action and Based On : GenericAttack
-- Set Beam : Actor, Turret Beam
-- Set Launch Assets+ : Sound, Colossus_AttackLaunch
-- Set Impact Map+ : Row number 1
---- Art, Colossus Attack Beam Impact
---- Sound, Colossus_AttackImpact
-- Set Launch Site : Sound, Actor, Site 1
-- Open Event+ and Add :
---- Effect - Turret 1 (Damage)
-------- Create
Duplicate 2 time and change ''1'' to ''2'' and ''3''
Don't forget to asociate :
''1'' with ''1''
''2'' with ''2''
''3'' with ''3''
-------------------------------------------------------------------------------
• Create a new Actor named Turret 1 Actor with Actor Type : Turret
-- Set Turret Body+ : Actor, Turret 1
-- Set Yaw Query+ : Direct, Turret Z
-- Open Event+ and Add :
---- Turret Enable - Turret 1
-------- Create
Duplicate 2 time and change ''1'' to ''2'' and ''3''
Don't forget to asociate :
''1'' with ''1''
''2'' with ''2''
''3'' with ''3''
-------------------------------------------------------------------------------
Well, I have done. I didn't re-read my tutorial so if there is any error or something just say it to me.

Any question about turret?
Thanks for reading my tutorial.
*I will put more image.
Attachments
Last edited: