Jump to content
Sign in to follow this  
granQ

Laser lock only?

Recommended Posts

Is it possible to create so the "radar" on the top only shows laser targets and you can lock on them but nothing else..

Share this post


Link to post
Share on other sites

I believe if you add the following code to the weapon's ammo code, you should only be able to target laser targets *with the weapon*:

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

laserlock = true

If that doesn't work, try putting this in cfgvehicles:

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

irScanRange=0;

irScanGround=0;

lasertarget=1;

Share this post


Link to post
Share on other sites

already done that. problem is the "gunnercansee" that i never understood really. the radar thingy. hmm, maybe stupid to ask this early..

granq goes back testing some more

Share this post


Link to post
Share on other sites

Don't think you can choose which targets the radar shows, only the ones you can lock onto. sad_o.gif

Share this post


Link to post
Share on other sites

Hello GrandQ

The "Gunnercansee" is only for display HUD with or without some part of it, it did'nt affect the AI for finding target as far as I know.

I dont anderstud what u think.. you want the target of your building is only the Radar and not the building ?

If it's that u must creat two model and script or in mission put it at under the master model and set targeting of the master as null and of the radar as full or only laser.

cu

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  

×