pawn.AddAbility("citadel_ability_shieldedsentry", (ushort)EAbilitySlot.Signature1);
pawn.RemoveAbility("citadel_ability_shieldedsentry");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.
| Property | English label | Value | Tier 1 | Tier 2 | Tier 3 | Provides |
| TickRate | 0.5 | |||||
| TechPower | Spirit Power | 0 | TECH_POWER | |||
| TurretDPS | Turret DPS | 24 | +10 | |||
| ModelScale | 0.8 | |||||
| TechResist | Spirit Resist | 35 | TECH_RESIST | |||
| MeleeResist | 35 | MELEE_RESIST | ||||
| WeaponPower | Weapon Damage | 0 | WEAPON_POWER | |||
| SlowDuration | Slow Duration | 0 | ||||
| TrackingSpeed | 430 | |||||
| AbilityCharges | Charges | 1 | +2 | |||
| DecayingResist | 0 | |||||
| TurretLifetime | Lifetime | 35 | +12 | |||
| AbilityCooldown | Cooldown | 18 | ||||
| AbilityDuration | Duration | 0 | ||||
| AttackConeAngle | 10 | |||||
| AttackSpeedMult | 100 | +25 | ||||
| MoveSlowPercent | 0 | MOVEMENT_SPEED_SLOW_PERCENT | ||||
| AbilityCastDelay | Cast Delay | 0.2 | ||||
| AbilityCastRange | Cast Range | 20m | ||||
| ChannelMoveSpeed | 0 | |||||
| TurretBaseHealth | Turret Health | 100 | ||||
| TurretDeployTime | 0.25 | |||||
| TurretAttackDelay | 0.2 | |||||
| TurretAttackRange | Attack Range | 30m | +10m | |||
| AbilityChannelTime | Channel Duration | 0 | ||||
| AbilityResourceCost | 0 | |||||
| AbilityUnitTargetLimit | 1 | |||||
| DecayingResistDuration | 0 | |||||
| TurretAttackFalloffEnd | 30m | |||||
| AbilityPostCastDuration | 0 | |||||
| TurretAttackFalloffStart | 20m | |||||
| BossDamagePercentIncoming | 50 | |||||
| BossDamagePercentOutgoing | 30 | |||||
| AbilityCooldownBetweenCharge | Charge Delay | 3 | ||||
| NonHeroDamagePercentOutgoing | 50 |
Defined inside this ability. AddModifier finds each by its scoped name.
| Name for AddModifier | Class | Reads ability values |
| citadel_ability_shieldedsentry/modifier_forge_mini_turret_debuff Slowed | modifier_slow_base | MoveSlowPercent |
| citadel_ability_shieldedsentry/modifier_forge_mini_turret_innate_modifier | modifier_forge_mini_turret_innate_modifier |
| _class | "citadel_ability_shieldedsentry" |
| _editor | 1 key{
"folder_name": "Hero Forge"
} |
| _multibase | 2 items[ "signature_base", "weapon_info_base" ] |
| m_iMaxLevel | 1 |
| m_WeaponInfo | 57 keys{
"m_Spread": 1,
"m_flRange": 2500,
"m_bCanZoom": true,
"m_iBullets": 1,
"m_flZoomFOV": 35,
"m_iClipSize": -1,
"m_flCycleTime": 0.3125,
"m_flBulletSpeed": 60000,
"m_flRecoilSpeed": 1,
"m_strShootSound": "Forge.Turret.Shoot",
"m_StandingSpread": 1.5,
"m_flBulletDamage": 12.5,
"m_flBulletRadius": 3,
"m_flCritBonusEnd": 1.65,
"m_reloadDuration": 1.5,
"m_VerticallRecoil": {
"m_Range": [
-0.2,
0.2
],
"m_flBurstSlope": 0,
"m_flBurstConstant": 0,
"m_flBurstExponent": 0
},
"m_flVerticalPunch": 0,
"m_iBurstShotCount": 1,
"m_HorizontalRecoil": {
"m_Range": [
-0.1,
0.1
],
"m_flBurstExponent": 0
},
"m_flBulletLifetime": 2,
"m_flCritBonusStart": 1.65,
"m_mapImpactEffects": {
"flesh": {
"m_strDecal": "",
"m_strParticle": "particles/blood_impact/blood_impact_red_01.vpcf"
},
"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"
},
"solidmetal": {
"m_strDecal": "Impact.Concrete",
"m_strParticle": "particles/impact_fx/impact_spark_spray_large.vpcf"
}
},
"m_flHorizontalPunch": 0,
"m_flReloadMoveSpeed": "10000",
"m_flScatterYawScale": 1,
"m_flZoomFOV_Relative": -40,
"m_strBulletWhizSound": "Base.Bullet.Whizby",
"m_flBurstShotCooldown": 0,
"m_flCritBonusEndRange": 1500,
"m_flDamageFalloffBias": 0.5,
"m_flBulletGravityScale": 0,
"m_flBulletReflectScale": 0,
"m_flBulletWhizDistance": 80,
"m_eAttachmentSourceType": "EAttachmentSource_Custom",
"m_flBulletReflectAmount": 1,
"m_flCritBonusStartRange": 500,
"m_flRecoilRecoverySpeed": 10,
"m_strWeaponImpactEffect": "particles/weapon_fx/mcginnis/mcginnis_sentry_tracer_impact.vpcf",
"m_flCritBonusAgainstNPCs": 0,
"m_flZoomMoveSpeedPercent": 1,
"m_flDamageFalloffEndRange": 1377.95,
"m_flDamageFalloffEndScale": 0.65,
"m_flShootMoveSpeedPercent": 0.75,
"m_szMuzzleFlashEffectName": "particles/weapon_fx/mcginnis/mcginnis_sentry_muzzle_flash.vpcf",
"m_flDamageFalloffStartRange": 787.402,
"m_flDamageFalloffStartScale": 1,
"m_flShootSpreadPenaltyDecay": 2,
"m_flShootingUpSpreadPenalty": 0,
"m_strCustomAttachmentSource": "muzzle_fx",
"m_flShootSpreadPenaltyPerShot": 0,
"m_szBulletTravelTracerParticle": "particles/weapon_fx/mcginnis/mcginnis_sentry_tracer.vpcf",
"m_flShootSpreadPenaltyDecayDelay": 0,
"m_strLocalPlayerBulletImpactSound": "Player.Bullet.Impact.Default",
"m_bUseDesatForFriendlyNonHeroTracer": true,
"m_flBulletInheritShooterVelocityScale": 0,
"m_flRecoilShotIndexRecoveryTimeFactor": 0.25,
"m_strLocalPlayerBulletImpactHeavySound": "Player.Bullet.Impact.Default"
} |
| m_iUpdateTime | 1676844248 |
| m_eAbilityType | "EAbilityType_Signature" |
| m_strCastSound | "Forge.Turret.Cast" |
| m_bStartTrained | false |
| m_DebuffModifier | 7 keys{
"_class": "modifier_slow_base",
"m_bIsHidden": true,
"_my_subclass_name": "modifier_forge_mini_turret_debuff",
"m_sLocalizationName": "modifier_forge_mini_turret_debuff",
"m_strParticleEffect": "particles/generic/generic_slow_debuff.vpcf",
"m_strSmallIconCssClass": "slowed",
"m_vecAutoRegisterModifierValueFromAbilityPropertyName": [
"MoveSlowPercent"
]
} |
| m_InnateModifier | 2 keys{
"_class": "modifier_forge_mini_turret_innate_modifier",
"_my_subclass_name": "modifier_forge_mini_turret_innate_modifier"
} |
| m_deploymentInfo | 11 keys{
"m_bPlaceFlat": 1,
"m_bGroundCheck": 1,
"m_previewModel": "models/heroes_wip/mcginnis/turret/turret.vmdl",
"m_previewParticle": "particles/abilities/mcginnis/mcginnis_sentry_deploy_preview.vpcf",
"m_bRequiresUpNormal": 1,
"m_strExtraBodygroup": "Range_Markers",
"m_bDownCheckIgnoreLos": true,
"m_flPreviewModelScale": 0.8,
"m_flGroundCheckHeightOffset": 800,
"m_flGroundCheckHeightOffsetDown": 2500,
"m_strPreviewParticleEffectConfig": "preview"
} |
| m_projectileInfo | 6 keys{
"m_flSpeed": 600,
"m_particle": "particles/abilities/mcginnis/mcginnis_sentry_deploy_projectile.vpcf",
"m_nBehaviors": "PBF_DetonateOnHitWorld | PBF_DetonateOnLifetimeExpire",
"m_bHideImpactParticle": 1,
"m_bHideWarningParticle": 1,
"m_flProjectileModelScale": 0.5
} |
| m_previewParticle | "" |
| m_strAbilityImage | "file://{images}/hud/abilities/engineer_turret.psd" |
| m_strSelectedSound | "Forge.Turret.Select" |
| m_flBossDamageScale | 1 |
| m_eAbilityActivation | "CITADEL_ABILITY_ACTIVATION_PRESS" |
| m_nAbilityPointsCost | 0 |
| m_strUnselectedSound | "Forge.Turret.Unselect" |
| m_PreviewPathParticle | "particles/generic/generic_arc.vpcf" |
| m_nAbilityTargetTypes | "CITADEL_UNIT_TARGET_ALL_ENEMY" |
| m_strAG2CastingAction | "ability_sentry_casting" |
| m_strChannelLoopSound | "Forge.Turret.Place" |
| m_strMoviePreviewPath | "file://{resources}/videos/hero_abilities/ability_forge_turret.webm" |
| m_AbilityBehaviorsBits | "CITADEL_ABILITY_BEHAVIOR_DISPLAYS_DAMAGE_IMPACT | CITADEL_ABILITY_BEHAVIOR_PREVENT_TRAINING_BOT_USAGE | CITADEL_ABILITY_BEHAVIOR_CAN_SET_QUICK_CAST | CITADEL_ABILITY_BEHAVIOR_DONT_INTERRUPT_SLIDE_ON_CAST" |
| m_nAbillityUnlocksCost | 1 |
| m_AbilityTooltipDetails | 1 key{
"m_vecAbilityInfoSections": [
{
"m_strLocString": "#citadel_ability_shieldedsentry_desc",
"m_vecBasicProperties": [
"TurretLifetime"
],
"m_vecAbilityPropertiesBlock": [
{
"m_vecAbilityProperties": [
{
"m_strImportantProperty": "TurretDPS"
},
{
"m_strImportantProperty": "TurretBaseHealth"
},
{
"m_strImportantProperty": "TurretAttackRange"
}
]
}
],
"m_strAbilityPropertyUpgradeRequired": ""
}
]
} |
| m_skillshotMissParticle | "particles/abilities/skillshot_default_miss_owner.vpcf" |
| m_strCastAnimGraphParam | "b_Sentry" |
| m_bitsInterruptingStates | "MODIFIER_STATE_STUNNED" |
| m_flDamageFalloffEndScale | 0.65 |
| m_eAbilityTargetingLocation | "CITADEL_ABILITY_TARGETING_LOCATION_DEPLOYED_OBJECT" |
| m_strAG2CastCompletedAction | "" |
| 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" |
{
primary =
{
m_Spread = 1
m_flRange = 2500
m_bCanZoom = true
m_iBullets = 1
m_flZoomFOV = 35
m_iClipSize = -1
m_flCycleTime = 0.3125
m_flBulletSpeed = 60000
m_flRecoilSpeed = 1
m_strShootSound = "Forge.Turret.Shoot"
m_StandingSpread = 1.5
m_flBulletDamage = 12.5
m_flBulletRadius = 3
m_flCritBonusEnd = 1.65
m_reloadDuration = 1.5
m_VerticallRecoil =
{
m_Range = [ -0.2, 0.2 ]
m_flBurstSlope = 0
m_flBurstConstant = 0
m_flBurstExponent = 0
}
m_flVerticalPunch = 0
m_iBurstShotCount = 1
m_HorizontalRecoil =
{
m_Range = [ -0.1, 0.1 ]
m_flBurstExponent = 0
}
m_flBulletLifetime = 2
m_flCritBonusStart = 1.65
m_mapImpactEffects =
{
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"
}
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"
}
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"
}
}
m_flHorizontalPunch = 0
m_flReloadMoveSpeed = "10000"
m_flScatterYawScale = 1
m_flZoomFOV_Relative = -40
m_strBulletWhizSound = "Base.Bullet.Whizby"
m_flCritBonusEndRange = 1500
m_flDamageFalloffBias = 0.5
m_flBulletGravityScale = 0
m_flBulletReflectScale = 0
m_flBulletWhizDistance = 80
m_eAttachmentSourceType = "EAttachmentSource_Custom"
m_flBulletReflectAmount = 1
m_flCritBonusStartRange = 500
m_flIntraBurstCycleTime = 0
m_flRecoilRecoverySpeed = 10
m_strWeaponImpactEffect = "particles/weapon_fx/mcginnis/mcginnis_sentry_tracer_impact.vpcf"
m_flCritBonusAgainstNPCs = 0
m_flZoomMoveSpeedPercent = 1
m_flDamageFalloffEndRange = 1377.95
m_flDamageFalloffEndScale = 0.65
m_flShootMoveSpeedPercent = 0.75
m_szMuzzleFlashEffectName = "particles/weapon_fx/mcginnis/mcginnis_sentry_muzzle_flash.vpcf"
m_flDamageFalloffStartRange = 787.402
m_flDamageFalloffStartScale = 1
m_flShootSpreadPenaltyDecay = 2
m_flShootingUpSpreadPenalty = 0
m_strCustomAttachmentSource = "muzzle_fx"
m_flShootSpreadPenaltyPerShot = 0
m_szBulletTravelTracerParticle = "particles/weapon_fx/mcginnis/mcginnis_sentry_tracer.vpcf"
m_flShootSpreadPenaltyDecayDelay = 0
m_strLocalPlayerBulletImpactSound = "Player.Bullet.Impact.Default"
m_bUseDesatForFriendlyNonHeroTracer = true
m_flBulletInheritShooterVelocityScale = 0
m_flRecoilShotIndexRecoveryTimeFactor = 0.25
m_strLocalPlayerBulletImpactHeavySound = "Player.Bullet.Impact.Default"
}
}#CurrentBonus_labelsubcast_mcginnis_turret{
m_Spread = 1
m_flRange = 2500
m_bCanZoom = true
m_iBullets = 1
m_flZoomFOV = 35
m_iClipSize = -1
m_flCycleTime = 0.3125
m_flBulletSpeed = 60000
m_flRecoilSpeed = 1
m_strShootSound = "Forge.Turret.Shoot"
m_StandingSpread = 1.5
m_flBulletDamage = 12.5
m_flBulletRadius = 3
m_flCritBonusEnd = 1.65
m_reloadDuration = 1.5
m_VerticallRecoil =
{
m_Range = [ -0.2, 0.2 ]
m_flBurstSlope = 0
m_flBurstConstant = 0
m_flBurstExponent = 0
}
m_flVerticalPunch = 0
m_iBurstShotCount = 1
m_HorizontalRecoil =
{
m_Range = [ -0.1, 0.1 ]
m_flBurstExponent = 0
}
m_flBulletLifetime = 2
m_flCritBonusStart = 1.65
m_mapImpactEffects =
{
flesh =
{
m_strDecal = ""
m_strParticle = "particles/blood_impact/blood_impact_red_01.vpcf"
}
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"
}
solidmetal =
{
m_strDecal = "Impact.Concrete"
m_strParticle = "particles/impact_fx/impact_spark_spray_large.vpcf"
}
}
m_flHorizontalPunch = 0
m_flReloadMoveSpeed = "10000"
m_flScatterYawScale = 1
m_flZoomFOV_Relative = -40
m_strBulletWhizSound = "Base.Bullet.Whizby"
m_flBurstShotCooldown = 0
m_flCritBonusEndRange = 1500
m_flDamageFalloffBias = 0.5
m_flBulletGravityScale = 0
m_flBulletReflectScale = 0
m_flBulletWhizDistance = 80
m_eAttachmentSourceType = "EAttachmentSource_Custom"
m_flBulletReflectAmount = 1
m_flCritBonusStartRange = 500
m_flRecoilRecoverySpeed = 10
m_strWeaponImpactEffect = "particles/weapon_fx/mcginnis/mcginnis_sentry_tracer_impact.vpcf"
m_flCritBonusAgainstNPCs = 0
m_flZoomMoveSpeedPercent = 1
m_flDamageFalloffEndRange = 1377.95
m_flDamageFalloffEndScale = 0.65
m_flShootMoveSpeedPercent = 0.75
m_szMuzzleFlashEffectName = "particles/weapon_fx/mcginnis/mcginnis_sentry_muzzle_flash.vpcf"
m_flDamageFalloffStartRange = 787.402
m_flDamageFalloffStartScale = 1
m_flShootSpreadPenaltyDecay = 2
m_flShootingUpSpreadPenalty = 0
m_strCustomAttachmentSource = "muzzle_fx"
m_flShootSpreadPenaltyPerShot = 0
m_szBulletTravelTracerParticle = "particles/weapon_fx/mcginnis/mcginnis_sentry_tracer.vpcf"
m_flShootSpreadPenaltyDecayDelay = 0
m_strLocalPlayerBulletImpactSound = "Player.Bullet.Impact.Default"
m_bUseDesatForFriendlyNonHeroTracer = true
m_flBulletInheritShooterVelocityScale = 0
m_flRecoilShotIndexRecoveryTimeFactor = 0.25
m_strLocalPlayerBulletImpactHeavySound = "Player.Bullet.Impact.Default"
}file://{resources}/videos/hero_abilities/ability_forge_turret.webm