trooper_grenade
abilityclass 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.
| Property | English label | Value | Provides |
| Damage | Damage | 200 | |
| Grenades | | 1 | |
| TechPower | Spirit Power | 0 | TECH_POWER |
| BlastRadius | | 4m | |
| WeaponPower | Weapon Damage | 0 | WEAPON_POWER |
| PlayerDamage | | 100 | |
| StunDuration | Stun Duration | 0 | |
| AbilityCharges | Charges | 0 | |
| ArmingDuration | Arming Duration | 5 | |
| AbilityCooldown | Cooldown | 4 | |
| AbilityDuration | Duration | 0 | |
| ImpulseVelocity | | 400 | |
| AbilityCastDelay | Cast Delay | 0.2 | |
| AbilityCastRange | Cast Range | 1600 | |
| ChannelMoveSpeed | | -1 | |
| AbilityChannelTime | Channel Duration | 0 | |
| AbilityResourceCost | | 0 | |
| AbilityUnitTargetLimit | | 1 | |
| AbilityPostCastDuration | | 0 | |
| AbilityCooldownBetweenCharge | Charge Delay | -1.0 | |
VData
| _class | "trooper_grenade" |
| _editor | 1 key{
"folder_name": "Troopers"
} |
| _multibase | 1 item[
"npc_base"
] |
| m_eAbilityType | "EAbilityType_Signature" |
| m_bStartTrained | true |
| m_mapWeaponInfos | 1 key{
"primary": {
"m_flBulletSpeed": 10000
}
} |
| 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_sCustomStackLabel | "#CurrentBonus_label" |
| 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
- 6722–6745changed
- ~_editor.folder_name
Base→Troopers - +m_mapWeaponInfos
{ 1 key }
{
primary =
{
m_flBulletSpeed = 10000
}
} - +m_sCustomStackLabel
#CurrentBonus_label - −m_WeaponInfo
{ 1 key }
{
m_flBulletSpeed = 10000
}
- 6696–6701first dumped