weapon.extremeRange = 4;
    public static WeaponType createBAAutoGL() {        WeaponType weapon = new WeaponType();        weapon.name = "Auto Grenade Launcher";        weapon.setInternalName("BAAutoGL");        weapon.addLookupName("BA-Auto GL");        weapon.heat = 0;        weapon.damage = DAMAGE_VARIABLE;        weapon.rackSize = 1;        weapon.ammoType = AmmoType.T_BA_MG;        weapon.minimumRange = WEAPON_NA;        weapon.shortRange = 1;        weapon.mediumRange = 2;        weapon.longRange = 3;        weapon.tonnage = 0.0f;        weapon.criticals = 0;        weapon.bv = 0;        weapon.flags |= F_DIRECT_FIRE | F_BATTLEARMOR;        return weapon;    }