trooper_neutral_grenade
Stun Grenadeabilityclass trooper_neutral_grenade · inherits from npc_base
Deadworks (C#)
pawn.AddAbility("trooper_neutral_grenade", slot);
pawn.RemoveAbility("trooper_neutral_grenade");Properties
Ability values, by the name modifiers and AddModifier overrides use.
| Property | English label | Value | Provides |
| Damage | Damage | 50 | |
| Grenades | | 1 | |
| TechPower | Spirit Power | 0 | TECH_POWER |
| BlastRadius | | 300 | |
| WeaponPower | Weapon Damage | 0 | WEAPON_POWER |
| FuseDuration | | 3 | |
| PlayerDamage | | 100 | |
| StunDuration | Stun Duration | 1 | |
| AbilityCharges | Charges | 0 | |
| ArmingDuration | Arming Duration | 0 | |
| AbilityCooldown | Cooldown | 40 | |
| AbilityDuration | Duration | 0 | |
| ImpulseVelocity | | 1200 | |
| AbilityCastDelay | Cast Delay | 0.5 | |
| AbilityCastRange | Cast Range | 2000 | |
| ChannelMoveSpeed | | -1 | |
| AbilityChannelTime | Channel Duration | 0 | |
| AbilityResourceCost | | 0 | |
| AbilityUnitTargetLimit | | 1 | |
| AbilityPostCastDuration | | 0 | |
| AbilityCooldownBetweenCharge | Charge Delay | -1.0 | |
VData
| _class | "trooper_neutral_grenade" |
| _editor | 1 key{
"folder_name": "Base"
} |
| _multibase | 1 item[
"npc_base"
] |
| m_WeaponInfo | 1 key{
"m_flBulletSpeed": 10000
} |
| m_eAbilityType | "EAbilityType_Signature" |
| m_bStartTrained | true |
| m_projectileInfo | 3 keys{
"m_particle": "particles/weapon_fx/weapon_grenadelauncher_trail.vpcf",
"m_customModel": "models/w_models/weapons/w_he_grenade.vmdl",
"m_flGravityScale": 0.5
} |
| m_strAbilityImage | "file://{images}/hud/abilities/engineer_rockets.psd" |
| m_eAbilityActivation | "CITADEL_ABILITY_ACTIVATION_INSTANT_CAST" |
| m_nAbilityTargetTypes | "CITADEL_UNIT_TARGET_ALL_ENEMY" |
| m_AbilityBehaviorsBits | "CITADEL_ABILITY_BEHAVIOR_PROJECTILE" |
| m_bitsInterruptingStates | "MODIFIER_STATE_STUNNED | MODIFIER_STATE_IS_ASLEEP" |
| m_eAbilityTargetingShape | "CITADEL_ABILITY_TARGETING_SHAPE_SPHERE" |
| m_eAbilityTargetingLocation | "CITADEL_ABILITY_TARGETING_LOCATION_NONE" |
| m_bitsChannelEnabledStateMask | "MODIFIER_STATE_BUSY_WITH_ACTION" |
| m_bitsPreCastEnabledStateMask | "MODIFIER_STATE_BUSY_WITH_ACTION" |
| m_bitsPostCastEnabledStateMask | "MODIFIER_STATE_BUSY_WITH_ACTION" |