Jump to content
Sign in to follow this  
hyori

which parameter determines if a weapon can lock

Recommended Posts

i'm trying to get a guided missile launcher to lock on armor. which parameter is the one which determines this? and what is the difference between irLock and laserLock, airLock is quite self-explanatory.

thanks in advance

Share this post


Link to post
Share on other sites

Hi,

At first , make sure you've both of these lines in your ammo's class (cfgammo)

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> canLock=LockYes;

manualControl=1;

to lock an armor, you've to switch to "true/1" the following line:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">irLock=1;

This line's intended to "locking vehicles"

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

airLock=x;

This one to "Aircrafts"

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

laserLock=x;

And finally this one's intended to Laser designators, switching it to "1" means that a laser soldier can lock this target for ya, but it works only with static vehicles/Objects.

Best Regards

Thunderbird84

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  

×