This commit is contained in:
lifestorm
2024-08-04 23:12:27 +03:00
parent 0e770b2b49
commit ba1fc01b16
7084 changed files with 2173495 additions and 14 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