I tried to give the Raynor Railgun Snipe ability to another unit. For testing purposes, I didn't duplicate the ability and just gave it to the new unit.
There is a red line (Actor - Raynor Snipe Beam) which shows you where the snipe is going. I changed the Host Impact and Host Launch from Raynor's actor to the actor of my unit, but it doesn't show up. The new unit can use the ability perfectly fine, the targeting actor is not displayed.
What am I missing?
The way that ability was constructed did not support more than 1 unit having the ability at a time due to technical limitations at the time of SC2 1.0. You need to migrate it to new actors (added in SC2 2.0) which have the purpose of generating a targeting line and do support more than 1 unit.
The way that ability was constructed did not support more than 1 unit having the ability at a time due to technical limitations at the time of SC2 1.0. You need to migrate it to new actors (added in SC2 2.0) which have the purpose of generating a targeting line and do support more than 1 unit.
Any idea where to look for such targeting lines? My best guess was that they are created in the main unit actor themselves, but even there I didn't find anything which looked like some beam being generated.
Or a more general question: which actor events do I need to use where in order to display something during the aiming process?
Primal Kerrigan's leap attack uses the modern appropriate method for generating the targeting lines.
The targeting lines are special actors. For example Raynor's Penetration Round used the "Global" actor which is why it only supported 1 unit at a time correctly. Since SC2 2.0 they added new actors (demonstrated on Kerrigan and company) which support multiple units.
The main keywords are "Guide" and "Quad", those actors handle the various lines and cones seen in the Primal Kerrigan missions. A basic line-AoE is easy to copy from Kerrigan's "Psionic Shift" ability (the internal name seems to be "Psi Strike"), but I don't know if you can use regular models in place of the standard ones (e.g. a targeting laser)
Hi,
I tried to give the Raynor Railgun Snipe ability to another unit. For testing purposes, I didn't duplicate the ability and just gave it to the new unit.
There is a red line (Actor - Raynor Snipe Beam) which shows you where the snipe is going. I changed the Host Impact and Host Launch from Raynor's actor to the actor of my unit, but it doesn't show up. The new unit can use the ability perfectly fine, the targeting actor is not displayed. What am I missing?
Regards,
The way that ability was constructed did not support more than 1 unit having the ability at a time due to technical limitations at the time of SC2 1.0. You need to migrate it to new actors (added in SC2 2.0) which have the purpose of generating a targeting line and do support more than 1 unit.
Any idea where to look for such targeting lines? My best guess was that they are created in the main unit actor themselves, but even there I didn't find anything which looked like some beam being generated.
Or a more general question: which actor events do I need to use where in order to display something during the aiming process?
Primal Kerrigan's leap attack uses the modern appropriate method for generating the targeting lines.
The targeting lines are special actors. For example Raynor's Penetration Round used the "Global" actor which is why it only supported 1 unit at a time correctly. Since SC2 2.0 they added new actors (demonstrated on Kerrigan and company) which support multiple units.
@BlacKcuD: Go
The main keywords are "Guide" and "Quad", those actors handle the various lines and cones seen in the Primal Kerrigan missions. A basic line-AoE is easy to copy from Kerrigan's "Psionic Shift" ability (the internal name seems to be "Psi Strike"), but I don't know if you can use regular models in place of the standard ones (e.g. a targeting laser)
Thanks, I'll look into Kerrigan's abilities then.