Weapons.meta Flags and Hashes - 5mods/tutorials GitHub Wiki
Grand Theft Auto V\common.rpf\data\ai
.
WEAPON_UNARMED
WEAPON_ANIMAL
WEAPON_COUGAR
WEAPON_KNIFE
WEAPON_NIGHTSTICK
WEAPON_HAMMER
WEAPON_BAT
WEAPON_GOLFCLUB
WEAPON_CROWBAR
WEAPON_PISTOL
WEAPON_COMBATPISTOL
WEAPON_APPISTOL
WEAPON_PISTOL50
WEAPON_MICROSMG
WEAPON_SMG
WEAPON_ASSAULTSMG
WEAPON_ASSAULTRIFLE
WEAPON_CARBINERIFLE
WEAPON_ADVANCEDRIFLE
WEAPON_MG
WEAPON_COMBATMG
WEAPON_PUMPSHOTGUN
WEAPON_SAWNOFFSHOTGUN
WEAPON_ASSAULTSHOTGUN
WEAPON_BULLPUPSHOTGUN
WEAPON_STUNGUN
WEAPON_SNIPERRIFLE
WEAPON_HEAVYSNIPER
WEAPON_REMOTESNIPER
WEAPON_GRENADELAUNCHER
WEAPON_GRENADELAUNCHER_SMOKE
WEAPON_RPG
WEAPON_PASSENGER_ROCKET
WEAPON_AIRSTRIKE_ROCKET
WEAPON_STINGER
WEAPON_MINIGUN
WEAPON_GRENADE
WEAPON_STICKYBOMB
WEAPON_SMOKEGRENADE
WEAPON_BZGAS
WEAPON_MOLOTOV
WEAPON_FIREEXTINGUISHER
WEAPON_PETROLCAN
WEAPON_DIGISCANNER
WEAPON_BRIEFCASE
WEAPON_BRIEFCASE_02
WEAPON_BALL
WEAPON_FLARE
WEAPON_VEHICLE_ROCKET
WEAPON_BARBED_WIRE
WEAPON_DROWNING
WEAPON_DROWNING_IN_VEHICLE
WEAPON_BLEEDING
WEAPON_ELECTRIC_FENCE
WEAPON_EXPLOSION
WEAPON_FALL
WEAPON_EXHAUSTION
WEAPON_HIT_BY_WATER_CANNON
WEAPON_RAMMED_BY_CAR
WEAPON_RUN_OVER_BY_CAR
WEAPON_HELI_CRASH
WEAPON_FIRE
WEAPON_ANIMAL_RETRIEVER
WEAPON_SMALL_DOG
WEAPON_TIGER_SHARK
WEAPON_HAMMERHEAD_SHARK
WEAPON_KILLER_WHALE
WEAPON_BOAR
WEAPON_PIG
WEAPON_COYOTE
WEAPON_DEER
WEAPON_HEN
WEAPON_RABBIT
WEAPON_CAT
WEAPON_COW
WEAPON_BIRD_CRAP
PISTOL_2H_BASE_STRAFE
SMG_2H_BASE_STRAFE
RIFLE_HI_BASE_STRAFE
RIFLE_LO_BASE_STRAFE
RIFLE_LO_PUMP_STRAFE
MG_LOW_BASE_STRAFE
FIRE_EXT_STRAFE
PLANE_TARGETING_RESTRAINTS
HELI_TARGETING_RESTRAINTS
UNARMED_TARGETING_RESTRAINTS
MINIGUN
GRENADELAUNCHER
rpg
DIGISCANNER
PETROLCAN
BRIEFCASE
CarriedInHand - Used on every on-foot weapon
Automatic - Used for automatic weapons
Silenced - Forces the weapon to have a fake suppressor and displays it as attachment in weapon wheel
FirstPersonScope - Used on sniper rifles, forces first person to immediately enable scope zoom view
ArmourPenetrating
ApplyBulletForce
Gun - Used on every gun
CanLockonOnFoot - Enables controller lock-on when on-foot
CanLockonInVehicle - Enables controller lock-on when in vehicle
Homing - Homing missiles
CanFreeAim - Used on every gun
Heavy - Used on minigun, prevents player from jumping
TwoHanded - Used on weapons that have 2 handed idle/walking/run animations
Launched
MeleeBlade - Does nothing, used for script checks, bladed melee weapon
MeleeClub - Does nothing, used for script checks, baseball bat weapon
AnimReload - Allows the weapon to have a reload animation
AnimCrouchFire - Seems to be unused
CreateVisibleOrdnance - When enabled it will create a projectile mounted to the weapon, see Rocket Launcher
TreatAsOneHandedInCover - Will be treated like a pistol in cover
TreatAsTwoHandedInCover - Will be treated like a rifle in cover
Thrown - Self explanatory
Bomb
UsableOnFoot - Self explanatory
UsableUnderwater - Allows to use the weapon underwater, in vanilla game only on knife but can be enabled on a gun (which is pretty buggy)
UsableClimbing - Won't hide the weapon while climbing
UsableInCover - Won't unequip the weapon while in cover
AllowEarlyExitFromFireAnimAfterBulletFired
DisableRightHandIk
DisableLeftHandIkInCover
DontSwapWeaponIfNoAmmo
UseLoopedReloadAnim - Use a looped reload animation system, see Combat Shotgun from Cayo Perico Update
DoesRevivableDamage - The damage becomes non fatal allowing the NPC to be revived (which never happens anyway)
NoFriendlyFireDamage
Detonator - Unused, but could possibly work, legacy flag that should make the weapon act as a detonator for sticky bombs
DisplayRechargeTimeHUD - Displays recharge time as a bar on the HUD based on TimeBetweenShots delay, see Stun Gun
OnlyFireOneShot - Makes the weapon fire a single shot, but allows the user to hold a button to shoot. Replaces rate of fire from weapon animations to TimeBetweenShots
OnlyFireOneShotPerTriggerPress - Makes the weapon fire a single shot, making it so the user has to keep pressing the button to shoot. Replaces rate of fire from weapon animations to TimeBetweenShots
UseLegDamageVoice
Lasso - Does nothing, used for script checks
CanBeFiredLikeGun - Doesn't seem to do anything interesting, i was hoping it would allow to fire melee weapons but seems it does not
OnlyAllowFiring
NoLeftHandIK
NoLeftHandIKWhenBlocked
RiotShield - Does nothing, used for script checks
IgnoreStrafing
Vehicle
EnforceAimingRestrictions
ForceEjectShellAfterFiring
NonViolent - Disables NPC reactions to the held weapon
NonLethal - Treat the weapon as non lethal, eg: Stun Gun or Rubber Gun
Scary - Makes NPC's flee upon seeing the weapon, eg: Minigun
AllowCloseQuarterKills - Enables weapon takedowns
DisablePlayerBlockingInMP
StaticReticulePosition
CanPerformArrest - Does nothing, used for script checks
DiscardWhenSwapped
AllowMeleeIntroAnim
ManualDetonation
SuppressGunshotEvent - Disables NPC reactions when the gun is fired
HiddenFromWeaponWheel - Does not show up in weapon wheel at all
AllowDriverLockOnToAmbientPeds - Enables lock on while driveby
NeedsGunCockingInCover - Used on revolvers
ThrowOnly
NoAutoRunWhenFiring
DisableIdleVariations
HasLowCoverReloads
HasLowCoverSwaps
DontBreakRopes
CookWhileAiming
UseLeftHandIkWhenAiming
DropWhenCooked
NotAWeapon - Used on props that are not actual weapons
RemoveEarlyWhenEnteringVehicles
DontBlendFireOutro
DiscardWhenOutOfAmmo
DelayedFiringAfterAutoSwap
EnforceFiringAngularThreshold
ForcesActionMode - Forces the player to use action mode animations when simply holding the weapon, eg: Minigun
CreatesAPotentialExplosionEventWhenFired
CreateBulletExplosionWhenOutOfTime
DelayedFiringAfterAutoSwapPreviousWeapon
DisableCombatRoll - Disables combat roll
NoWheelStats - Disables weapon wheel stats
ProcessGripAnim
DisableStealth - Disables stealth movement animations, does not actually disable stealth completely...
DangerousLookingMeleeWeapon
QuitTransitionToIdleIntroOnWeaponChange
DisableLeftHandIkWhenOnFoot
IgnoreHelmets - Ignores helmet protection
Rpg
NoAmmoDisplay - Disables ammo display
TorsoIKForWeaponBlock
LongWeapon
UsableUnderwaterOnly - Makes the weapon usable only underwater, Agent Trevor
MeleeKungFu - Does nothing, used for script checks, Agent Trevor
ForceDriveByAssistedAim
AssistedAimVehicleWeapon
CanBlowUpVehicleAtZeroBodyHealth
IgnoreAnimReloadRateModifiers - Disables the modifier that speeds up the reload animation
DisableIdleAnimationFilter - Disables idle animations in first person
PenetrateVehicles
ScalesDamageBasedOnMaxVehicleHealth
HomingToggle
ApplyVehicleDamageToEngine
Turret
DisableAimAngleChecksForReticule
AllowMovementDuringFirstPersonScope
DriveByMPOnly - Driveby is enabled only in GTA Online (ignore)
PlacedOnly - Projectile can only be placed and not thrown
CreateWeaponWithNoModel - Used for fake animation only weapons, eg: Handcuffs or Garbage Bag
RemoveWhenUnequipped - Deletes the weapon from inventory once it's unequipped
BlockAmbientIdles - Disables idle animations
NotUnarmed
UseFPSAimIK
DisableFPSScope
DisableFPSAimForScope
EnableFPSRNGOnly
EnableFPSIdleOnly
MeleeHatchet - Does nothing, used for script checks
UseAlternateFPDrivebyClipset
AttachFPSLeftHandIKToRight
OnlyUseAimingInfoInFPS
UseFPSAnimatedRecoil
UseFPSSecondaryMotion
HasFPSProjectileWeaponAnims
AllowMeleeBlock - Enables melee blocking
DontPlayDryFireAnim - Doesn't play an animation when attempting to fire the gun without bullets
SwapToUnarmedWhenOutOfThrownAmmo
PlayOutOfAmmoAnim - Unused, unknown if works, legacy
DisableIdleAnimationFilterWhenReloading
OnFootHoming
DamageCausesDisputes
UsePlaneExplosionDamageCapInMP
FPSOnlyExitFireAnimAfterRecoilEnds
SkipVehiclePetrolTankDamage
DontAutoSwapOnPickUp
DisableTorsoIKAboveAngleThreshold
MeleeFist - Does nothing, used for script checks
NotAllowedForDriveby - Forcefully disables driveby
AttachReloadObjectToRightHand
CanBeAimedLikeGunWithoutFiring - Allows to aim the weapon like a gun, for a weapon that isn't an actual gun. For example: Melee Flashlight
MeleeMachete - Does nothing, used for script checks
HideReticule - Hides the crosshair completely
UseHolsterAnimation
BlockFirstPersonStateTransitionWhileFiring
ForceFullFireAnimation - Makes the entire shooting animation play once you shoot, this can be used for burst weapons assuming animations fit it
DisableLeftHandIkInDriveby
CanUseInVehMelee - Can be used as a melee weapon in vehicles, vehicle melee is disabled in singleplayer
UseVehicleWeaponBoneForward
UseManualTargetingMode
IgnoreTracerVfxMuzzleDirectionCheck
IgnoreHomingCloseThresholdCheck
LockOnRequiresAim
DisableCameraPullAround
VehicleChargedLaunch
ForcePedAsFiringEntity - Used for turret weapons
FiringEntityIgnoresExplosionDamage
IdlePhaseBasedOnTrigger
HighSpinRate - Increases speed of minigun barrel from 10f to 15f
EnabledOnlyWhenVehTransformed
IncendiaryGuaranteedChance - Incendiary ammo will always set the target on fire rather than it being a chance
UseCameraHeadingForHomingTargetCheck
UseWeaponRangeForTargetProbe
SkipProjectileLOSCheck
UseRevolverBehaviour
UseSingleActionBehaviour
PairedWeaponHolsterAnimation - Used on jerry can i believe
UseInstantAnimBlendFromIdleToFire
UseInstantAnimBlendFromFireToIdle
BlockRagdollResponseTaskForPlayer
FireAnimRateScaledToTimeBetweenShots - If the firing anim has some kind of gauge/dial that matches up with UI, scale playback rate to match it
DamageOverTimeShockedEffect - Unimplemented, Cops And Crooks
DamageOverTimeChokingEffect - Unimplemented, Cops And Crooks
DamageOverTimeAllowStacking - Unimplemented, Cops And Crooks
BoatWeaponIsNotSearchLight
AllowFireInterruptWhenReady
ResponsiveRecoilRecovery
OnlyLockOnToAquaticVehicles
NONE
MELEE
BULLET
BULLET_RUBBER
EXPLOSIVE
FIRE
COLLISION
FALL
DROWN
ELECTRIC
BARBED_WIRE
FIRE_EXTINGUISHER
SMOKE
WATER_CANNON
TRANQUILIZER
AMMO_PISTOL
AMMO_SMG
AMMO_RIFLE
AMMO_MG
AMMO_SHOTGUN
AMMO_STUNGUN
AMMO_SNIPER
AMMO_SNIPER_REMOTE
AMMO_FIREEXTINGUISHER
AMMO_PETROLCAN
AMMO_MINIGUN
AMMO_GRENADELAUNCHER
AMMO_GRENADELAUNCHER_SMOKE
AMMO_RPG
AMMO_STINGER
AMMO_BALL
AMMO_STICKYBOMB
AMMO_SMOKEGRENADE
AMMO_BZGAS
AMMO_FLARE
AMMO_MOLOTOV
AMMO_TANK
AMMO_SPACE_ROCKET
AMMO_PLANE_ROCKET
AMMO_PLAYER_LASER
AMMO_ENEMY_LASER
AMMO_BIRD_CRAP
FIRING_PATTERN_PISTOL
FIRING_PATTERN_SMG
FIRING_PATTERN_RIFLE
FIRING_PATTERN_MG
FIRING_PATTERN_PUMPSHOTGUN
; Example: <HitCar>DONTCARE</HitCar>
; In some cases it might need to include EXP_TAG, example: <HitCar>EXP_TAG_BIRD_CRAP</HitCar>
DONTCARE
GRENADE
GRENADELAUNCHER
STICKYBOMB
MOLOTOV
ROCKET
TANKSHELL
HI_OCTANE
CAR
PLANE
PETROL_PUMP
BIKE
DIR_STEAM
DIR_FLAME
DIR_WATER_HYDRANT
DIR_GAS_CANISTER
BOAT
SHIP_DESTROY
TRUCK
BULLET
SMOKEGRENADELAUNCHER
SMOKEGRENADE
BZGAS
FLARE
GAS_CANISTER
EXTINGUISHER
PROGRAMMABLEAR
TRAIN
BARREL
PROPANE
BLIMP
DIR_FLAME_EXPLODE
TANKER
PLANE_ROCKET
VEHICLE_BULLET
GAS_TANK
BIRD_CRAP
RAILGUN
BLIMP2
FIREWORK
SNOWBALL
PROXMINE
VALKYRIE_CANNON
AIR_DEFENCE
PIPEBOMB
VEHICLEMINE
EXPLOSIVEAMMO
APCSHELL
BOMB_CLUSTER
BOMB_GAS
BOMB_INCENDIARY
BOMB_STANDARD
TORPEDO
TORPEDO_UNDERWATER
BOMBUSHKA_CANNON
BOMB_CLUSTER_SECONDARY
HUNTER_BARRAGE
HUNTER_CANNON
ROGUE_CANNON
MINE_UNDERWATER
ORBITAL_CANNON
BOMB_STANDARD_WIDE
EXPLOSIVEAMMO_SHOTGUN
OPPRESSOR2_CANNON
MORTAR_KINETIC
VEHICLEMINE_KINETIC
VEHICLEMINE_EMP
VEHICLEMINE_SPIKE
VEHICLEMINE_SLICK
VEHICLEMINE_TAR
SCRIPT_DRONE
RAYGUN
BURIEDMINE
SCRIPT_MISSILE
RCTANK_ROCKET
BOMB_WATER
BOMB_WATER_SECONDARY
MINE_CNCSPIKE
BZGAS_MK2
FLASHGRENADE
STUNGRENADE
CNC_KINETICRAM
SCRIPT_MISSILE_LARGE
SUBMARINE_BIG
EMPLAUNCHER_EMP
VEHICLE_WEAPON_TANK
VEHICLE_WEAPON_SPACE_ROCKET
VEHICLE_WEAPON_PLANE_ROCKET
VEHICLE_WEAPON_PLAYER_LASER
VEHICLE_WEAPON_PLAYER_BULLET
VEHICLE_WEAPON_PLAYER_BUZZARD
VEHICLE_WEAPON_PLAYER_HUNTER
VEHICLE_WEAPON_PLAYER_LAZER
VEHICLE_WEAPON_ENEMY_LASER
VEHICLE_WEAPON_SEARCHLIGHT
VEHICLE_WEAPON_RADAR
WEAPON_VEHICLE_ROCKET
AUDIO_ITEM_VEHICLE_TANK
AUDIO_ITEM_VEHICLE_SPACE_ROCKET
AUDIO_ITEM_VEHICLE_PLAYER_BULLET
AUDIO_ITEM_RPG
WEAPON_EFFECT_GROUP_ROCKET
WEAPON_EFFECT_GROUP_LASER
WEAPON_EFFECT_GROUP_VEHICLE_MG
WEAPON_EFFECT_GROUP_PUNCH_KICK
EXPLOSIVE
ELECTRIC
BULLET
NONE
Vehicle
StaticReticulePosition
EnforceFiringAngularThreshold
Gun
CanLockonInVehicle
Homing
EnforceAimingRestrictions
HomingToggle
UsableOnFoot
ForceEjectShellAfterFiring
ApplyVehicleDamageToEngine
OnlyFireOneShotPerTriggerPress
CarriedInHand
CanFreeAim
TwoHanded
AnimReload
AnimCrouchFire
CreateVisibleOrdnance
UsableInCover
DisableRightHandIk
DisableLeftHandIkInCover
Scary
DisableIdleVariations
HasLowCoverSwaps
RemoveEarlyWhenEnteringVehicles
DelayedFiringAfterAutoSwap