I'm having trouble making an untargeted missile work correctly. I've searched the site and found a lot of threads on this type of missile but none of them outline how to solve this problem.
I've made the missile unit, the launch and damage effects, the launch and missile actors actors and the ability to fire it. If I have the ability set as Effect - Target it works perfectly, launches from my unit and hits the target. When I change the ability to Effect - Instant the missile launches but immediately blows up in the middle of my unit.
I've been using the lost viking missile launch ability and effects as an example and I can't see that I'm doing anything differently.
A missile must have a target. When you use Effect - Target, the target will either be the unit or point you cast the ability on. When using Effect - Instant, the target will basically be the caster, that's why the missile blows up the moment you use it.
There is a way around that though. There are a number of effects that will change the source/target/etc for the next effect in the sequence.
One example is Search Area. The target will be the unit that was found.
Another example is Launch Missile. Source will be the missile unit.
Create Persistent is yet another example. Both source (not 100% sure about this, but I believe I found that in testing) and target can be manipulated
Have the ability start a Create Persistent effect. This type of effect is very useful because you can start new effects on offset locations relative to your caster.
Period: How many missiles do you want to shoot.
Period duration: how long delay between each missile.
Periodic Effect: launch missile effect of your choice.
Target - Location: This will be the starting point for your missile effects. Change to Caster/Source so the missile will originate from your position. (I think this point will be the source point in the next effects, but I am not 100% sure)
Target - Location Offset - End : See next line
Target - Location Offset - Start : These two fields will decide the orientation of the effects originating from this Create Persistent. Draw a line from start to end, and you have the orientation. From Caster/Source to Target is usually the way to go. If both points are the same, the orientation will be fixed in one direction. I can't rememer which.
Periodic Offset: This field will offset the target for the periodic effects originating from this Create Persistent. Y changes the target forwards and backwards, while X changes it sideways. Keep in mind the orientation defined by location offset start/end when modifying these fields.
I hope it's understandable.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm having trouble making an untargeted missile work correctly. I've searched the site and found a lot of threads on this type of missile but none of them outline how to solve this problem.
I've made the missile unit, the launch and damage effects, the launch and missile actors actors and the ability to fire it. If I have the ability set as Effect - Target it works perfectly, launches from my unit and hits the target. When I change the ability to Effect - Instant the missile launches but immediately blows up in the middle of my unit. I've been using the lost viking missile launch ability and effects as an example and I can't see that I'm doing anything differently.
Anyone have any suggestions on how to fix this?
@ringot: Go
A missile must have a target. When you use Effect - Target, the target will either be the unit or point you cast the ability on. When using Effect - Instant, the target will basically be the caster, that's why the missile blows up the moment you use it.
There is a way around that though. There are a number of effects that will change the source/target/etc for the next effect in the sequence. One example is Search Area. The target will be the unit that was found. Another example is Launch Missile. Source will be the missile unit. Create Persistent is yet another example. Both source (not 100% sure about this, but I believe I found that in testing) and target can be manipulated
Have the ability start a Create Persistent effect. This type of effect is very useful because you can start new effects on offset locations relative to your caster.
Period: How many missiles do you want to shoot. Period duration: how long delay between each missile. Periodic Effect: launch missile effect of your choice. Target - Location: This will be the starting point for your missile effects. Change to Caster/Source so the missile will originate from your position. (I think this point will be the source point in the next effects, but I am not 100% sure) Target - Location Offset - End : See next line Target - Location Offset - Start : These two fields will decide the orientation of the effects originating from this Create Persistent. Draw a line from start to end, and you have the orientation. From Caster/Source to Target is usually the way to go. If both points are the same, the orientation will be fixed in one direction. I can't rememer which. Periodic Offset: This field will offset the target for the periodic effects originating from this Create Persistent. Y changes the target forwards and backwards, while X changes it sideways. Keep in mind the orientation defined by location offset start/end when modifying these fields.
I hope it's understandable.