This commit is contained in:
lifestorm
2024-08-04 23:54:45 +03:00
parent 0e770b2b49
commit df294d03aa
7526 changed files with 4011945 additions and 15 deletions

View 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