I am trying to make straight-firing weapon projectiles impact the terrain. I turned on "ignore terrain" in my custom mover (based on the hydralisk needle) so that straight-firing projectiles will do just that, fly straight. Additionally, I want them to impact the terrain and, depending on the projectile type, either be destroyed or blow up (creating an effect at the point of destruction, I would assume). Currently I can do everything but the "below terrain" check in the data editor. Does anyone know how to use the data editor to make missiles impact terrain that is higher than the projectile's travelling height (i.e. a hill)?
Also, I am having a bit of trouble figuring out how to apply a persistent effect that checks for impact on a unit. I want the missile to fly until it hits any unit (or terrain, but that might be something different) then executes its damage effect on that unit. Currently I am trying by applying a behavior that calls a search to the unit, but I can't seem to make it destroy itself upon impacting a unit. Also, the search damages the unit that is attacking as well as the other unit.
Again, any input is greatly appreciated. Thank you!
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello,
I am trying to make straight-firing weapon projectiles impact the terrain. I turned on "ignore terrain" in my custom mover (based on the hydralisk needle) so that straight-firing projectiles will do just that, fly straight. Additionally, I want them to impact the terrain and, depending on the projectile type, either be destroyed or blow up (creating an effect at the point of destruction, I would assume). Currently I can do everything but the "below terrain" check in the data editor. Does anyone know how to use the data editor to make missiles impact terrain that is higher than the projectile's travelling height (i.e. a hill)?
Any assistance is greatly appreciated!
Also, I am having a bit of trouble figuring out how to apply a persistent effect that checks for impact on a unit. I want the missile to fly until it hits any unit (or terrain, but that might be something different) then executes its damage effect on that unit. Currently I am trying by applying a behavior that calls a search to the unit, but I can't seem to make it destroy itself upon impacting a unit. Also, the search damages the unit that is attacking as well as the other unit.
Again, any input is greatly appreciated. Thank you!