How would I come around making a missile get launched from the sky and hit the ground dealing damage (AoE damage)
I want to make it take 2 seconds to land, but that's the mover I guess.
Gridlock TD : Elements
I'm guessing you mean you want a missile to appear to just fall straight from the sky like a nuke? You'll just need to make a Create Persistent that creates the Launch Missile effect at an offset that is high up and make the launch missile launch from its target point to the target point of the persistent effect. You might also need to make it so that a pair of Site actors are created at the launch and impact points for the actor to properly function. For that check out how the site actor for the hellion attack is created.
Assistant Team Leader of "Generic Code" and User of the All-Mighty Data Editor.
My Amazing Cutscenes
Hmm, I made the persistant, but I'm not very familiar with the create persistant effect.
I made the missile launch effect, and I tried setting the periodic effect to 0,0,20 and make it launch a missile, but it launches from teh caster.
How do I make the missile launch from the 0,0,20 offset and go to 0,0,0 offset (both offset from target point)
NOTE: I did check out the hellion attack, but that does not explain much to me as far as I can see. I dont understand how it attaches to Site actor to the effect as a target point :/
EDIT: @Doubleclick123: Go OMG! you're right! D:
I would love to help, but I don't have time to type stuff up. So all I want to say is... You have
posts as of November 24, 2012. Codgradulations. [42 Is The Answer to Life Universe and Everything]
I'm......... back! Sort of. Once I get HoTS i'll be back... First I have to refresh myself.
Also yeah I left and I came back in not too short of a time. But I got bored. Can you blame me?
It uses a Reference Set event to set the host of the beam inpact.
And creates the Site actor at the periodic offset of the create persistent. Notice the use of the SOp Target Point Site operation.
Contribute to the wiki (Wiki button at top of page)
Considered easy altering of the unit textures?
For my public assets look here!
So, for the Target - Launch Location use target point and for Target - Impact Location use target point with Target - Impact Location - Effect set to the persistent effect.
So, I'm not sure that the Action actor for the missile will work if you don't have a site actor for the launch and impact points, but it might. The reason I mentioned the hellion Site actor is because it is created at the location of an effect using SOp Target Point. Copying off of it, you can make a pair of Site actors that are created at the launch and impact points of the Launch Missile effect, that can then be used to control the actor although as I stated, I'm not sure if the site actors are necessary.
The SOp Target Point site operation is in that it allows attachment to the target point of an effect.
Hmmm - I cant seem to figure this out. I'm sorry for being a noob, I've never actually worked with the persistant effect :|
I did set the Target - Launch Location to target point, and the Target - Impact Location to target, and the effect to my persistant effect.
The Persistant Effect got it's Periodic Offset set to (0,0,20)(0,0,0), Initial effect set to my missile effect, and the Initial Offset set to (0,0,20).
The missile is launced from the target point, but it's from (0,0,0) to (0,0,0).
I cant figure out how to set up the site actor, as I've never used it before, could you please explain it step by step?
You cannot offset Site actors directly so need to create a Model type actor at the offset location which you attach your site to. Then set up the Action actor to use the sites and enable the flags forcing it to use the sites.
Is this what are you looking for? I posted this before long time ago in meteor shower topic. This shit works without action and site actors somehow ._.
I copied over your effect, and tried to set my persistants to the same as yours, but I couldnt get it to work. So I ended up just completely copying your spell, and modifying it from there :) thank you.
EDIT: I think I figured out what caused it. For some reason, I cant make a missile launch from a 0,0,Z offset, the X value has to be something else than 0.
Probably has to do with the mover using an adaptive hit test that can work in 2d.
If you make the mover have a 3d arrival test it works with an offset of 0,0,Z
You must login to post a comment. Don't have an account? Register to get one!