Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 10s ago· Viewing build 6698 (Sep 17 2026), not the latest

trooper_grenade

ability

class trooper_grenade · inherits from npc_base

Deadworks (C#)
pawn.AddAbility("trooper_grenade", slot);
pawn.RemoveAbility("trooper_grenade");

Properties

Ability values, by the name modifiers and AddModifier overrides use.

PropertyEnglish labelValueProvides
DamageDamage200
Grenades1
TechPowerSpirit Power0TECH_POWER
BlastRadius4m
WeaponPowerWeapon Damage0WEAPON_POWER
PlayerDamage100
StunDurationStun Duration0
AbilityChargesCharges0
ArmingDurationArming Duration5
AbilityCooldownCooldown4
AbilityDurationDuration0
ImpulseVelocity400
AbilityCastDelayCast Delay0.2
AbilityCastRangeCast Range1600
ChannelMoveSpeed-1
AbilityChannelTimeChannel Duration0
AbilityResourceCost0
AbilityUnitTargetLimit1
AbilityPostCastDuration0
AbilityCooldownBetweenChargeCharge Delay-1.0

VData

_class"trooper_grenade"
_editor
1 key
{
  "folder_name": "Base"
}
_multibase
1 item
[
  "npc_base"
]
m_WeaponInfo
1 key
{
  "m_flBulletSpeed": 10000
}
m_eAbilityType"EAbilityType_Signature"
m_bStartTrainedtrue
m_projectileInfo
6 keys
{
  "m_flSpeed": 640,
  "m_particle": "particles/weapon_fx/trooper_grenade_trail.vpcf",
  "m_flUpSpeed": 0,
  "m_nBehaviors": "PBF_StickToTarget | PBF_StickToWorld | PBF_DetonateOnHitTarget | PBF_DetonateOnHitWorld",
  "m_customModel": "models/w_models/weapons/w_he_grenade.vmdl",
  "m_flGravityScale": 0.2
}
m_eAbilityActivation"CITADEL_ABILITY_ACTIVATION_INSTANT_CAST"
m_nAbilityTargetTypes"CITADEL_UNIT_TARGET_ALL_ENEMY"
m_AbilityBehaviorsBits"CITADEL_ABILITY_BEHAVIOR_PROJECTILE | CITADEL_ABILITY_BEHAVIOR_NO_TARGET"
m_strCastAnimGraphParam"b_GenericThrow"
m_bitsInterruptingStates"MODIFIER_STATE_STUNNED | MODIFIER_STATE_IS_ASLEEP"
m_eAbilityTargetingShape"CITADEL_ABILITY_TARGETING_SHAPE_SPHERE"
m_eAbilityTargetingLocation"CITADEL_ABILITY_TARGETING_LOCATION_UNIT"
m_bitsChannelEnabledStateMask"MODIFIER_STATE_BUSY_WITH_ACTION"
m_bitsPreCastEnabledStateMask"MODIFIER_STATE_BUSY_WITH_ACTION"
m_bitsPostCastEnabledStateMask"MODIFIER_STATE_BUSY_WITH_ACTION"

History

  1. 6722–6745changed
    • ~_editor.folder_nameBase→Troopers
    • +m_mapWeaponInfos
      { 1 key }
      {
      	primary = 
      	{
      		m_flBulletSpeed = 10000
      	}
      }
    • +m_sCustomStackLabel#CurrentBonus_label
    • −m_WeaponInfo
      { 1 key }
      {
      	m_flBulletSpeed = 10000
      }
  2. 6696–6701first dumped