Search the Community
Showing results for tags 'lockon'.
Found 3 results
-
Detect the type of locking system an ammo instance uses?
juleshuxley posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
getNumber ( configfile >> "CfgAmmo" >> "M_120mm_cannon_ATGM" >> "laserLock" ); I'm trying to detect when a missile uses a laser lock / ir lock/ any other types of lock Arma uses. Unfortunately the above code returns 0 for the ATGM, when it should return 1 as the ATGM definitely laser guided? something to do with the M_120mm_cannon-ATGM having the "class SensorTemplateLaser", maybe? -
Hi all, i hope someone can shed some light on a very frustrating issue... AT missile specialist, cant lock on to anything!? im pressing T, holding T, going into thermal mode, everything ive tried... its broken. tried various distances, nope still broken, checked controls, its utter crap. it used to work fine... also i cant change it from direct fire to top fire am i being really stupid or have they disabled the lock feature on this bloody launcher. i also heard PCML is supposed to lock on also but pffff
-
Tab lock on - How to set up for a target (C-ram)
alexboy posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hey guys, I am back at it for sometime in programming the C-ram. I been working hard on this coding, but i need some help with one issue of coding. What I am trying to do is make a config that lets someone Tab- lock on to a target, just like if you had an AA gun - you press TAB and a white box goes around an air craft then it locks on when you are aiming in the direction of the target. also you can do this with machineguns (so that the zeroing is automatic and not manual), I am trying to make a target to be lock on able, so that it does automatic zeroing when aiming at it. right now my C-ram can "auto-zero" into aircraft since it can lock on to it and the zeroing adjusts so that the c-ram bullets hits the target while aiming at it, rather then the bullets ending up missing the target. =============================== EDIT ============================== Right now I can Tab-target aircraft with my c-ram so that it can auto-zero the turret so that the bullets can hit the target at far distances I am trying to be able to do that but with the target i make below Target code: class at_phalanx_target_base: TargetBase { class EventHandlers; }; class at_phalanx_target: at_phalanx_target_base //take out gps { model = "at_phalanx\at_phalanx_target"; displayName = "gun RAM TARGET"; _generalMacro = "at_phalanx_target"; // irTarget = 1; //side = 0; //hasdriver = 1; irLock = true; laserLock = true; nameSound = ""; // threat (VSoft, VArmor, VAir), how threatening vehicle is to unit types threat[] = {0.0, 0.0, 1.0}; //simulation = "artillerymarker"; //simulation = "nvmarker"; laserTarget = true; irTarget = true; nvTarget = 0; //artilleryTarget = true; type = VAir;//added vehicleClass = "Air"; side = TEast; //scope = protected; //laserTarget = 1; armor = 15; scope = 2; cost =10000000; //vehicleClass = "Static"; }; if anyone can help me, i will be very thankful. I been at just this point for a couple of days and i just feel like im missing something simple, and I am looking toward the community for some help Thank you in advance! alexboy