weapon.flags |= F_DIRECT_FIRE | F_NO_FIRES;
weapon.flags |= F_DIRECT_FIRE | F_NO_FIRES | F_BALLISTIC;
    public static WeaponType createISGaussRifle() {        WeaponType weapon = new WeaponType();        weapon.name = "Gauss Rifle";        weapon.setInternalName("ISGaussRifle");        weapon.addLookupName("IS Gauss Rifle");        weapon.heat = 1;        weapon.damage = 15;        weapon.ammoType = AmmoType.T_GAUSS;        weapon.minimumRange = 2;        weapon.shortRange = 7;        weapon.mediumRange = 15;        weapon.longRange = 22;        weapon.extremeRange = 30;        weapon.tonnage = 15.0f;        weapon.criticals = 7;        weapon.flags |= F_DIRECT_FIRE | F_NO_FIRES;        weapon.explosive = true;        weapon.bv = 321;        return weapon;    }