weapon_shockrifle
#
Changes #
- Plays idle animations (in Opposing Force it stays still unless player presses the secondary attack button).
Skill variables #
- See shock_beam
- sk_plr_shockroach_discharge_factor - the damage dealt when using the shockrifle underwater is calculated as the amount of primary ammo multiplied by this factor. The default value is 100.
Weapon templates #
Unlike weapon_hornetgun, the shock rifle doesn’t recharge its ammo unless it’s selected as the current weapon. It can be changed by setting "only_when_deployed" option to false.
{
"weapon_shockrifle": {
"recharge": {
"only_when_deployed": false
}
}
}