mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
61 lines
1.6 KiB
Lua
61 lines
1.6 KiB
Lua
--[[
|
|
| 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 = "Forced Reset Trigger"
|
|
|
|
att.Icon = Material("entities/att/arccw_uc_forcedresettrigger.png", "mips smooth")
|
|
att.Description = "Trigger system that pushes back against the shooter's finger, allowing them to fire much more rapidly. By the definition of the ATF, this does not count as full-automatic, for the time being at least."
|
|
att.Desc_Pros = {
|
|
"uc.auto"
|
|
}
|
|
att.Desc_Cons = {
|
|
"uc.frcd_visrec"
|
|
}
|
|
att.Desc_Neutrals = {
|
|
}
|
|
att.Slot = "uc_fg"
|
|
att.AutoStats = true
|
|
att.SortOrder = 2
|
|
|
|
att.Hook_Compatible = function(wep)
|
|
if wep:GetIsManualAction() or wep.TriggerDelay then return false end
|
|
|
|
-- for i, v in pairs(wep.Firemodes) do
|
|
-- if !v then continue end
|
|
-- if !v.Mode then continue end
|
|
-- if v.Mode == 2 then
|
|
-- -- Not available if gun has automatic firemode
|
|
-- return false
|
|
-- -- elseif v.Mode < 0 then
|
|
-- -- -- Use burst variant
|
|
-- -- return false
|
|
-- end
|
|
-- end
|
|
end
|
|
|
|
att.Override_Firemodes_Priority = 100
|
|
att.Override_Firemodes = {
|
|
{
|
|
PrintName = "fcg.frcd",
|
|
Mode = 2,
|
|
},
|
|
{
|
|
Mode = 0
|
|
}
|
|
}
|
|
|
|
--att.Mult_RPM = 1.25
|
|
att.Mult_RecoilSide = 1.25
|
|
att.Mult_VisualRecoilMult = 2
|
|
att.Mult_MalfunctionMean = .85
|
|
|
|
att.AttachSound = "arccw_uc/common/gunsmith/internal_modification.ogg"
|
|
|
|
att.ExcludeFlags = {"needsmanual"} |