There's "help" kind of sound under unit actor's sounds. I'm curious, what controls how frequent it shoots? I made a unit, and I want it to use that "help" sound when he's attacked outside the camera sight, but it doesn't seem to work. Anyone knows anything about it?
The mystery is solved. There's DU_WEAP and CEffectDamage parents of damage effects. The first one causes the help reaction (minimap icon and "help" sound). The second one doesn't. The difference between them is some default flags. One of them is "Call for help" under "Search: Search flags". But this one alone is not enough, something else matters too, but I'm lazy to figure out what exactly, will just not forget to inherit new damage effects from DU_WEAP parent next time.
Edit: the second required flag is Effect: flags -> "Notification". If these two present, the damage causes its target to call for help.
Actually "parent" field is something filled by default when creating stuff from scratch, and those DU_WEAP and CEffectDamage or any other default parents are clean base classes. I used to create stuff this way, and I don't remember a single need of fixing anything in data during last 2.5 years of intense patch bombardment from blizzard. I just had a habit to pick the same parents blizz used for their data stuff, and always used DU_WEAP, but lately been rusty after a long break, and forgot to pick the right one.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
There's "help" kind of sound under unit actor's sounds. I'm curious, what controls how frequent it shoots? I made a unit, and I want it to use that "help" sound when he's attacked outside the camera sight, but it doesn't seem to work. Anyone knows anything about it?
Try the Alerts data type and the gameplay constants (although a lot of fields have been moved around in that department).
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
@DrSuperEvil: Go
The mystery is solved. There's DU_WEAP and CEffectDamage parents of damage effects. The first one causes the help reaction (minimap icon and "help" sound). The second one doesn't. The difference between them is some default flags. One of them is "Call for help" under "Search: Search flags". But this one alone is not enough, something else matters too, but I'm lazy to figure out what exactly, will just not forget to inherit new damage effects from DU_WEAP parent next time.
Edit: the second required flag is Effect: flags -> "Notification". If these two present, the damage causes its target to call for help.
So that is why I could not find it. I make stuff from scratch so do not have these lineage problems (enough troubles caused by patch updates).
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
@DrSuperEvil: Go
Actually "parent" field is something filled by default when creating stuff from scratch, and those DU_WEAP and CEffectDamage or any other default parents are clean base classes. I used to create stuff this way, and I don't remember a single need of fixing anything in data during last 2.5 years of intense patch bombardment from blizzard. I just had a habit to pick the same parents blizz used for their data stuff, and always used DU_WEAP, but lately been rusty after a long break, and forgot to pick the right one.