I'm still a bit new to the editor, but after tinkering around, haven't figured this out yet. I can make a tower that shoots a missile (easy enough), but what I want is the missile to head towards it's target. If it reaches the target, it blows up like normal. However, with a slower mover, it's moving through the air and what I want it to do is shoot missiles at other targets on the way to it's main target.
So basically, cannon shoots missile at target. Missile travels towards target and passes over other units. Missile shoots at the targets it passes over and then blows up once it reaches it's target.
I tried adding weapons to the unit and making sure the weapon could be fired while moving, but this doesn't seem to work the same way. Poking around, it seems I need to set up an ability on the missile to shoot, but not sure if that is the right way to go.
- need attack ability
- arc set to 360, no facing to target needed
- weapon added?
- weapon able to shoot while moving?
once you set this all up and it still doesnt work, change your missile to a normal unit and test it (selectable, able to move around):
spawn your missile unit and let it walk past enemies.
Yes, I tried building another tower (which shoots fine when used as a tower) and then modifying the needed properties before using it as an ammo. (it doesn't fire its weapon while flying towards its target).
I tried attaching a weapon to a unit that was created by duplicating a missile.
I just tried using the interceptor and checking it's weapon properties. I figured this would be similar to what I needed.
It's almost as if when used as ammo, it doesn't know it has a weapon attached also.
I guess I'm curious if this is actually possible or not? I've been trying to look for an example of something similar in the game, but couldn't think of one.
I'm still a bit new to the editor, but after tinkering around, haven't figured this out yet. I can make a tower that shoots a missile (easy enough), but what I want is the missile to head towards it's target. If it reaches the target, it blows up like normal. However, with a slower mover, it's moving through the air and what I want it to do is shoot missiles at other targets on the way to it's main target.
So basically, cannon shoots missile at target. Missile travels towards target and passes over other units. Missile shoots at the targets it passes over and then blows up once it reaches it's target.
I tried adding weapons to the unit and making sure the weapon could be fired while moving, but this doesn't seem to work the same way. Poking around, it seems I need to set up an ability on the missile to shoot, but not sure if that is the right way to go.
Thanks for the help.
This is exactly what a Point Defence drone does but it uses a Laser and not another missile. What you 1st need to happen is that the Cancelling missile hast to be VASTLY faster than the Incoming missile or they are simply going to pass by one another, probably why blizzard uses a Laser. Adjust the Mover to make sure its fast enough.
Then have your weapon terget only Missiles. Such as:
I had to double check on the point defense drone, but it's close, but not exactly what I'm looking for.
Example
Say you have a line of zerglings. You have a tower shoot from the back of the line a missile to the zergling at the front of the line. As the missile passes over all the other zerglings, it shoots lasers or missiles at those zerglings. Once it reaches the first zergling, it explodes.
I've got a tower setup that shoots the main missile. This missile has a modified photon cannon mover on it so that it's a bit slower. As units pass by the tower, it fires at the first unit, but to reach the first unit, it passes over usually at least one other unit, so it should be shooting lasers at the unit it passes over onto its way to the target.
I tried using the drone as a base and duplicating it, then changing so it can fire when it moves, but this didn't seem to help. It still just acts like a normal missile and flies to it's target to blow up without using it's own weapon.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm still a bit new to the editor, but after tinkering around, haven't figured this out yet. I can make a tower that shoots a missile (easy enough), but what I want is the missile to head towards it's target. If it reaches the target, it blows up like normal. However, with a slower mover, it's moving through the air and what I want it to do is shoot missiles at other targets on the way to it's main target.
So basically, cannon shoots missile at target. Missile travels towards target and passes over other units. Missile shoots at the targets it passes over and then blows up once it reaches it's target.
I tried adding weapons to the unit and making sure the weapon could be fired while moving, but this doesn't seem to work the same way. Poking around, it seems I need to set up an ability on the missile to shoot, but not sure if that is the right way to go.
Thanks for the help.
did you make sure your missile is able to attack?
- need attack ability
- arc set to 360, no facing to target needed
- weapon added?
- weapon able to shoot while moving?
once you set this all up and it still doesnt work, change your missile to a normal unit and test it (selectable, able to move around):
spawn your missile unit and let it walk past enemies.
Yes, I tried building another tower (which shoots fine when used as a tower) and then modifying the needed properties before using it as an ammo. (it doesn't fire its weapon while flying towards its target).
I tried attaching a weapon to a unit that was created by duplicating a missile.
I just tried using the interceptor and checking it's weapon properties. I figured this would be similar to what I needed.
It's almost as if when used as ammo, it doesn't know it has a weapon attached also.
can you post your map? i dont wanna setup this all from scratch
I guess I'm curious if this is actually possible or not? I've been trying to look for an example of something similar in the game, but couldn't think of one.
This is exactly what a Point Defence drone does but it uses a Laser and not another missile. What you 1st need to happen is that the Cancelling missile hast to be VASTLY faster than the Incoming missile or they are simply going to pass by one another, probably why blizzard uses a Laser. Adjust the Mover to make sure its fast enough.
Then have your weapon terget only Missiles. Such as:
Field Stalker - Particle Disrupters (Basic) Weapon: Target Filters ""Required: Missile"", Visible
Now i am pretty sure you need to set your "Weapon speed" to probably 0.0 so it can keep up with the on comming missiles.
What happens when the two reach each other can be set at the Model EG
Field Stalker Attack Impact (Basic) Art: Model Assets\Effects\Protoss\StalkerMissileImpact\StalkerMissileImpact.m3
Set it to whatever you wish.
I had to double check on the point defense drone, but it's close, but not exactly what I'm looking for.
Example Say you have a line of zerglings. You have a tower shoot from the back of the line a missile to the zergling at the front of the line. As the missile passes over all the other zerglings, it shoots lasers or missiles at those zerglings. Once it reaches the first zergling, it explodes.
I've got a tower setup that shoots the main missile. This missile has a modified photon cannon mover on it so that it's a bit slower. As units pass by the tower, it fires at the first unit, but to reach the first unit, it passes over usually at least one other unit, so it should be shooting lasers at the unit it passes over onto its way to the target.
I tried using the drone as a base and duplicating it, then changing so it can fire when it moves, but this didn't seem to help. It still just acts like a normal missile and flies to it's target to blow up without using it's own weapon.