Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 28s ago· Viewing build 6861 (Nov 09 2026)

citadel_weapon_chessmaster_shotgun

weapon

class citadel_ability_chessmaster_primaryweapon · Solomon Weapon Primary · inherits from hero_shotgun_base

Deadworks (C#)
pawn.AddAbility("citadel_weapon_chessmaster_shotgun", (ushort)EAbilitySlot.WeaponPrimary);
pawn.RemoveAbility("citadel_weapon_chessmaster_shotgun");

Properties

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

PropertyEnglish labelValueProvides
TechPowerSpirit Power0TECH_POWER
ChargeTime2.0
MaxRotation90
MinRotation6
WeaponPowerWeapon Damage0WEAPON_POWER
AbilityChargesCharges0
AbilityCooldownCooldown0
AbilityDurationDuration0
AbilityCastDelayCast Delay0
AbilityCastRangeCast Range0
BulletsPerDegree1.5
ChannelMoveSpeed-1
AbilityChannelTimeChannel Duration0
AbilityResourceCost0
AbilityUnitTargetLimit1
AbilityPostCastDuration0
AbilityCooldownBetweenChargeCharge Delay-1.0

Modifiers

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

Name for AddModifierClassReads ability values
citadel_weapon_chessmaster_shotgun/gravitymodifier_hero_gravity

VData

_class"citadel_ability_chessmaster_primaryweapon"
_editor
1 key
{
  "folder_name": "Hero ChessMaster"
}
_multibase
1 item
[
  "hero_shotgun_base"
]
m_HUDPanel
2 keys
{
  "m_Layout": "file://{resources}/layout/ability_hud_elements_container.vxml",
  "m_vecHUDElements": [
    {
      "m_eType": "CITADEL_ABILITY_HUD_ELEMENT_TYPE_PROGRESS",
      "m_Layout": "file://{resources}/layout/ability_hud_elements/element_circular_progress.vxml",
      "m_vecPanels": [
        {
          "m_flEndValue": 360,
          "m_flStartValue": 0,
          "m_strPanelName": "circular_progress",
          "m_eProgressType": "EProgress_RadialCW",
          "m_bReverseProgress": false
        }
      ],
      "m_strContext": "charge",
      "m_strAdditionalClasses": "medium"
    },
    {
      "m_eType": "CITADEL_ABILITY_HUD_ELEMENT_TYPE_GUN",
      "m_Layout": "file://{resources}/layout/ability_hud_elements/element_gun.vxml",
      "m_vecPanels": [
        {
          "m_strPanelName": "left_progress",
          "m_eProgressType": "EProgress_OffsetLeft"
        },
        {
          "m_strPanelName": "right_progress",
          "m_eProgressType": "EProgress_OffsetRight"
        }
      ],
      "m_strContext": "gun"
    }
  ]
}
m_eAbilityType"EAbilityType_Weapon"
m_bStartTrainedtrue
m_DOFWhileZoomed
3 keys
{
  "m_flDofFarCrisp": 200,
  "m_flDofFarBlurry": 7000,
  "m_flDofNearCrisp": 100
}
m_mapWeaponInfos
1 key
{
  "primary": {
    "m_Spread": 0,
    "m_flRange": 7000,
    "m_bCanZoom": false,
    "m_iBullets": 1,
    "m_flZoomFOV": 35,
    "m_iClipSize": 8,
    "m_flCycleTime": 0.5,
    "m_flBulletSpeed": 14000,
    "m_flDamageForce": 50,
    "m_flRecoilSpeed": 5,
    "m_strShootSound": "Chessmaster.Wpn.Fire",
    "m_StandingSpread": 1.5,
    "m_flBulletDamage": 25,
    "m_flBulletRadius": 8,
    "m_flCritBonusEnd": 1.65,
    "m_reloadDuration": 3,
    "m_strReloadSound": "Chessmaster.Wpn.Reload.Start",
    "m_strZoomInSound": "Chessmaster.Wpn.Zoom.In",
    "m_VerticallRecoil": {
      "m_Range": [
        0.1,
        0.1
      ],
      "m_flBurstSlope": 0,
      "m_flBurstConstant": 0,
      "m_flBurstExponent": 0
    },
    "m_flVerticalPunch": 0,
    "m_iBurstShotCount": 1,
    "m_strZoomOutSound": "Chessmaster.Wpn.Zoom.Out",
    "m_HorizontalRecoil": {
      "m_Range": [
        -0.15,
        0.15
      ],
      "m_flBurstExponent": 0
    },
    "m_flBulletLifetime": 2,
    "m_flCritBonusStart": 1.65,
    "m_mapImpactEffects": {
      "dirt": {},
      "wood": {
        "m_strDecal": "Impact.Wood",
        "m_strParticle": "particles/impact_fx/impact_wood.vpcf"
      },
      "flesh": {
        "m_strDecal": "",
        "m_strParticle": "particles/blood_impact/blood_impact_red_01.vpcf"
      },
      "metal": {},
      "default": {
        "m_strDecal": "Impact.Concrete",
        "m_strSound": "Default.BulletImpact",
        "m_strParticle": "particles/impact_fx/impact_spark_spray_large.vpcf"
      },
      "portals": {
        "m_strDecal": "Impact.Concrete",
        "m_strSound": "",
        "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"
      },
      "leafy_tree": {},
      "solidmetal": {
        "m_strDecal": "Impact.Concrete",
        "m_strParticle": "particles/impact_fx/impact_spark_spray_large.vpcf"
      },
      "wood_plank": {
        "m_strDecal": "Impact.Wood",
        "m_strParticle": "particles/impact_fx/impact_wood.vpcf"
      },
      "metalvehicle": {}
    },
    "m_flExplosionRadius": 40,
    "m_flHorizontalPunch": 0,
    "m_flReloadMoveSpeed": "10000",
    "m_flScatterYawScale": 2,
    "m_strReloadEndSound": "",
    "m_vecScatterOffsets": [],
    "m_bUsesSpreadPattern": true,
    "m_flZoomFOV_Relative": -40,
    "m_strBulletWhizSound": "Chessmaster.Wpn.Whizby",
    "m_flCritBonusEndRange": 1500,
    "m_flDamageFalloffBias": 0.5,
    "m_flBulletGravityScale": 0,
    "m_flBulletReflectScale": 0,
    "m_flBulletWhizDistance": 80,
    "m_strBulletImpactSound": "Chessmaster.Wpn.Impact",
    "m_flBulletRadiusVsWorld": 0,
    "m_flBulletReflectAmount": 1,
    "m_flCritBonusStartRange": 500,
    "m_flIntraBurstCycleTime": 0.075,
    "m_flPelletScatterFactor": 1,
    "m_flRecoilRecoverySpeed": 1,
    "m_strWeaponImpactEffect": "particles/weapon_fx/chessmaster/chessmaster_tracer_impact.vpcf",
    "m_bBulletShouldUseVerlet": true,
    "m_flCritBonusAgainstNPCs": 0,
    "m_flZoomMoveSpeedPercent": 1,
    "m_flDamageFalloffEndRange": 1800,
    "m_flDamageFalloffEndScale": 0.1,
    "m_flShootMoveSpeedPercent": 0.75,
    "m_szMuzzleFlashEffectName": "particles/weapon_fx/chessmaster/chessmaster_muzzle_flash.vpcf",
    "m_AimingShootSpreadPenalty": [
      0,
      2
    ],
    "m_bHitOnceAcrossAllBullets": true,
    "m_bFirstShotPerfectAccuracy": false,
    "m_flDamageFalloffStartRange": 787,
    "m_flDamageFalloffStartScale": 1,
    "m_flShootSpreadPenaltyDecay": 4,
    "m_flShootingUpSpreadPenalty": 0,
    "m_flPelletScatterSpreadFactor": 0.2,
    "m_flRecoilRecoveryDelayFactor": 0.3,
    "m_flShootSpreadPenaltyPerShot": 0.25,
    "m_bAllowExplosionToCollectGold": true,
    "m_szBulletTravelTracerParticle": "particles/weapon_fx/chessmaster/chessmaster_tracer.vpcf",
    "m_flShootSpreadPenaltyDecayDelay": 0,
    "m_strLocalPlayerBulletImpactSound": "Player.Bullet.Impact.Hero",
    "m_flExplosionDamageScaleAtMaxRadius": 1,
    "m_flBulletInheritShooterVelocityScale": 0,
    "m_flRecoilShotIndexRecoveryTimeFactor": 0.25,
    "m_strLocalPlayerBulletImpactHeavySound": "Player.Bullet.Impact.Hero.Large"
  }
}
m_sDisarmedSound"Player.Weapon.Jammed"
m_strAbilityImage"file://{images}/hud/abilities/weapon_damage.psd"
m_strBishopTracer"particles/weapon_fx/empty_tracer.vpcf"
m_strAG2SourceName"weapon"
m_flBossDamageScale1
m_sCustomStackLabel"#CurrentBonus_label"
m_cameraSequenceZoom
2 keys
{
  "m_nPriority": 2,
  "m_vecFOVOperations": [
    {
      "m_flLerpGain": 0.75,
      "m_flLerpDuration": 0.1,
      "m_bSpringToDefault": false,
      "m_eCameraOperation": "k_ECameraOp_Spring",
      "m_flSpringStrength": 40,
      "m_bLerpEndAtDefault": false,
      "m_bValuesAreRelative": true
    },
    {
      "m_eCameraOperation": "k_ECameraOp_Maintain"
    }
  ]
}
m_eAbilityActivation"CITADEL_ABILITY_ACTIVATION_ON_BUTTON_IS_DOWN"
m_nAbilityPointsCost1
m_AbilityBehaviorsBits"CITADEL_ABILITY_BEHAVIOR_DONT_INTERRUPT_SPRINT | CITADEL_ABILITY_BEHAVIOR_IS_PRIMARY_WEAPON | CITADEL_ABILITY_BEHAVIOR_NO_TARGET | CITADEL_ABILITY_BEHAVIOR_SILENT_CAST_FAILURE_FEEDBACK | CITADEL_ABILITY_BEHAVIOR_DISARMABLE | CITADEL_ABILITY_BEHAVIOR_NOT_SILENCABLE | CITADEL_ABILITY_BEHAVIOR_WEAPON_TOGGLE"
m_cameraSequenceUnZoom
2 keys
{
  "m_nPriority": 2,
  "m_vecFOVOperations": [
    {
      "m_flLerpBias": 0.75,
      "m_flLerpDuration": 0.12,
      "m_bApproachDefault": true,
      "m_bSpringToDefault": true,
      "m_eCameraOperation": "k_ECameraOp_Lerp",
      "m_flSpringStrength": 40,
      "m_bValuesAreRelative": true
    }
  ]
}
m_sObstructedShotSound""
m_strBishopCommandSound""
m_AutoIntrinsicModifiers
1 item
[
  {
    "_class": "modifier_hero_gravity",
    "_my_subclass_name": "gravity",
    "m_flGravityChange": -25,
    "m_nEnabledStateMask": "MODIFIER_STATE_CHESSMASTER_PIECE"
  }
]
m_bitsInterruptingStates"MODIFIER_STATE_STUNNED | MODIFIER_STATE_IS_ASLEEP"
m_flEmpoweredBulletRadius25
m_eAbilityTargetingLocation"CITADEL_ABILITY_TARGETING_LOCATION_SELF"
m_flHorizontalOffsetPerShot0
m_flMinDisarmedSoundInterval0.1
m_bSuppressBulletOnBishopFiretrue
m_bitsChannelEnabledStateMask"MODIFIER_STATE_BUSY_WITH_ACTION"
m_bitsPreCastEnabledStateMask"MODIFIER_STATE_BUSY_WITH_ACTION"
m_bitsPostCastEnabledStateMask"MODIFIER_STATE_BUSY_WITH_ACTION"
m_bDOFFarSettingsAreOffsetByGunRangefalse

History

  1. 6826–6861changed
    • ~m_mapWeaponInfos.primary.m_flBulletDamage30→25−16.7%
  2. 6769–6821added