Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 16s ago· Viewing build 6738 (Oct 02 2026), not the latest

ability_ratking_scrap_grenade

Scrap Grenadeability

class ability_ratking_scrap_grenade · Rat King Signature 1 · inherits from signature_base

Deadworks (C#)
pawn.AddAbility("ability_ratking_scrap_grenade", (ushort)EAbilitySlot.Signature1);
pawn.RemoveAbility("ability_ratking_scrap_grenade");

Properties

Ability values, by the name modifiers and AddModifier overrides use. Tier columns are what each upgrade adds; "scaling" is how much more the value grows with spirit power or another stat.

PropertyEnglish labelValueTier 1Tier 2Tier 3Provides
TechPowerSpirit Power0TECH_POWER
Detonations3+1
SlowPercentMove Speed20MOVEMENT_SPEED_SLOW_PERCENT
WeaponPowerWeapon Damage0WEAPON_POWER
SlowDurationSlow Duration4
AbilityChargesCharges0
AbilityCooldownCooldown26+-8
AbilityDurationDuration0
AbilityCastDelayCast Delay0.0
AbilityCastRangeCast Range0
ChannelMoveSpeed-1
DamagePerShrapnelDetonation Damage65+65
MeleeImpulseHeavy1000
MeleeImpulseLight750
AbilityChannelTimeChannel Duration0
BigExplosionDamageBig Detonation Damage0+1.0 scaling
BigExplosionRadiusBig Detonation Radius0+1 TechRange scaling
BounceGrenadeSpeed1200
AbilityResourceCost0
MeleeImpulseUpScale0.45
ShrapnelSphereRadiusDetonation Radius8m
AbilityUnitTargetLimit1
AbilityPostCastDuration0
BigExplosionSlowPercentBig Detonation Move Speed40+0.12 scalingMOVEMENT_SPEED_SLOW_PERCENT
FinalBounceDetonateTimer1.5
FirstBounceDetonateTimer0.8
AbilityCooldownBetweenChargeCharge Delay0
AdditionalBounceDetonateTimer0.7
ArmorReductionPerStackNonHero-3

Modifiers

Defined inside this ability. AddModifier finds each by its scoped name.

Name for AddModifierClassReads ability values
ability_ratking_scrap_grenade/ratking_scrap_grenade_big_slow Slowedmodifier_slow_baseBigExplosionSlowPercent
ability_ratking_scrap_grenade/ratking_scrap_grenade_slow Slowedmodifier_slow_baseSlowPercent

VData

_class"ability_ratking_scrap_grenade"
_editor
1 key
{
  "folder_name": "Hero RatKing"
}
_multibase
1 item
[
  "signature_base"
]
m_iMaxLevel1
m_BounceSound"Ratking.ScrapGrenade.Bounce"
m_iUpdateTime0
m_ConeParticle"particles/abilities/priest/priest_cone_aoe.vpcf"
m_SlowModifier
3 keys
{
  "_class": "modifier_slow_base",
  "_my_subclass_name": "ratking_scrap_grenade_slow",
  "m_vecAutoRegisterModifierValueFromAbilityPropertyName": [
    "SlowPercent"
  ]
}
m_eAbilityType"EAbilityType_Signature"
m_strCastSound"Ratking.ScrapGrenade.Cast"
m_bStartTrainedfalse
m_strTimerSound"Ratking.ScrapGrenade.Timer"
m_BounceParticle"particles/abilities/ratking/ratking_scrap_grenade_bounce.vpcf"
m_ShrapnelTracer"particles/abilities/ratking/ratking_scrap_grenade_tracer.vpcf"
m_deploymentInfo
0 keys
{}
m_mapWeaponInfos
2 keys
{
  "scrap": {
    "m_flRange": 8192,
    "m_flBulletSpeed": 1500,
    "m_flBulletDamage": 1,
    "m_flBulletRadius": 1,
    "m_flBulletLifetime": 5,
    "m_mapImpactEffects": {
      "flesh": {
        "m_strDecal": "",
        "m_strParticle": "particles/blood_impact/blood_impact_red_01.vpcf"
      },
      "default": {
        "m_strDecal": "Impact.Concrete",
        "m_strParticle": "particles/impact_fx/impact_spark_spray_large.vpcf"
      },
      "portals": {
        "m_strDecal": "Impact.Concrete",
        "m_strParticle": "particles/impact_fx/impact_spark_spray_large.vpcf"
      },
      "concrete": {
        "m_strDecal": "Impact.Concrete",
        "m_strParticle": "particles/impact_fx/impact_spark_spray_large.vpcf"
      },
      "solidmetal": {
        "m_strDecal": "Impact.Concrete",
        "m_strParticle": "particles/impact_fx/impact_spark_spray_large.vpcf"
      }
    },
    "m_strBulletImpactSound": "Ratking.ScrapGrenade.Clock.Hit",
    "m_flBulletRadiusVsWorld": 1,
    "m_strBulletLoopingSound": "Ratking.ScrapGrenade.Clock.Whizby",
    "m_szBulletTravelTracerParticle": "particles/abilities/ratking/ratking_scrap_grenade_clock_projectile.vpcf"
  },
  "primary": {
    "m_flBulletSpeed": 1300,
    "m_flBulletRadius": 1,
    "m_mapImpactEffects": {
      "default": {}
    },
    "m_flVerticalAimBias": 10,
    "m_flBulletGravityScale": 1.3,
    "m_strBulletImpactSound": "",
    "m_flBulletRadiusVsWorld": 1,
    "m_strBulletLoopingSound": "",
    "m_szBulletTravelTracerParticle": "particles/weapon_fx/ratking/ratking_tracer.vpcf"
  }
}
m_projectileInfo
12 keys
{
  "m_flSpeed": 1300,
  "m_particle": "particles/abilities/ratking/ratking_scrap_grenade_projectile.vpcf",
  "m_flUpSpeed": 300,
  "m_flFriction": 10,
  "m_nBehaviors": "PBF_NotTurnTowardVelocity | PBF_StartDetonateTimeOnHitTarget",
  "m_customModel": "models/heroes_wip/ratking/ratking_grenade.vmdl",
  "m_LoopingSound": "Ratking.ScrapGrenade.Proj.Lp",
  "m_flGravityScale": 1.85,
  "m_flPhysicsRadius": 25,
  "m_flTriggerRadius": 2,
  "m_bHideWarningParticle": true,
  "m_flProjectileModelScale": 2.2
}
m_ExplodeParticle"particles/abilities/ratking/ratking_scrap_grenade_explode.vpcf"
m_previewParticle"particles/abilities/ratking/ratking_scrap_grenade_projectile_preview.vpcf"
m_strAbilityImage"file://{images}/hud/abilities/ratking/ratking_grenade.psd"
m_strExplodeSound"Ratking.ScrapGrenade.Explode"
m_strMeleeHitSound"Ratking.ScrapGrenade.MeleeHit"
m_strSelectedSound"Ratking.ScrapGrenade.Select"
m_flBossDamageScale1
m_sCustomStackLabel"#CurrentBonus_label"
m_eAbilityActivation"CITADEL_ABILITY_ACTIVATION_PRESS"
m_nAbilityPointsCost0
m_strBigExplodeSound"Ratking.ScrapGrenade.Explode.Big"
m_strExtraTimerSound"Ratking.ScrapGrenade.Timer.Final"
m_strUnselectedSound"Ratking.ScrapGrenade.Deselect"
m_PreviewPathParticle"particles/generic/generic_arc.vpcf"
m_nAbilityTargetTypes"CITADEL_UNIT_TARGET_ALL_ENEMY"
m_strAG2CastingAction"scrap_casting"
m_AbilityBehaviorsBits"CITADEL_ABILITY_BEHAVIOR_PROJECTILE | CITADEL_ABILITY_BEHAVIOR_DISPLAYS_DAMAGE_IMPACT | CITADEL_ABILITY_BEHAVIOR_PROJECTILE_FIRED_AS_BULLET | CITADEL_ABILITY_BEHAVIOR_CAN_SET_QUICK_CAST | CITADEL_ABILITY_BEHAVIOR_DONT_INTERRUPT_SLIDE_ON_CAST"
m_nAbillityUnlocksCost1
m_strSelectedLoopSound"Ratking.ScrapGrenade.Select.Lp"
m_AbilityTooltipDetails
1 key
{
  "m_vecAbilityInfoSections": [
    {
      "m_strLocString": "#ability_ratking_scrap_grenade_desc",
      "m_vecBasicProperties": [
        "Detonations",
        "ShrapnelSphereRadius",
        "SlowDuration"
      ],
      "m_vecAbilityPropertiesBlock": [
        {
          "m_vecAbilityProperties": [
            {
              "m_strImportantProperty": "DamagePerShrapnel"
            },
            {
              "m_strImportantProperty": "SlowPercent"
            }
          ]
        }
      ]
    },
    {
      "m_strLocString": "#ability_ratking_scrap_grenade_big_explosion_desc",
      "m_vecBasicProperties": [
        "SlowDuration"
      ],
      "m_vecAbilityPropertiesBlock": [
        {
          "m_vecAbilityProperties": [
            {
              "m_strImportantProperty": "BigExplosionDamage"
            },
            {
              "m_strImportantProperty": "BigExplosionRadius"
            },
            {
              "m_strImportantProperty": "BigExplosionSlowPercent"
            }
          ],
          "m_strPropertiesTitleLocString": ""
        }
      ],
      "m_strAbilityPropertyUpgradeRequired": "BigExplosionDamage"
    }
  ]
}
m_mapCastEventParticles
0 keys
{}
m_skillshotMissParticle"particles/abilities/skillshot_default_miss_owner.vpcf"
m_bitsInterruptingStates"MODIFIER_STATE_STUNNED"
m_eAbilityTargetingShape"CITADEL_ABILITY_TARGETING_SHAPE_CIRCLE"
m_strAG2ChannelingAction"scrap_channeling"
m_flMaxSurfaceDotToBounce1
m_flMinSurfaceDotToBounce-1
m_strHitConfirmationSound"Ratking.ScrapGrenade.Hit"
m_BigExplosionSlowModifier
3 keys
{
  "_class": "modifier_slow_base",
  "_my_subclass_name": "ratking_scrap_grenade_big_slow",
  "m_vecAutoRegisterModifierValueFromAbilityPropertyName": [
    "BigExplosionSlowPercent"
  ]
}
m_eAbilityTargetingLocation"CITADEL_ABILITY_TARGETING_LOCATION_NONE"
m_flBounceVerticalDampening0.3
m_strAG2CastCompletedAction"scrap_cast_completed"
m_strAbilityChargeReadySound""
m_strAbilityOffCooldownSound""
m_bitsChannelEnabledStateMask"MODIFIER_STATE_BUSY_WITH_ACTION"
m_bitsPreCastEnabledStateMask"MODIFIER_STATE_BUSY_WITH_ACTION"
m_bitsPostCastEnabledStateMask"MODIFIER_STATE_BUSY_WITH_ACTION"
m_flBounceDirectionalDampening0.2

History

  1. 6736–6745added