WeaponInfoFlags¶
Flags which control the behavior of a weapon.
Variables¶
- ArmorPiercing (bool)
- If true, the weapon is better at piercing armor.
- CanFineAim (bool)
- If true, fine aim (default keybind is ‘f’) is possible with this weapon.
- CanScope (bool)
- Unknown value.
- Shatter (bool)
- Unknown value.
- HeldInLeftHand (bool)
- If true, held in the left hand.
- DrawProjectileInOppositeHand (bool)
- Exact behavior unknown, likely used for weapons like remote charges, where the detonator is in one hand and the thrown projectile is in the other.
- SilentBullets (bool)
- Whether or not the bullets should make a sound when passing by and on impact.
- PenetratingBullets (bool)
- If true, the bullets can penetrate structures. If true, NPCs also get “Xray vision” equivalent to what they get with the vanilla rail driver.
- NonInventory (bool)
- Unknown value.
- UseEvenSpread (bool)
- Unknown value.
- DisablePlayerCover (bool)
- Unknown value.
- IsObviousWeapon (bool)
- If true, the EDF will aggress the player if they are seen holding this weapon.
- AutoAimCurvedTrail (bool)
- Unknown value.
- LoopingEffects (bool)
- Unknown value.
- NeverInCabinet (bool)
- Unknown value.
- UseSecondaryWeaponHeat (bool)
- Unknown value.
- DontDropOnDeath (bool)
- Unknown value.