That's right, in all my time here, I have never messed with projectile weapons (By this I mean, the classical FPS/TPS shooter projectiles, you fire em', and they go straight until they hit something.)
Naturally I did some messing around, here's what I did.
Playing with the marauder weapons, I set the driver to "Ballistic" and Acceleration to -1.
I fiddled with the "Punisher Grenades - (Launch Missile)" thing and changed the target to Point/Unit. I also tried point.
Yeaahh... Thats one action... Anyway, I assumed that the unit would attempt to attack the point in front of it when you click. And the projectile would keep going until it hits something (Or will it just stop once it hits the "Offset by 3.0".
When I finally tried it in-game, well.. The unit just moved towards that point. Disappointing really.
Any clues on how to fix this? Or some other way to do this? I really wanted to stick this way because it seemed so much more simple than the other ways I thought of. (Most of them include a dummy unit, which is retarded.) Thx in advance :D
Read the blizzard guide to drivers. In short parabola and ballistic are arcs but between two fixed points although ballistic can overshoot. Throw drivers go in a straight line.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
Sorry for bringing this up again, but now it's a trigger problem, (But I thought it fitting to still put it here). How do I get the unit to actually shoot in a direction? They only A-Move into that spot.
Yes it will. Attacking targeting a point causes the unit to move toward the point while searching for enemies to attack in the vicinity. If you want it to actually attack with its weapon you need a target or you turn the weapon into an Effect - Target ability which can then fire toward a point.
I'm not entirely sure what you mean by that. Do you mean: Effects > Marauder - Punisher Grenades (Launch Missile) > Target Impact Location > Value? If so I tried both Target Unit/Point and Target Point. If this is not the case then it would be amazing if you enlightened me :D
If you use the order a unit to attack targeting a point, it will simply Attack-Move to that point. If you want your marauder to fire at that point, you will either need a dummy unit that it can attack or create an Effect - Target ability with the exact same effect tree, so all you would need to do is add the marauder weapon's Launch Missile effect to the Effect field of the ability. Then in your trigger you order the marauder to use the ability targeting the point in front of it.
That's right, in all my time here, I have never messed with projectile weapons (By this I mean, the classical FPS/TPS shooter projectiles, you fire em', and they go straight until they hit something.)
Naturally I did some messing around, here's what I did.
Playing with the marauder weapons, I set the driver to "Ballistic" and Acceleration to -1.
I fiddled with the "Punisher Grenades - (Launch Missile)" thing and changed the target to Point/Unit. I also tried point.
And to attack, I tried this trigger.
Yeaahh... Thats one action... Anyway, I assumed that the unit would attempt to attack the point in front of it when you click. And the projectile would keep going until it hits something (Or will it just stop once it hits the "Offset by 3.0".
When I finally tried it in-game, well.. The unit just moved towards that point. Disappointing really.
Any clues on how to fix this? Or some other way to do this? I really wanted to stick this way because it seemed so much more simple than the other ways I thought of. (Most of them include a dummy unit, which is retarded.) Thx in advance :D
Use a throw driver.
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
@DrSuperEvil: Go
Thanks I will :D. But any info on as to why? It would be nice :3
Read the blizzard guide to drivers. In short parabola and ballistic are arcs but between two fixed points although ballistic can overshoot. Throw drivers go in a straight line.
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
Sorry for bringing this up again, but now it's a trigger problem, (But I thought it fitting to still put it here). How do I get the unit to actually shoot in a direction? They only A-Move into that spot.
...
The solution wont have dummy units will it?
Yes it will. Attacking targeting a point causes the unit to move toward the point while searching for enemies to attack in the vicinity. If you want it to actually attack with its weapon you need a target or you turn the weapon into an Effect - Target ability which can then fire toward a point.
@Spoolofwhool: Go
I'm not entirely sure what you mean by that. Do you mean: Effects > Marauder - Punisher Grenades (Launch Missile) > Target Impact Location > Value? If so I tried both Target Unit/Point and Target Point. If this is not the case then it would be amazing if you enlightened me :D
Look how the ghost emp does it.
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
If you use the order a unit to attack targeting a point, it will simply Attack-Move to that point. If you want your marauder to fire at that point, you will either need a dummy unit that it can attack or create an Effect - Target ability with the exact same effect tree, so all you would need to do is add the marauder weapon's Launch Missile effect to the Effect field of the ability. Then in your trigger you order the marauder to use the ability targeting the point in front of it.
@Spoolofwhool: Go
Thanks and I love you guys. As you can see i've never really had a reason to deal with weapons too much xD. Up until now anyway. 4evahthx!