I am trying to create a projectile weapon that has infinite range, where it either hits something or it keeps going until it is off of the map. This is pretty important to the concept for the mini-game I am working on, but it is turning out to be much more of a struggle to implement this simple thing than I had anticipated.
The main issue I am having is that when I set the persistent effect offset to -500 (so it outranges the map area) the game automatically re-targets the projectile to aim at one of the corners of the map, or something similar to that. I have made a quick video to demonstrate the issue.
I am used Kueken's "Colliding Projectiles" tutorial to create the projectile to begin with. But now I am trying to modify it for my purpose. I would really like to find a data solution to this problem, it certainly seems like it should be possible to do.
If anyone has any ideas I would love to hear them. I have tried playing around with the throw and ballistic mover types but they each seem to have their own issues. Throw comes close to doing what I need but it does this 'bounce' thing at the offset range which causes the projectile to suddenly go a little off course.
I am trying to create a projectile weapon that has infinite range, where it either hits something or it keeps going until it is off of the map. This is pretty important to the concept for the mini-game I am working on, but it is turning out to be much more of a struggle to implement this simple thing than I had anticipated.
The main issue I am having is that when I set the persistent effect offset to -500 (so it outranges the map area) the game automatically re-targets the projectile to aim at one of the corners of the map, or something similar to that. I have made a quick video to demonstrate the issue.
I am used Kueken's "Colliding Projectiles" tutorial to create the projectile to begin with. But now I am trying to modify it for my purpose. I would really like to find a data solution to this problem, it certainly seems like it should be possible to do.
If anyone has any ideas I would love to hear them. I have tried playing around with the throw and ballistic mover types but they each seem to have their own issues. Throw comes close to doing what I need but it does this 'bounce' thing at the offset range which causes the projectile to suddenly go a little off course.
Here is a map that I am using to test solutions in case any of you are interested in also making an attempt.
Make sure the timeout does not interfere.
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