pawn.AddAbility("citadel_weapon_viscous_set_2", (ushort)EAbilitySlot.WeaponSecondary);
pawn.RemoveAbility("citadel_weapon_viscous_set_2");Ability values, by the name modifiers and AddModifier overrides use.
| Property | English label | Value | Provides |
| TechPower | Spirit Power | 0 | TECH_POWER |
| WeaponPower | Weapon Damage | 0 | WEAPON_POWER |
| AbilityCharges | Charges | 0 | |
| AbilityCooldown | Cooldown | 0 | |
| AbilityDuration | Duration | 0 | |
| AbilityCastDelay | Cast Delay | 0 | |
| AbilityCastRange | Cast Range | 0 | |
| ChannelMoveSpeed | -1 | ||
| AbilityChannelTime | Channel Duration | 0 | |
| AbilityResourceCost | 0 | ||
| AbilityUnitTargetLimit | 1 | ||
| AbilityPostCastDuration | 0 | ||
| AbilityCooldownBetweenCharge | Charge Delay | -1.0 |
| _class | "citadel_ability_primary_weapon_scaling_altfire" |
| _editor | 1 key{
"folder_name": "Hero Viscous"
} |
| _multibase | 1 item[ "weapon_alternative_rmb_activate" ] |
| m_HUDPanel | 1 key{
"m_vecHUDElements": [
{
"m_eType": "CITADEL_ABILITY_HUD_ELEMENT_TYPE_GUN",
"m_strContext": "gun"
}
]
} |
| m_eAbilityType | "EAbilityType_Weapon" |
| m_bStartTrained | true |
| m_DOFWhileZoomed | 3 keys{
"m_flDofFarCrisp": 200,
"m_flDofFarBlurry": 400,
"m_flDofNearCrisp": 100
} |
| m_mapWeaponInfos | 1 key{
"primary": {
"m_Spread": 0.2,
"m_flRange": 1000,
"m_bCanCrit": false,
"m_bCanZoom": false,
"m_iBullets": 1,
"m_flZoomFOV": 35,
"m_iClipSize": 10,
"m_flCycleTime": 1.26,
"m_flBulletSpeed": 1500,
"m_flRecoilSpeed": 5,
"m_strShootSound": "Viscous.Fire.Alt",
"m_StandingSpread": 1.5,
"m_flBulletDamage": 42,
"m_flBulletRadius": 20,
"m_flCritBonusEnd": 1.65,
"m_reloadDuration": 2.1,
"m_strReloadSound": "Kelvin.Wpn.Reload.Start",
"m_strZoomInSound": "default.ZoomIn",
"m_VerticallRecoil": {
"m_Range": [
0.2,
0.3
],
"m_flBurstSlope": 0,
"m_flBurstConstant": 0,
"m_flBurstExponent": 0
},
"m_flVerticalPunch": 0,
"m_iBurstShotCount": 1,
"m_strZoomOutSound": "default.ZoomOut",
"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_flExplosionRadius": 140,
"m_flHorizontalPunch": 0,
"m_flReloadMoveSpeed": "10000",
"m_flScatterYawScale": 1,
"m_flVerticalAimBias": 2.2,
"m_strReloadEndSound": "",
"m_vecScatterOffsets": [],
"m_flZoomFOV_Relative": -40,
"m_strBulletWhizSound": "Viscous.Wpn.BulletWhizby",
"m_flCritBonusEndRange": 1500,
"m_flDamageFalloffBias": 0.5,
"m_flBulletGravityScale": 0.2,
"m_flBulletReflectScale": 0,
"m_flBulletWhizDistance": 80,
"m_iAmmoConsumedPerShot": 5,
"m_strBulletImpactSound": "Viscous.Fire.Alt.Explode",
"m_flBulletRadiusVsWorld": 4,
"m_flBulletReflectAmount": 1,
"m_flCritBonusStartRange": 500,
"m_flIntraBurstCycleTime": 0,
"m_flPelletScatterFactor": 1,
"m_flRecoilRecoverySpeed": 10,
"m_strBulletLoopingSound": "Viscous.Fire.Alt.Projectile.Lp",
"m_strWeaponImpactEffect": "particles/weapon_fx/viscous/viscous_projectile_alt_impact.vpcf",
"m_bBulletShouldUseVerlet": true,
"m_flCritBonusAgainstNPCs": 0,
"m_flZoomMoveSpeedPercent": 1,
"m_flDamageFalloffEndRange": 2264,
"m_flDamageFalloffEndScale": 0.1,
"m_flShootMoveSpeedPercent": 0.75,
"m_szMuzzleFlashEffectName": "particles/weapon_fx/viscous/viscous_projectile_alt_firing.vpcf",
"m_AimingShootSpreadPenalty": [
0,
0.5
],
"m_flDamageFalloffStartRange": 787,
"m_flDamageFalloffStartScale": 1,
"m_flShootSpreadPenaltyDecay": 3,
"m_flShootingUpSpreadPenalty": 0,
"m_flPelletScatterSpreadFactor": 1,
"m_flRecoilRecoveryDelayFactor": 0.9,
"m_flShootSpreadPenaltyPerShot": 0.5,
"m_szBulletTravelTracerParticle": "particles/weapon_fx/viscous/viscous_projectile_alt.vpcf",
"m_flShootSpreadPenaltyDecayDelay": 0,
"m_strLocalPlayerBulletImpactSound": "Player.Bullet.Impact.Hero",
"m_flExplosionDamageScaleAtMaxRadius": 0.5,
"m_flBulletInheritShooterVelocityScale": 0,
"m_flRecoilShotIndexRecoveryTimeFactor": 0.25,
"m_strLocalPlayerBulletImpactHeavySound": "Player.Bullet.Impact.Hero.Large"
}
} |
| m_projectileInfo | 0 keys{} |
| m_strAbilityImage | "file://{images}/hud/abilities/weapon_damage.psd" |
| m_sCustomStackLabel | "#CurrentBonus_label" |
| m_eAbilityActivation | "CITADEL_ABILITY_ACTIVATION_ON_BUTTON_IS_DOWN" |
| m_nAbilityPointsCost | 1 |
| m_AbilityBehaviorsBits | "CITADEL_ABILITY_BEHAVIOR_DONT_INTERRUPT_SPRINT | CITADEL_ABILITY_BEHAVIOR_IS_ALTERNATIVE_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_bitsInterruptingStates | "MODIFIER_STATE_STUNNED | MODIFIER_STATE_IS_ASLEEP" |
| m_cameraSequenceCastStart | 0 keys{} |
| m_eAbilityTargetingLocation | "CITADEL_ABILITY_TARGETING_LOCATION_SELF" |
| m_bitsChannelEnabledStateMask | "MODIFIER_STATE_BUSY_WITH_ACTION" |
| m_bitsPreCastEnabledStateMask | "MODIFIER_STATE_BUSY_WITH_ACTION" |
| m_bitsPostCastEnabledStateMask | "MODIFIER_STATE_BUSY_WITH_ACTION" |
{
primary =
{
m_Spread = 0.2
m_flRange = 1000
m_bCanCrit = false
m_bCanZoom = false
m_iBullets = 1
m_flZoomFOV = 35
m_iClipSize = 10
m_flCycleTime = 1.26
m_flBulletSpeed = 1500
m_flRecoilSpeed = 5
m_strShootSound = "Viscous.Fire.Alt"
m_StandingSpread = 1.5
m_flBulletDamage = 42
m_flBulletRadius = 20
m_flCritBonusEnd = 1.65
m_reloadDuration = 2.1
m_strReloadSound = "Kelvin.Wpn.Reload.Start"
m_strZoomInSound = "default.ZoomIn"
m_VerticallRecoil =
{
m_Range = [ 0.2, 0.3 ]
m_flBurstSlope = 0
m_flBurstConstant = 0
m_flBurstExponent = 0
}
m_flVerticalPunch = 0
m_iBurstShotCount = 1
m_strZoomOutSound = "default.ZoomOut"
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_flExplosionRadius = 140
m_flHorizontalPunch = 0
m_flReloadMoveSpeed = "10000"
m_flScatterYawScale = 1
m_flVerticalAimBias = 2.2
m_strReloadEndSound = ""
m_vecScatterOffsets = []
m_flZoomFOV_Relative = -40
m_strBulletWhizSound = "Viscous.Wpn.BulletWhizby"
m_flCritBonusEndRange = 1500
m_flDamageFalloffBias = 0.5
m_flBulletGravityScale = 0.2
m_flBulletReflectScale = 0
m_flBulletWhizDistance = 80
m_iAmmoConsumedPerShot = 5
m_strBulletImpactSound = "Viscous.Fire.Alt.Explode"
m_flBulletRadiusVsWorld = 4
m_flBulletReflectAmount = 1
m_flCritBonusStartRange = 500
m_flIntraBurstCycleTime = 0
m_flPelletScatterFactor = 1
m_flRecoilRecoverySpeed = 10
m_strBulletLoopingSound = "Viscous.Fire.Alt.Projectile.Lp"
m_strWeaponImpactEffect = "particles/weapon_fx/viscous/viscous_projectile_alt_impact.vpcf"
m_bBulletShouldUseVerlet = true
m_flCritBonusAgainstNPCs = 0
m_flZoomMoveSpeedPercent = 1
m_flDamageFalloffEndRange = 2264
m_flDamageFalloffEndScale = 0.1
m_flShootMoveSpeedPercent = 0.75
m_szMuzzleFlashEffectName = "particles/weapon_fx/viscous/viscous_projectile_alt_firing.vpcf"
m_AimingShootSpreadPenalty = [ 0, 0.5 ]
m_flDamageFalloffStartRange = 787
m_flDamageFalloffStartScale = 1
m_flShootSpreadPenaltyDecay = 3
m_flShootingUpSpreadPenalty = 0
m_flPelletScatterSpreadFactor = 1
m_flRecoilRecoveryDelayFactor = 0.9
m_flShootSpreadPenaltyPerShot = 0.5
m_szBulletTravelTracerParticle = "particles/weapon_fx/viscous/viscous_projectile_alt.vpcf"
m_flShootSpreadPenaltyDecayDelay = 0
m_strLocalPlayerBulletImpactSound = "Player.Bullet.Impact.Hero"
m_flExplosionDamageScaleAtMaxRadius = 0.5
m_flBulletInheritShooterVelocityScale = 0
m_flRecoilShotIndexRecoveryTimeFactor = 0.25
m_strLocalPlayerBulletImpactHeavySound = "Player.Bullet.Impact.Hero.Large"
}
}#CurrentBonus_label{
m_Spread = 0.2
m_flRange = 1000
m_bCanCrit = false
m_bCanZoom = false
m_iBullets = 1
m_flZoomFOV = 35
m_iClipSize = 10
m_flCycleTime = 1.26
m_flBulletSpeed = 1500
m_flRecoilSpeed = 5
m_strShootSound = "Viscous.Fire.Alt"
m_StandingSpread = 1.5
m_flBulletDamage = 42
m_flBulletRadius = 20
m_flCritBonusEnd = 1.65
m_reloadDuration = 2.1
m_strReloadSound = "Kelvin.Wpn.Reload.Start"
m_strZoomInSound = "default.ZoomIn"
m_VerticallRecoil =
{
m_Range = [ 0.2, 0.3 ]
m_flBurstSlope = 0
m_flBurstConstant = 0
m_flBurstExponent = 0
}
m_flVerticalPunch = 0
m_iBurstShotCount = 1
m_strZoomOutSound = "default.ZoomOut"
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_flExplosionRadius = 140
m_flHorizontalPunch = 0
m_flReloadMoveSpeed = "10000"
m_flScatterYawScale = 1
m_flVerticalAimBias = 2.2
m_strReloadEndSound = ""
m_vecScatterOffsets = []
m_flZoomFOV_Relative = -40
m_strBulletWhizSound = "Viscous.Wpn.BulletWhizby"
m_flBurstShotCooldown = 0
m_flCritBonusEndRange = 1500
m_flDamageFalloffBias = 0.5
m_flBulletGravityScale = 0.2
m_flBulletReflectScale = 0
m_flBulletWhizDistance = 80
m_iAmmoConsumedPerShot = 5
m_strBulletImpactSound = "Viscous.Fire.Alt.Explode"
m_flBulletRadiusVsWorld = 4
m_flBulletReflectAmount = 1
m_flCritBonusStartRange = 500
m_flPelletScatterFactor = 1
m_flRecoilRecoverySpeed = 10
m_strBulletLoopingSound = "Viscous.Fire.Alt.Projectile.Lp"
m_strWeaponImpactEffect = "particles/weapon_fx/viscous/viscous_projectile_alt_impact.vpcf"
m_bBulletShouldUseVerlet = true
m_flCritBonusAgainstNPCs = 0
m_flZoomMoveSpeedPercent = 1
m_flDamageFalloffEndRange = 2264
m_flDamageFalloffEndScale = 0.1
m_flShootMoveSpeedPercent = 0.75
m_szMuzzleFlashEffectName = "particles/weapon_fx/viscous/viscous_projectile_alt_firing.vpcf"
m_AimingShootSpreadPenalty = [ 0, 0.5 ]
m_flDamageFalloffStartRange = 787
m_flDamageFalloffStartScale = 1
m_flShootSpreadPenaltyDecay = 3
m_flShootingUpSpreadPenalty = 0
m_flPelletScatterSpreadFactor = 1
m_flRecoilRecoveryDelayFactor = 0.9
m_flShootSpreadPenaltyPerShot = 0.5
m_szBulletTravelTracerParticle = "particles/weapon_fx/viscous/viscous_projectile_alt.vpcf"
m_flShootSpreadPenaltyDecayDelay = 0
m_strLocalPlayerBulletImpactSound = "Player.Bullet.Impact.Hero"
m_flExplosionDamageScaleAtMaxRadius = 0.5
m_flBulletInheritShooterVelocityScale = 0
m_flRecoilShotIndexRecoveryTimeFactor = 0.25
m_strLocalPlayerBulletImpactHeavySound = "Player.Bullet.Impact.Hero.Large"
}