Jump to content

Sign in to follow this  
granQ

Any missile scripts for using with map?

Recommended Posts

I am looking for something really simple to have a missile hit where I point on map.

Using something similar to Mandole missiles, isn't an option even if it is awesome.. (also not yet ported/tested with a3?)

A cheating version that just "hit" where I press (spawn a bomb) isn't an option either..

I need a low flying missile that goes to the point I pressed, is there any scripts around?

Share this post


Link to post
Share on other sites

I dont know if this is exactly what youre looking for, or if it will even work in A3, but its a script that we used in our A2F server to enforce a NO-FLY-ZONE. I creates a missile and locks on to a target to shoot it down and continues to loop as such until the target is destroyed. the only problem is its scripted so it tends to zigzag as well as the missile doesnt turn. it just stays pointed in one direction and slides. but it might be work a shot :)

this goes in the init line of a gamelogic anywhere on the map:

null = [starting position,target, missile class name,max speed] execVM "missile.sqf";

null = [missilestart,player, "M_R73_AA", 600] execVM "missile.sqf";

the M_R73_AA is a missile from arma 2 so youll have to find a different classname

this is the missile.sqf:

  Reveal hidden contents

again, it may need some tweeking for A3 and it may not even be what you want! but its a start.

I didnt write this script...and I have no idea where I found it, its been several years. But thanks to whoever did!

Share this post


Link to post
Share on other sites

try this :

null = [missilestart,player, "Land_Bucket_F", 600] execVM "missile.sqf";

just to see if the script works fine. After, you may want to find a better classname than the one for a Bucket :).

What I personally do is hide the object (no 3D model for the missile) as you almost never see it. To do so, after the line

_missile = _missileType createVehicle _missileStart; 

, you can add:

hideobject _missile;

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×