As the title sais, I want to make the yamato gun a weapon.
Yes it is very simple as only thing that is missing is the Weapon object where I just set the existing Effects and actors.
What I am strugling with is make the yamato gun charge up (with the model and sound) before firing just like the ability does.
In the ability this is done via Battlecruiser Yamato Attack Charge Model (ModelAddition Actor) and Battlecruiser Yamato Attack Charge Sound (SoundContinous Actor) and I can't find out how they are connected and if and how to use them.
You have to add a persistent effect/behavior to replicate the charge time. Then you can use Effect.*.Start/Stop or Behavior.*.On/Off actor events to create the sound+model.
set UI: Icon = Assets\Textures\btn-ability-terran-yamatogun-color.dds
set Target Filters to exclude [Dead/Hidden/Invulnerable/Missile/Stasis] and require [Ground/Visible]
Modify the cators:
Battlecruiser Yamato Attack Charge Model (ModelAddition Actor) and
Battlecruiser Yamato Attack Charge Sound (SoundContinous Actor)
open Events + then add the following events to both actors:
WeaponStart.YamatoGun.AttackStart
Create
WeaponStop.YamatoGun.AttackStop
Destroy
Using the same logic Blizzard uses with the original ability. Create the model adition and sound for the charging effect of the yamato gun. When the attack starts, then Destroy the actors after the attack is finished.
Hi All.
As the title sais, I want to make the yamato gun a weapon.
Yes it is very simple as only thing that is missing is the Weapon object where I just set the existing Effects and actors.
What I am strugling with is make the yamato gun charge up (with the model and sound) before firing just like the ability does.
In the ability this is done via Battlecruiser Yamato Attack Charge Model (ModelAddition Actor) and Battlecruiser Yamato Attack Charge Sound (SoundContinous Actor) and I can't find out how they are connected and if and how to use them.
Can anyone help?
Thanks.
You have to add a persistent effect/behavior to replicate the charge time. Then you can use Effect.*.Start/Stop or Behavior.*.On/Off actor events to create the sound+model.
Actually not. The Stats - Damage Point also affects when it occurs. Still visual wise a buff is best for the bar that goes up before attack.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
This did it. Thank you alot.
For those who care, this is what needed to be done.
Create a new weapon named Yamato Gun
Modify the cators:
Battlecruiser Yamato Attack Charge Model (ModelAddition Actor) and Battlecruiser Yamato Attack Charge Sound (SoundContinous Actor)
open Events + then add the following events to both actors:
Using the same logic Blizzard uses with the original ability. Create the model adition and sound for the charging effect of the yamato gun. When the attack starts, then Destroy the actors after the attack is finished.