The weapon uses an effect. This effect is used to create an Action type actor that does the sound unless there is a separate Sound type actor to do it. They use Effect actor events to trigger creation as your other weapon is using a different effect it is not creating the actor.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Hello guys,
i just came back to sc2 development and tried renees warcraft 3 mod.
So far so good. I modified a custom unit (Thrall).
I changed the weapon and the model and a few other minor things.
The weapon has been changed now to the riflemans weapon.
The problem now is, when thrall is shooting i dont hear any weapon sound anymore.
A rifleman has the nice shotgun sound. Thrall doesnt. I think it must have something to do with the
Actor for creating the sound when the weapon effect takes place. But i am lost here.
Does anyone know how i could solve this?
When i change the weapon back to thrall's then i see his weapon+sound, but i want the rifleman's weapon with sound ;P
Any help much appreciated.
The weapon uses an effect. This effect is used to create an Action type actor that does the sound unless there is a separate Sound type actor to do it. They use Effect actor events to trigger creation as your other weapon is using a different effect it is not creating the actor.
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