I'm creating a space-themed map which essentially has no terrain (and I've removed the background skybox model/image for now also).
I seem to have a hard time causing my Launch Missile effects to
1) Launch from the unit that is firing them.
and
2) Cause them to hit at the relevant Z height
The premise is that players get a number of weapons to put on each ship. Automatic weapons fire while moving and automatically shoot nearby targets, a lá diamond back style.
However, Targetted Weapons reward the players for achieving skill shots - in determining the velocity and direction of an enemy ship and firing (using a target-point ability) accordingly.
My first ability Hellstorm Missile Barrage copied many elements from the Missile Turret. It launches 8 missiles at target point, with a bunch of random offsets. All works fine. I had a lot of trouble getting the missiles to launch from the caster origin, and cannot fully remember how I achieved it. However, the missiles still 'hit' below the target point on the Z axis, as though they were firing a point on the ground.
My second ability, Antimatter Rocket Storm copies elements from the Scout's Left&Right anti air missiles. However, I can't seem to get them to fire from the caster, they shoot from about 4 range lower. The persistent effect fires 17 missiles which hit in a X formation around the targetted point, achieved through Periodic Offsets+ (and no 'random offset' flag).
Under the Units data type the UI - Height field. You can also launch them from +z offset using persistents or launching them from Site actors at an elevation.
Still say your attach methods are probably off so it is not launching from the right attachment on the unit.
Hey hey!
I'm creating a space-themed map which essentially has no terrain (and I've removed the background skybox model/image for now also).
I seem to have a hard time causing my Launch Missile effects to
1) Launch from the unit that is firing them.
and
2) Cause them to hit at the relevant Z height
The premise is that players get a number of weapons to put on each ship. Automatic weapons fire while moving and automatically shoot nearby targets, a lá diamond back style.
However, Targetted Weapons reward the players for achieving skill shots - in determining the velocity and direction of an enemy ship and firing (using a target-point ability) accordingly.
My first ability Hellstorm Missile Barrage copied many elements from the Missile Turret. It launches 8 missiles at target point, with a bunch of random offsets. All works fine. I had a lot of trouble getting the missiles to launch from the caster origin, and cannot fully remember how I achieved it. However, the missiles still 'hit' below the target point on the Z axis, as though they were firing a point on the ground.
My second ability, Antimatter Rocket Storm copies elements from the Scout's Left&Right anti air missiles. However, I can't seem to get them to fire from the caster, they shoot from about 4 range lower. The persistent effect fires 17 missiles which hit in a X formation around the targetted point, achieved through Periodic Offsets+ (and no 'random offset' flag).
Any help is much appreciated!
1) You checked you have the right sort of mover/seting?
2) The terrain set gravity settings are a negative number?
2) Sure you have Action actors to determine the launch and impact sites?
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
Hey mate,
The Action actor was referencing the wrong Missile actor. So I fixed part 1 now.
My second problem still persists. I have temporarily fixed it, by adjusting all Periodic Offsets+ Z values to 4.0.
Out of curiosity, what object and fields control how 'high' a flying unit 'flies' at? :)
Under the Units data type the UI - Height field. You can also launch them from +z offset using persistents or launching them from Site actors at an elevation.
Still say your attach methods are probably off so it is not launching from the right attachment on the unit.
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