This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hi, guys,
The below is a simple tutorial on how to create a missile ability with physics impact on unit death.
Models Tab
1. Blaster Cannon Missile
Parent: Missile
Set Model -> WraithLaserMissile.m3
2. Blaster Cannon Beam
Parent: Persistent Spell
Set Model -> Liberator_GroundCannon.m3
3. Blaster Cannon Attack Impact
Parent: Impact
Set Model -> Liberator_GroundCannon_Impact.m3
Units Tab
1. Blaster Cannon Weapon
Parent: Default Settings (Unit)
Object Type: Projectile
Set Movement:Mover -> Liberator AG Missile
Effects Tab
1. Blaster Cannon Damage
Effect Type: Damage
Amount: 75
Death: Fire
Effect:Kind -> Ranged
Effect:Visibility -> Visible
Target:Impact Location -> Target Unit
2. Blaster Cannon LM
Effect Type: Launch Missile
Set Impact Effect -> Blaster Cannon Damage
Set Ammo Unit -> Blaster Cannon Weapon
3. Blaster Cannon Targeting Dummy
Effect Type: Set
Actors Tab
Actor Type: Missile
Parent: GenericAttackMissile
Set Model -> Blaster Cannon Missile
Set Unit Name -> Blaster Cannon Weapon
Set Scale -> X: 2.5 Y:2.5 Z:2.5
2. Blaster Cannon Holding Site
Actor Type: Site
Parent: CActorSite
3. Blaster Cannon Beam
Actor Type: Beam (Simple)
Parent: Beam Simple Animation Style One Shot
Add Event:Events+
Effect.BlasterCannonLM.Start
-> At Caster
Create
Effect.BlasterCannonDamage.Start
-> At Target
Create BlasterCannonHoldingSite
RefSet ::HostImpact BlasterCannonHoldingSite
Set Hosting: Host Launch Site Ops -> SOpAttachWeapon
4. Blaster Cannon Attack
Actor Type: Action
Parent: Generic Attack
-> From EffectTreeDescendant
ActionImpact
Effect.BlasterCannonDamage.Stop
ActionImpactPhysics
Set Launch Effect -> Blaster Cannon LM
Set Art:Beam -> Blaster Cannon Beam
Set Art:Missile -> Blaster Cannon Missile
Set Art:Shield Flash Type -> Full
Action Flags -> Tick Launch Force Site
Set Beam Scope -> Caster
Set Impact Map+
Model: Blaster Cannon Attack Impact
Sound: Liberator_AG_Launch_Impact
Set Launch Assets+
Sound: Liberator_AG_Launch
Impact Physics:
Index:0
Attack Model Variation: -1
Match Keys: Basic
Name: RailgunImpact
Physics: Railgun Attack Death Force
Buttons Tab
1. Blaster Cannon Targeting
Set Icon -> btn-ability-terran-detectionconedebuff.dds
2. Blaster Missile
Abilities Tab
1. Blaster Missile
Ability Type: Effect-Target
Set Default Button: Blaster Missile
Set Target Filters: Excluded -> Air, Dead, Hidden, Invulnerable, Missile, Stasis, Structure
Required -> Ground, Visible
Check Enemy
Set Range -> 11
Set Effect -> Blaster Cannon LM
2. Blaster Cannon Targeting Dummy
Set Default Button: Blaster Cannon Targeting
Set Effect -> Blaster Cannon Targeting Dummy
Set Vitals -> 25 Energy
1. Actor Unit for Ghost
Abil.BlasterCannonTargetingDummy.SourceCastStart
AnimPlay Rearm Spell,A
AnimDone
-> AnimName Rearm
AnimClear Rearm
1. Ghost
Abilities : Add Blaster Missile & Blaster Cannon Targeting Dummy abilities, then add the Blaster Cannon Targeting
Command Card and put the Blaster Cannon Targeting Dummy ability for the Command Card.
Triggers Tab
1. Create a New Trigger -> Blaster Cannon Targeting Dummy
Event: Any Player uses Effect Blaster Cannon Targeting Dummy
Local Variable: Player = (Triggering Player)<Integer>
Actions:
Wait 0.6 Game Time Seconds
Order (Triggering Effect Unit(Caster)) to ( Blaster Missile targeting (Triggering Effect Unit(Target)))
Finally, add a Ghost in your map and put some SCVs along in your map to test the Physics Impact from the missile ability.
Attached a Demo map for further clarification. The end result as shown in the link below.
https://streamable.com/a0ebu
Thanks.
Hi, guys,
The below is a simple tutorial on how to create a missile ability with physics impact on unit death.
Models Tab
1. Blaster Cannon Missile
Parent: Missile
Set Model -> WraithLaserMissile.m3
2. Blaster Cannon Beam
Parent: Persistent Spell
Set Model -> Liberator_GroundCannon.m3
3. Blaster Cannon Attack Impact
Parent: Impact
Set Model -> Liberator_GroundCannon_Impact.m3
Units Tab
1. Blaster Cannon Weapon
Parent: Default Settings (Unit)
Object Type: Projectile
Set Movement:Mover -> Liberator AG Missile
Effects Tab
1. Blaster Cannon Damage
Effect Type: Damage
Amount: 75
Death: Fire
Effect:Kind -> Ranged
Effect:Visibility -> Visible
Target:Impact Location -> Target Unit
2. Blaster Cannon LM
Effect Type: Launch Missile
Set Impact Effect -> Blaster Cannon Damage
Set Ammo Unit -> Blaster Cannon Weapon
3. Blaster Cannon Targeting Dummy
Effect Type: Set
Actors Tab
1. Blaster Cannon Missile
Actor Type: Missile
Parent: GenericAttackMissile
Set Model -> Blaster Cannon Missile
Set Unit Name -> Blaster Cannon Weapon
Set Scale -> X: 2.5 Y:2.5 Z:2.5
2. Blaster Cannon Holding Site
Actor Type: Site
Parent: CActorSite
3. Blaster Cannon Beam
Actor Type: Beam (Simple)
Parent: Beam Simple Animation Style One Shot
Add Event:Events+
Effect.BlasterCannonLM.Start
-> At Caster
Create
Effect.BlasterCannonDamage.Start
-> At Target
Create BlasterCannonHoldingSite
Effect.BlasterCannonDamage.Start
RefSet ::HostImpact BlasterCannonHoldingSite
Set Hosting: Host Launch Site Ops -> SOpAttachWeapon
4. Blaster Cannon Attack
Actor Type: Action
Parent: Generic Attack
Add Event:Events+
Effect.BlasterCannonDamage.Start
-> From EffectTreeDescendant
ActionImpact
Effect.BlasterCannonDamage.Stop
-> From EffectTreeDescendant
ActionImpactPhysics
Effect.BlasterCannonLM.Start
-> At Caster
Create
Set Impact Effect -> Blaster Cannon Damage
Set Launch Effect -> Blaster Cannon LM
Set Art:Beam -> Blaster Cannon Beam
Set Art:Missile -> Blaster Cannon Missile
Set Art:Shield Flash Type -> Full
Action Flags -> Tick Launch Force Site
Set Beam Scope -> Caster
Set Impact Map+
Model: Blaster Cannon Attack Impact
Sound: Liberator_AG_Launch_Impact
Set Launch Assets+
Sound: Liberator_AG_Launch
Impact Physics:
Index:0
Attack Model Variation: -1
Match Keys: Basic
Name: RailgunImpact
Physics: Railgun Attack Death Force
Buttons Tab
1. Blaster Cannon Targeting
Set Icon -> btn-ability-terran-detectionconedebuff.dds
2. Blaster Missile
Set Icon -> btn-ability-terran-detectionconedebuff.dds
Abilities Tab
1. Blaster Missile
Ability Type: Effect-Target
Set Default Button: Blaster Missile
Set Target Filters: Excluded -> Air, Dead, Hidden, Invulnerable, Missile, Stasis, Structure
Required -> Ground, Visible
Check Enemy
Set Range -> 11
Set Effect -> Blaster Cannon LM
2. Blaster Cannon Targeting Dummy
Ability Type: Effect-Target
Set Default Button: Blaster Cannon Targeting
Set Target Filters: Excluded -> Air, Dead, Hidden, Invulnerable, Missile, Stasis, Structure
Required -> Ground, Visible
Check Enemy
Set Range -> 11
Set Effect -> Blaster Cannon Targeting Dummy
Set Vitals -> 25 Energy
Actors Tab
1. Actor Unit for Ghost
Add Event:Events+
Abil.BlasterCannonTargetingDummy.SourceCastStart
AnimPlay Rearm Spell,A
AnimDone
-> AnimName Rearm
AnimClear Rearm
Units Tab
1. Ghost
Abilities : Add Blaster Missile & Blaster Cannon Targeting Dummy abilities, then add the Blaster Cannon Targeting
Command Card and put the Blaster Cannon Targeting Dummy ability for the Command Card.
Triggers Tab
1. Create a New Trigger -> Blaster Cannon Targeting Dummy
Event: Any Player uses Effect Blaster Cannon Targeting Dummy
Local Variable: Player = (Triggering Player)<Integer>
Actions:
Wait 0.6 Game Time Seconds
Order (Triggering Effect Unit(Caster)) to ( Blaster Missile targeting (Triggering Effect Unit(Target)))
Finally, add a Ghost in your map and put some SCVs along in your map to test the Physics Impact from the missile ability.
Attached a Demo map for further clarification. The end result as shown in the link below.
https://streamable.com/a0ebu
Thanks.