about 2 weeks ago I decided to stop working on my project (remake of WC3's "Ninjas vs Samurais").
At first, it was coming along fine with some help from the IRC and tutorials (big thanks and special thanks to Bifuu and Riley) but I got blocked on one of the major part of the "structure". With the end of the beta near I kind of got discouraged.
But now I wanna get it back going and I'm looking for some kind people to direct me in the right way.. basicly what I'm trying to do is to make missiles launched by hostile AI to go in a linear direction (instead of being "guided").
Any help appreciated, I really want to start working back on it after seeing all the amazing stuff on the front page :)
id make it an target effect, and make it create a persistent that target say 12 'units' out in front of the caster for a missile launch. then give the missile launch a "search" and when it finds an enemy make it suicide. then give it an on death effect of doing aoe damage. then when they target some1, they will shoot it actually past the target in a straight line, and anything it hits it will explode, or it will blow up after going out for 12 units.
id make it an target effect, and make it create a persistent that target say 12 'units' out in front of the caster for a missile launch. then give the missile launch a "search" and when it finds an enemy make it suicide. then give it an on death effect of doing aoe damage. then when they target some1, they will shoot it actually past the target in a straight line, and anything it hits it will explode, or it will blow up after going out for 12 units.
Thanks for the quick response!
Yes, that is definitly what I'm trying to do, but the part that I can't figure is how to make it go in a straight line of the caster.
Edit: I might be on something! Will update later, thx ez!
Edit: Still can't get it to work :(, currently working with the missile turret's weapon as an example
edit: Found the map of user: "QuantumMenace". I'll use his as an exampleéé thanks!
Create a Persistent effect, set the periodic offset to (0, -x) (where x is the range of the projectile) then have the periodic effect be whatever launches your missile, make sure the missile launch effect has impact location set to target point. Then set the ability or weapon's effect to the persistent.
The tricky part is collision detection, the best way to handle this is to give the projectile unit a behavior that periodically triggers a search effect looking for nearby targets and if it finds one, triggers an effect that does aoe damage and kills the projectile.
Hello everyone,
about 2 weeks ago I decided to stop working on my project (remake of WC3's "Ninjas vs Samurais").
At first, it was coming along fine with some help from the IRC and tutorials (big thanks and special thanks to Bifuu and Riley) but I got blocked on one of the major part of the "structure". With the end of the beta near I kind of got discouraged.
But now I wanna get it back going and I'm looking for some kind people to direct me in the right way.. basicly what I'm trying to do is to make missiles launched by hostile AI to go in a linear direction (instead of being "guided").
Any help appreciated, I really want to start working back on it after seeing all the amazing stuff on the front page :)
Thanks in advance!
id make it an target effect, and make it create a persistent that target say 12 'units' out in front of the caster for a missile launch. then give the missile launch a "search" and when it finds an enemy make it suicide. then give it an on death effect of doing aoe damage. then when they target some1, they will shoot it actually past the target in a straight line, and anything it hits it will explode, or it will blow up after going out for 12 units.
Thanks for the quick response!
Yes, that is definitly what I'm trying to do, but the part that I can't figure is how to make it go in a straight line of the caster.
Edit: I might be on something! Will update later, thx ez!
Edit: Still can't get it to work :(, currently working with the missile turret's weapon as an example
edit: Found the map of user: "QuantumMenace". I'll use his as an exampleéé thanks!
@Koronis: Go
Create a Persistent effect, set the periodic offset to (0, -x) (where x is the range of the projectile) then have the periodic effect be whatever launches your missile, make sure the missile launch effect has impact location set to target point. Then set the ability or weapon's effect to the persistent.
The tricky part is collision detection, the best way to handle this is to give the projectile unit a behavior that periodically triggers a search effect looking for nearby targets and if it finds one, triggers an effect that does aoe damage and kills the projectile.
@RileyStarcraft: Go
haha thats what i said, or i thought i was trying to get across.... hah....
Big thanks to both of you and specifically for the in-dept explanation Riley!