Hi there. I have created a unit that has an energy barrier ability. The actual ability works fine, it drains the energy when the unit gets hit but... It just looks awful when the missiles/impact effects happen on the unit and not the actual barrier model around it. How can I make the impacts from weapons apply on the barrier and not the unit?
Thanks,
At the moment, the unit uses an ability to apply a behaviour to itself which gives it the "energy barrier". The behaviour is just a buff to drain energy when its getting damage.
I created an actor to apply a shield model around the unit when the barriers Create Persistent effect is in place. The actual shield does pop up when the ability is in use, and it disappears when the duration runs out. I have tried using a Shield Impact actor but it never worked for me... unless I made it wrong? Which is a possibility.
i had a problem similar to this before. what i did was to have the persistent effect fire a search effect in its periodic effects every 0.1 sec or so. the search effect would have a radius equal to the visual radius of the shield (trial and error approach to find the right radius :P) and would only target missiles and would do a damage effect (with its "kill" flag checked) to them. the missiles would play their death effects when they were targeted and destroyed by the search and it would look like they hit the shield.
that's one way to do it if you can't find a different way that you like.
As long as you using default action actor attack there is probably one way to do it (not sure 100%), just adjust your shield radius of the model to fit size of a barrier, however u will need a unit with shields for this to work. Map attached.
Hi there. I have created a unit that has an energy barrier ability. The actual ability works fine, it drains the energy when the unit gets hit but... It just looks awful when the missiles/impact effects happen on the unit and not the actual barrier model around it. How can I make the impacts from weapons apply on the barrier and not the unit? Thanks,
Marc
Shield or Shield Impact actor? Need more details otherwise.
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
At the moment, the unit uses an ability to apply a behaviour to itself which gives it the "energy barrier". The behaviour is just a buff to drain energy when its getting damage.
I created an actor to apply a shield model around the unit when the barriers Create Persistent effect is in place. The actual shield does pop up when the ability is in use, and it disappears when the duration runs out. I have tried using a Shield Impact actor but it never worked for me... unless I made it wrong? Which is a possibility.
i had a problem similar to this before. what i did was to have the persistent effect fire a search effect in its periodic effects every 0.1 sec or so. the search effect would have a radius equal to the visual radius of the shield (trial and error approach to find the right radius :P) and would only target missiles and would do a damage effect (with its "kill" flag checked) to them. the missiles would play their death effects when they were targeted and destroyed by the search and it would look like they hit the shield.
that's one way to do it if you can't find a different way that you like.
As long as you using default action actor attack there is probably one way to do it (not sure 100%), just adjust your shield radius of the model to fit size of a barrier, however u will need a unit with shields for this to work. Map attached.
Tried attaching a hidden hit test sphere the size of the shield?
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
Sorry for late reply i was on holiday!
I will try the 3 methods mentioned!