Leba’s Smart Weapon Systems
Small mod that adds the ability to create weapons that target enemies by themself
Lock Required
Player only
Requires the user to aquire a lock for the rounds to home towards the target, can be shot without needing a lock
Weapons : P07(SWS) Handgun
Self Homing
Compatible with AI
Shoots self homing rounds that scan for targets and once it finds one it goes for it
Weapons : MXM(SWS) Rifle
To create smart weapons you’ll have to add the following to the weapons class in CfgWeapons
Lock Required
LEBA_SWS = 2; //Type of SWS , 1 means self homing , 2 is lock required
LEBA_SWS_Locking_Angle = 45; //Angle in front of it where it searches for units
LEBA_SWS_Locking_Distance = 50; //How far it searches for units
LEBA_SWS_Lose_Lock_Time = 0.3; //How much it takes to lose a lock
LEBA_SWS_Unit_Locks = 3; //How many units it can lock
LEBA_SWS_Per_Unit_Locks = 3; //Number of locks per unit
LEBA_SWS_Lock_Time = 0.2; //How much it takes to aquire a lock
LEBA_SWS_Tracking_Speed = 300; //Rounds speed when it tracks a target
Self Homing
LEBA_SWS = 1;// Type of SWS , 1 means self homing , 2 is lock required
LEBA_SWS_Tracking_Distance = 30;// how far it searches for units
LEBA_SWS_Tracking_Angle = 10;// angle in front of it where it searches for units
LEBA_SWS_Autoaim_Cutoff = 0.2;// how close to a target the rounds needs to be to not be able to track the target anymore
LEBA_SWS_Tracking_Random_Chance = 50;// chance for a rounds to be self homing
LEBA_SWS_Tracking_Speed = 500;//rounds speed when it tracks a target