Залив
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
ATTACHMENT.Base = "att_miscellaneous"
|
||||
ATTACHMENT.Name = "No Stripper Clips"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/kilo98/icon_attachment_sn_kilo98_sling.vmt")
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:Stats(weapon)
|
||||
BaseClass.Stats(self, weapon)
|
||||
weapon.Animations.Reload_Start = weapon.Animations.reload_start_scope
|
||||
weapon.Animations.Reload_Loop = weapon.Animations.reload_loop_scope
|
||||
weapon.Animations.Reload_End = weapon.Animations.reload_end_scope
|
||||
end
|
||||
@@ -0,0 +1,14 @@
|
||||
ATTACHMENT.Base = "att_accessory"
|
||||
ATTACHMENT.Name = "Sling"
|
||||
ATTACHMENT.Icon = Material("viper/mw/attachments/icons/kilo98/icon_attachment_sn_kilo98_sling.vmt")
|
||||
ATTACHMENT.Bodygroups = {
|
||||
["sling"] = 1
|
||||
}
|
||||
|
||||
local BaseClass = GetAttachmentBaseClass(ATTACHMENT.Base)
|
||||
|
||||
function ATTACHMENT:PostProcess(weapon)
|
||||
BaseClass.PostProcess(self, weapon)
|
||||
weapon.m_slingTarget = 0
|
||||
weapon.m_slingLerp = 0
|
||||
end
|
||||
Reference in New Issue
Block a user