mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
Upload
This commit is contained in:
55
lua/arccw/shared/attachments/uc_40mm_buckshot.lua
Normal file
55
lua/arccw/shared/attachments/uc_40mm_buckshot.lua
Normal file
@@ -0,0 +1,55 @@
|
||||
--[[
|
||||
| This file was obtained through the combined efforts
|
||||
| of Madbluntz & Plymouth Antiquarian Society.
|
||||
|
|
||||
| Credits: lifestorm, Gregory Wayne Rossel JR.,
|
||||
| Maloy, DrPepper10 @ RIP, Atle!
|
||||
|
|
||||
| Visit for more: https://plymouth.thetwilightzone.ru/
|
||||
--]]
|
||||
|
||||
att.PrintName = "40mm Buckshot Grenades"
|
||||
att.AbbrevName = "Buckshot"
|
||||
att.Icon = Material("entities/att/arccw_uc_40mm_generic.png", "mips smooth")
|
||||
att.Description = "Officially desginated the 'Multiple Projectile Anti Personnel' ammunition, these grenades are effectively large buckshot rounds containing 20 pellets.\nIntended to be used when the enemy is too close to use explosives."
|
||||
att.Desc_Pros = {
|
||||
"uc.40mm.buckshot"
|
||||
}
|
||||
att.Desc_Cons = {
|
||||
}
|
||||
att.Desc_Neutrals = {
|
||||
}
|
||||
att.Slot = "uc_40mm"
|
||||
|
||||
att.AutoStats = true
|
||||
|
||||
att.Override_ShootEntity = false
|
||||
att.Override_Num = 20
|
||||
|
||||
att.Override_Damage = 18 * 20
|
||||
att.Override_DamageMin = 6 * 20
|
||||
|
||||
att.Override_Range = 50
|
||||
att.Override_RangeMin = 5
|
||||
att.Override_HullSize = 0.5
|
||||
|
||||
att.Override_AccuracyMOA = 50
|
||||
|
||||
att.ActivateElements = {"40mm_buckshot"}
|
||||
|
||||
att.Hook_SelectReloadAnimation = function(wep, anim)
|
||||
return anim .. "_shotgun"
|
||||
end
|
||||
|
||||
att.Hook_GetShootSound = function(wep, fsound)
|
||||
if fsound == wep.ShootSound then return ")^/arccw_uc/common/gl_fire_buck.ogg" end
|
||||
end
|
||||
|
||||
att.Hook_GetDistantShootSound = function(wep, distancesound)
|
||||
if distancesound == wep.DistantShootSound then
|
||||
return ")^/arccw_uc/common/gl_fire_buck_dist.ogg" end
|
||||
end
|
||||
|
||||
if engine.ActiveGamemode() == "urbanstrife" then
|
||||
att.PenetrationAmmoType = "buckshot"
|
||||
end
|
||||
Reference in New Issue
Block a user