Weapon models work now, they use ASTW2 models
This commit is contained in:
parent
13330ccc2c
commit
f5637f13ae
|
@ -112,359 +112,378 @@ AddSound( "Common.Dryfire.Pistol", "benny/weapons/common/06-13.ogg", 70, 100, 0.
|
||||||
AddSound( "Common.Dryfire.Rifle", "benny/weapons/common/06-12.ogg", 70, 100, 0.5, CHAN_STATIC )
|
AddSound( "Common.Dryfire.Rifle", "benny/weapons/common/06-12.ogg", 70, 100, 0.5, CHAN_STATIC )
|
||||||
AddSound( "Common.NoAmmo", "benny/weapons/noammo.ogg", 70, 100, 0.5, CHAN_STATIC )
|
AddSound( "Common.NoAmmo", "benny/weapons/noammo.ogg", 70, 100, 0.5, CHAN_STATIC )
|
||||||
|
|
||||||
local wep = {}
|
WEAPONS["toolgun"] = {
|
||||||
WEAPONS["toolgun"] = wep
|
Name = "TOOL GUN",
|
||||||
wep.Name = "TOOL GUN"
|
Description = "Developer development device",
|
||||||
wep.Description = "Developer development device"
|
Type = "special",
|
||||||
wep.Type = "special"
|
|
||||||
|
|
||||||
wep.WModel = "models/weapons/w_toolgun.mdl"
|
WModel = "models/weapons/w_toolgun.mdl",
|
||||||
|
|
||||||
wep.Delay = (60/300)
|
Delay = (60/300),
|
||||||
wep.Firemodes = FIREMODE_SEMI
|
Firemodes = FIREMODE_SEMI,
|
||||||
wep.Ammo = 0
|
Ammo = 0,
|
||||||
wep.Damage = 0
|
Damage = 0,
|
||||||
|
|
||||||
function wep.Fire( self, slot )
|
Fire = function( self, slot )
|
||||||
if self:GetDelay1() > CurTime() then
|
if self:GetDelay1() > CurTime() then
|
||||||
|
return true
|
||||||
|
end
|
||||||
|
self:SetDelay1( CurTime() + 0.2 )
|
||||||
|
|
||||||
|
local p = self:GetOwner()
|
||||||
|
|
||||||
|
local tr = p:GetEyeTrace()
|
||||||
|
if SERVER then
|
||||||
|
local summon = ents.Create( "bnpc_human" )
|
||||||
|
-- summon:SetModel( "models/props_junk/cardboard_box001a.mdl" )
|
||||||
|
-- summon:Give( "weapon_stunstick")
|
||||||
|
summon:SetPos( tr.HitPos )
|
||||||
|
summon:Spawn()
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
if CLIENT and IsFirstTimePredicted() then
|
||||||
|
local vStart = self:GetAttachment( 1 ).Pos
|
||||||
|
local vPoint = tr.HitPos
|
||||||
|
local effectdata = EffectData()
|
||||||
|
effectdata:SetStart( vStart )
|
||||||
|
effectdata:SetOrigin( vPoint )
|
||||||
|
util.Effect( "ToolTracer", effectdata )
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Return true to skip weapon logic
|
||||||
return true
|
return true
|
||||||
end
|
end,
|
||||||
self:SetDelay1( CurTime() + 0.2 )
|
|
||||||
|
Reload = function( self, slot )
|
||||||
|
if self:GetOwner():KeyPressed( IN_RELOAD ) then
|
||||||
|
print( self )
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Return true to skip weapon logic
|
||||||
|
return true
|
||||||
|
end,
|
||||||
|
}
|
||||||
|
|
||||||
local p = self:GetOwner()
|
WEAPONS["melee_bat"] = {
|
||||||
|
Name = "BAT",
|
||||||
|
Description = "meow",
|
||||||
|
Type = "melee",
|
||||||
|
|
||||||
local tr = p:GetEyeTrace()
|
WModel = "models/weapons/w_crowbar.mdl",
|
||||||
if SERVER then
|
|
||||||
local summon = ents.Create( "bnpc_human" )
|
|
||||||
-- summon:SetModel( "models/props_junk/cardboard_box001a.mdl" )
|
|
||||||
-- summon:Give( "weapon_stunstick")
|
|
||||||
summon:SetPos( tr.HitPos )
|
|
||||||
summon:Spawn()
|
|
||||||
|
|
||||||
end
|
Delay = (60/300),
|
||||||
|
Firemodes = FIREMODE_SEMI,
|
||||||
|
Ammo = 0,
|
||||||
|
Damage = 0,
|
||||||
|
}
|
||||||
|
|
||||||
if CLIENT and IsFirstTimePredicted() then
|
WEAPONS["melee_baton"] = {
|
||||||
local vStart = self:GetAttachment( 1 ).Pos
|
Name = "BATON",
|
||||||
local vPoint = tr.HitPos
|
Description = "meow",
|
||||||
local effectdata = EffectData()
|
Type = "melee",
|
||||||
effectdata:SetStart( vStart )
|
|
||||||
effectdata:SetOrigin( vPoint )
|
|
||||||
util.Effect( "ToolTracer", effectdata )
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Return true to skip weapon logic
|
WModel = "models/weapons/w_eq_tonfa.mdl",
|
||||||
return true
|
|
||||||
end
|
|
||||||
|
|
||||||
function wep.Reload( self, slot )
|
Delay = (60/300),
|
||||||
if self:GetOwner():KeyPressed( IN_RELOAD ) then
|
Firemodes = FIREMODE_SEMI,
|
||||||
print( self )
|
Ammo = 0,
|
||||||
end
|
Damage = 0,
|
||||||
|
}
|
||||||
|
|
||||||
-- Return true to skip weapon logic
|
WEAPONS["melee_knife"] = {
|
||||||
return true
|
Name = "KNIFE",
|
||||||
end
|
Description = "meow",
|
||||||
|
Type = "melee",
|
||||||
|
|
||||||
local wep = {}
|
WModel = "models/weapons/w_knife_ct.mdl",
|
||||||
WEAPONS["melee_bat"] = wep
|
|
||||||
wep.Name = "BAT"
|
|
||||||
wep.Description = "meow"
|
|
||||||
wep.Type = "melee"
|
|
||||||
|
|
||||||
wep.WModel = "models/weapons/w_crowbar.mdl"
|
Delay = (60/300),
|
||||||
|
Firemodes = FIREMODE_SEMI,
|
||||||
|
Ammo = 0,
|
||||||
|
Damage = 0,
|
||||||
|
}
|
||||||
|
|
||||||
wep.Delay = (60/300)
|
WEAPONS["melee_machete"] = {
|
||||||
wep.Firemodes = FIREMODE_SEMI
|
Name = "MACHETE",
|
||||||
wep.Ammo = 0
|
Description = "meow",
|
||||||
wep.Damage = 0
|
Type = "melee",
|
||||||
|
|
||||||
local wep = {}
|
WModel = "models/weapons/w_crowbar.mdl",
|
||||||
WEAPONS["melee_baton"] = wep
|
|
||||||
wep.Name = "BATON"
|
|
||||||
wep.Description = "meow"
|
|
||||||
wep.Type = "melee"
|
|
||||||
|
|
||||||
wep.WModel = "models/weapons/w_crowbar.mdl"
|
Delay = (60/300),
|
||||||
|
Firemodes = FIREMODE_SEMI,
|
||||||
|
Ammo = 0,
|
||||||
|
Damage = 0,
|
||||||
|
}
|
||||||
|
|
||||||
wep.Delay = (60/300)
|
WEAPONS["1911"] = {
|
||||||
wep.Firemodes = FIREMODE_SEMI
|
Name = "COBRA .45",
|
||||||
wep.Ammo = 0
|
Description = "Hits hard. They don't make them like they used to!",
|
||||||
wep.Damage = 0
|
Type = "pistol",
|
||||||
|
|
||||||
local wep = {}
|
Icon = Material( "benny/weapons/mk23.png", "smooth" ),
|
||||||
WEAPONS["melee_knife"] = wep
|
WModel = "models/weapons/w_colt.mdl",
|
||||||
wep.Name = "KNIFE"
|
Sound_Fire = "1911.Fire",
|
||||||
wep.Description = "meow"
|
Sound_DryFire = "Common.Dryfire.Pistol",
|
||||||
wep.Type = "melee"
|
Sound_Reload = "1911.Reload",
|
||||||
|
Sound_MagOut = "1911.MagOut",
|
||||||
|
Sound_MagIn = "1911.MagIn",
|
||||||
|
|
||||||
wep.WModel = "models/weapons/w_crowbar.mdl"
|
Delay = (60/300),
|
||||||
|
Firemodes = FIREMODE_SEMI,
|
||||||
|
Ammo = 8,
|
||||||
|
Damage = 30,
|
||||||
|
}
|
||||||
|
|
||||||
wep.Delay = (60/300)
|
WEAPONS["usp"] = {
|
||||||
wep.Firemodes = FIREMODE_SEMI
|
Name = "MK. 23",
|
||||||
wep.Ammo = 0
|
Description = "If it works for hardasses around the world, it'll work for you.",
|
||||||
wep.Damage = 0
|
Type = "pistol",
|
||||||
|
|
||||||
local wep = {}
|
Icon = Material( "benny/weapons/mk23.png", "smooth" ),
|
||||||
WEAPONS["melee_machete"] = wep
|
WModel = "models/weapons/w_pist_usp.mdl",
|
||||||
wep.Name = "MACHETE"
|
Sound_Fire = "USP.Fire",
|
||||||
wep.Description = "meow"
|
Sound_DryFire = "Common.Dryfire.Pistol",
|
||||||
wep.Type = "melee"
|
Sound_Reload = "USP.Reload",
|
||||||
|
Sound_MagOut = "USP.MagOut",
|
||||||
|
Sound_MagIn = "USP.MagIn",
|
||||||
|
|
||||||
wep.WModel = "models/weapons/w_crowbar.mdl"
|
Delay = (60/300),
|
||||||
|
Firemodes = FIREMODE_SEMI,
|
||||||
|
Ammo = 12,
|
||||||
|
Damage = 30,
|
||||||
|
}
|
||||||
|
|
||||||
wep.Delay = (60/300)
|
WEAPONS["glock"] = {
|
||||||
wep.Firemodes = FIREMODE_SEMI
|
Name = "GLOCK-18",
|
||||||
wep.Ammo = 0
|
Description = "Bullet storm. Lasts about a second or so, just like you!",
|
||||||
wep.Damage = 0
|
Type = "pistol",
|
||||||
|
|
||||||
local wep = {}
|
Icon = Material( "benny/weapons/mk23.png", "smooth" ),
|
||||||
WEAPONS["1911"] = wep
|
WModel = "models/weapons/w_pist_glock18.mdl",
|
||||||
wep.Name = "COBRA .45"
|
Sound_Fire = "Glock.Fire",
|
||||||
wep.Description = "Hits hard. They don't make them like they used to!"
|
Sound_DryFire = "Common.Dryfire.Pistol",
|
||||||
wep.Type = "pistol"
|
Sound_MagOut = "Glock.MagOut",
|
||||||
|
Sound_MagIn = "Glock.MagIn",
|
||||||
|
|
||||||
wep.Icon = Material( "benny/weapons/mk23.png", "smooth" )
|
Delay = (60/800),
|
||||||
wep.WModel = "models/weapons/w_pist_usp.mdl"
|
Firemodes = FIREMODE_AUTOSEMI,
|
||||||
wep.Sound_Fire = "1911.Fire"
|
Ammo = 17,
|
||||||
wep.Sound_DryFire = "Common.Dryfire.Pistol"
|
Damage = 18,
|
||||||
wep.Sound_Reload = "1911.Reload" -- placeholder
|
}
|
||||||
wep.Sound_MagOut = "1911.MagOut" -- placeholder
|
|
||||||
wep.Sound_MagIn = "1911.MagIn" -- placeholder
|
|
||||||
|
|
||||||
wep.Delay = (60/300)
|
WEAPONS["nambu"] = {
|
||||||
wep.Firemodes = FIREMODE_SEMI
|
Name = "NAMBU .38",
|
||||||
wep.Ammo = 8
|
Description = "Eastern revolver that hits as hard as it costs.",
|
||||||
wep.Damage = 30
|
Type = "pistol",
|
||||||
|
|
||||||
local wep = {}
|
Icon = Material( "benny/weapons/mk23.png", "smooth" ),
|
||||||
WEAPONS["usp"] = wep
|
WModel = "models/weapons/w_pist_derringer.mdl",
|
||||||
wep.Name = "MK. 23"
|
Sound_Fire = "Nambu.Fire",
|
||||||
wep.Description = "If it works for hardasses around the world, it'll work for you."
|
Sound_DryFire = "Common.Dryfire.Pistol",
|
||||||
wep.Type = "pistol"
|
Sound_MagOut = "Nambu.MagOut",
|
||||||
|
Sound_MagIn = "Nambu.MagIn",
|
||||||
|
|
||||||
wep.Icon = Material( "benny/weapons/mk23.png", "smooth" )
|
Delay = (60/180),
|
||||||
wep.WModel = "models/weapons/w_pist_usp.mdl"
|
Firemodes = FIREMODE_SEMI,
|
||||||
wep.Sound_Fire = "USP.Fire"
|
Ammo = 6,
|
||||||
wep.Sound_DryFire = "Common.Dryfire.Pistol"
|
Damage = 26,
|
||||||
wep.Sound_Reload = "USP.Reload" -- placeholder
|
}
|
||||||
wep.Sound_MagOut = "USP.MagOut" -- placeholder
|
|
||||||
wep.Sound_MagIn = "USP.MagIn" -- placeholder
|
|
||||||
|
|
||||||
wep.Delay = (60/300)
|
WEAPONS["anaconda"] = {
|
||||||
wep.Firemodes = FIREMODE_SEMI
|
Name = "ANACONDA",
|
||||||
wep.Ammo = 12
|
Description = "Precise and kicks like a mule.",
|
||||||
wep.Damage = 30
|
Type = "pistol",
|
||||||
|
|
||||||
local wep = {}
|
Icon = Material( "benny/weapons/mk23.png", "smooth" ),
|
||||||
WEAPONS["glock"] = wep
|
WModel = "models/weapons/w_357.mdl",
|
||||||
wep.Name = "GLOCK-18"
|
Sound_Fire = "Anaconda.Fire",
|
||||||
wep.Description = "Bullet storm. Lasts about a second or so, just like you!"
|
Sound_DryFire = "Common.Dryfire.Pistol",
|
||||||
wep.Type = "pistol"
|
Sound_MagOut = "Anaconda.MagOut",
|
||||||
|
Sound_MagIn = "Anaconda.MagIn",
|
||||||
|
|
||||||
wep.Icon = Material( "benny/weapons/mk23.png", "smooth" )
|
Delay = (60/180),
|
||||||
wep.WModel = "models/weapons/w_pist_glock18.mdl"
|
Firemodes = FIREMODE_SEMI,
|
||||||
wep.Sound_Fire = "Glock.Fire"
|
Ammo = 6,
|
||||||
wep.Sound_DryFire = "Common.Dryfire.Pistol"
|
Damage = 40,
|
||||||
wep.Sound_MagOut = "Glock.MagOut" -- placeholder
|
}
|
||||||
wep.Sound_MagIn = "Glock.MagIn" -- placeholder
|
|
||||||
|
|
||||||
wep.Delay = (60/800)
|
WEAPONS["tmp"] = {
|
||||||
wep.Firemodes = FIREMODE_AUTOSEMI
|
Name = "TMP",
|
||||||
wep.Ammo = 17
|
Description = "Small, compact, and fast.",
|
||||||
wep.Damage = 18
|
Type = "smg",
|
||||||
|
|
||||||
local wep = {}
|
WModel = "models/weapons/w_smg_tmp_us.mdl",
|
||||||
WEAPONS["nambu"] = wep
|
HoldType = "rpg",
|
||||||
wep.Name = "NAMBU .38"
|
|
||||||
wep.Description = "Eastern revolver that hits as hard as it costs."
|
|
||||||
wep.Type = "pistol"
|
|
||||||
|
|
||||||
wep.Icon = Material( "benny/weapons/mk23.png", "smooth" )
|
Sound_Fire = "TMP.Fire",
|
||||||
wep.WModel = "models/weapons/w_pist_glock18.mdl"
|
Sound_DryFire = "Common.Dryfire.Rifle",
|
||||||
wep.Sound_Fire = "Nambu.Fire"
|
Sound_Reload = "TMP.Reload",
|
||||||
wep.Sound_DryFire = "Common.Dryfire.Pistol"
|
Sound_MagOut = "TMP.MagOut",
|
||||||
wep.Sound_MagOut = "Nambu.MagOut" -- placeholder
|
Sound_MagIn = "TMP.MagIn",
|
||||||
wep.Sound_MagIn = "Nambu.MagIn" -- placeholder
|
|
||||||
|
|
||||||
wep.Delay = (60/180)
|
Delay = (60/700),
|
||||||
wep.Firemodes = FIREMODE_SEMI
|
Firemodes = FIREMODE_AUTOSEMI,
|
||||||
wep.Ammo = 6
|
Ammo = 15,
|
||||||
wep.Damage = 26
|
Damage = 18,
|
||||||
|
}
|
||||||
|
|
||||||
local wep = {}
|
WEAPONS["mp7"] = {
|
||||||
WEAPONS["anaconda"] = wep
|
Name = "MP7",
|
||||||
wep.Name = "ANACONDA"
|
Description = "Small, pistol-sized.",
|
||||||
wep.Description = "Precise and kicks like a mule."
|
Type = "smg",
|
||||||
wep.Type = "pistol"
|
|
||||||
|
|
||||||
wep.Icon = Material( "benny/weapons/mk23.png", "smooth" )
|
WModel = "models/weapons/w_smg1.mdl",
|
||||||
wep.WModel = "models/weapons/w_pist_glock18.mdl"
|
HoldType = "rpg",
|
||||||
wep.Sound_Fire = "Anaconda.Fire"
|
|
||||||
wep.Sound_DryFire = "Common.Dryfire.Pistol"
|
|
||||||
wep.Sound_MagOut = "Anaconda.MagOut" -- placeholder
|
|
||||||
wep.Sound_MagIn = "Anaconda.MagIn" -- placeholder
|
|
||||||
|
|
||||||
wep.Delay = (60/180)
|
Sound_Fire = "MP7.Fire",
|
||||||
wep.Firemodes = FIREMODE_SEMI
|
Sound_DryFire = "Common.Dryfire.Rifle",
|
||||||
wep.Ammo = 6
|
Sound_Reload = "MP7.Reload",
|
||||||
wep.Damage = 40
|
Sound_MagOut = "MP7.MagOut",
|
||||||
|
Sound_MagIn = "MP7.MagIn",
|
||||||
|
|
||||||
local wep = {}
|
Delay = (60/700),
|
||||||
WEAPONS["tmp"] = wep
|
Firemodes = FIREMODE_AUTOSEMI,
|
||||||
wep.Name = "TMP"
|
Ammo = 20,
|
||||||
wep.Description = "Precise and sharp, like a damn suit's pet."
|
Damage = 16,
|
||||||
wep.Type = "smg"
|
}
|
||||||
|
|
||||||
wep.WModel = "models/weapons/w_pist_glock18.mdl"
|
WEAPONS["mp5k"] = {
|
||||||
wep.Sound_Fire = "TMP.Fire"
|
Name = "MP5K",
|
||||||
wep.Sound_DryFire = "Common.Dryfire.Rifle"
|
Description = "Quality manufacturing, but cumbersome.",
|
||||||
wep.Sound_Reload = "TMP.Reload" -- placeholder
|
Type = "smg",
|
||||||
wep.Sound_MagOut = "TMP.MagOut" -- placeholder
|
|
||||||
wep.Sound_MagIn = "TMP.MagIn" -- placeholder
|
|
||||||
|
|
||||||
wep.Delay = (60/700)
|
WModel = "models/weapons/w_smg_mp5k.mdl",
|
||||||
wep.Firemodes = FIREMODE_AUTOSEMI
|
HoldType = "rpg",
|
||||||
wep.Ammo = 15
|
|
||||||
wep.Damage = 18
|
|
||||||
|
|
||||||
local wep = {}
|
Sound_Fire = "MP5K.Fire",
|
||||||
WEAPONS["mp7"] = wep
|
Sound_DryFire = "Common.Dryfire.Rifle",
|
||||||
wep.Name = "MP7"
|
Sound_Reload = "MP5K.Reload",
|
||||||
wep.Description = "Small, pistol-sized."
|
Sound_MagOut = "MP5K.MagOut",
|
||||||
wep.Type = "smg"
|
Sound_MagIn = "MP5K.MagIn",
|
||||||
|
|
||||||
wep.WModel = "models/weapons/w_pist_glock18.mdl"
|
Delay = (60/700),
|
||||||
wep.Sound_Fire = "MP7.Fire"
|
Firemodes = FIREMODE_AUTOSEMI,
|
||||||
wep.Sound_DryFire = "Common.Dryfire.Rifle"
|
Ammo = 15,
|
||||||
wep.Sound_Reload = "MP7.Reload" -- placeholder
|
Damage = 18,
|
||||||
wep.Sound_MagOut = "MP7.MagOut" -- placeholder
|
}
|
||||||
wep.Sound_MagIn = "MP7.MagIn" -- placeholder
|
|
||||||
|
|
||||||
wep.Delay = (60/700)
|
WEAPONS["mac11"] = {
|
||||||
wep.Firemodes = FIREMODE_AUTOSEMI
|
Name = "MAC-11",
|
||||||
wep.Ammo = 20
|
Description = "More fit for combat in a phone booth.",
|
||||||
wep.Damage = 16
|
Type = "smg",
|
||||||
|
|
||||||
local wep = {}
|
WModel = "models/weapons/w_smg_mac10.mdl",
|
||||||
WEAPONS["mp5k"] = wep
|
HoldType = "revolver",
|
||||||
wep.Name = "MP5K"
|
|
||||||
wep.Description = "Quality manufacturing, but cumbersome."
|
|
||||||
wep.Type = "smg"
|
|
||||||
|
|
||||||
wep.WModel = "models/weapons/w_pist_glock18.mdl"
|
Sound_Fire = "MAC11.Fire",
|
||||||
wep.Sound_Fire = "MP5K.Fire"
|
Sound_DryFire = "Common.Dryfire.Rifle",
|
||||||
wep.Sound_DryFire = "Common.Dryfire.Rifle"
|
Sound_Reload = "MAC11.Reload",
|
||||||
wep.Sound_Reload = "MP5K.Reload" -- placeholder
|
Sound_MagOut = "MAC11.MagOut",
|
||||||
wep.Sound_MagOut = "MP5K.MagOut" -- placeholder
|
Sound_MagIn = "MAC11.MagIn",
|
||||||
wep.Sound_MagIn = "MP5K.MagIn" -- placeholder
|
|
||||||
|
|
||||||
wep.Delay = (60/700)
|
Delay = (60/800),
|
||||||
wep.Firemodes = FIREMODE_AUTOSEMI
|
Firemodes = FIREMODE_AUTOSEMI,
|
||||||
wep.Ammo = 15
|
Ammo = 16,
|
||||||
wep.Damage = 18
|
Damage = 16,
|
||||||
|
}
|
||||||
|
|
||||||
local wep = {}
|
WEAPONS["bizon"] = {
|
||||||
WEAPONS["mac11"] = wep
|
Name = "BIZON",
|
||||||
wep.Name = "MAC-11"
|
Description = "Unwieldy bullet storm.",
|
||||||
wep.Description = "More fit for combat in a phone booth."
|
Type = "smg",
|
||||||
wep.Type = "smg"
|
|
||||||
|
|
||||||
wep.WModel = "models/weapons/w_pist_glock18.mdl"
|
WModel = "models/weapons/w_smg_bizon.mdl",
|
||||||
wep.Sound_Fire = "MAC11.Fire"
|
HoldType = "rpg",
|
||||||
wep.Sound_DryFire = "Common.Dryfire.Rifle"
|
|
||||||
wep.Sound_Reload = "MAC11.Reload" -- placeholder
|
|
||||||
wep.Sound_MagOut = "MAC11.MagOut" -- placeholder
|
|
||||||
wep.Sound_MagIn = "MAC11.MagIn" -- placeholder
|
|
||||||
|
|
||||||
wep.Delay = (60/800)
|
Sound_Fire = "Bizon.Fire",
|
||||||
wep.Firemodes = FIREMODE_AUTOSEMI
|
Sound_DryFire = "Common.Dryfire.Rifle",
|
||||||
wep.Ammo = 16
|
Sound_Reload = "Bizon.Reload",
|
||||||
wep.Damage = 16
|
Sound_MagOut = "Bizon.MagOut",
|
||||||
|
Sound_MagIn = "Bizon.MagIn",
|
||||||
|
|
||||||
local wep = {}
|
Delay = (60/600),
|
||||||
WEAPONS["bizon"] = wep
|
Firemodes = FIREMODE_AUTOSEMI,
|
||||||
wep.Name = "BIZON"
|
Ammo = 40,
|
||||||
wep.Description = "Unwieldy bullet storm."
|
Damage = 16,
|
||||||
wep.Type = "smg"
|
}
|
||||||
|
|
||||||
wep.WModel = "models/weapons/w_pist_glock18.mdl"
|
|
||||||
wep.Sound_Fire = "Bizon.Fire"
|
|
||||||
wep.Sound_DryFire = "Common.Dryfire.Rifle"
|
|
||||||
wep.Sound_Reload = "Bizon.Reload" -- placeholder
|
|
||||||
wep.Sound_MagOut = "Bizon.MagOut" -- placeholder
|
|
||||||
wep.Sound_MagIn = "Bizon.MagIn" -- placeholder
|
|
||||||
|
|
||||||
wep.Delay = (60/600)
|
|
||||||
wep.Firemodes = FIREMODE_AUTOSEMI
|
|
||||||
wep.Ammo = 40
|
|
||||||
wep.Damage = 16
|
|
||||||
|
|
||||||
-- Shotguns
|
-- Shotguns
|
||||||
|
|
||||||
local wep = {}
|
WEAPONS["spas12"] = {
|
||||||
WEAPONS["spas12"] = wep
|
Name = "SPAS-12",
|
||||||
wep.Name = "SPAS-12"
|
Description = "meow",
|
||||||
wep.Description = "meow"
|
Type = "shotgun",
|
||||||
wep.Type = "shotgun"
|
|
||||||
|
|
||||||
wep.WModel = "models/weapons/w_crowbar.mdl"
|
WModel = "models/weapons/w_shotgun.mdl",
|
||||||
|
HoldType = "rpg",
|
||||||
|
|
||||||
wep.Delay = (60/600)
|
Delay = (60/600),
|
||||||
wep.Firemodes = FIREMODE_AUTOSEMI
|
Firemodes = FIREMODE_SEMI,
|
||||||
wep.Ammo = 8
|
Ammo = 8,
|
||||||
wep.Damage = 2
|
Damage = 2,
|
||||||
|
}
|
||||||
|
|
||||||
-- Rifles
|
-- Rifles
|
||||||
|
|
||||||
local wep = {}
|
WEAPONS["fnc"] = {
|
||||||
WEAPONS["fnc"] = wep
|
Name = "FNC PARA",
|
||||||
wep.Name = "FNC PARA"
|
Description = "meow",
|
||||||
wep.Description = "meow"
|
Type = "rifle",
|
||||||
wep.Type = "rifle"
|
|
||||||
|
|
||||||
wep.Icon = Material( "benny/weapons/fnc.png", "smooth" )
|
Icon = Material( "benny/weapons/fnc.png", "smooth" ),
|
||||||
wep.WModel = "models/weapons/w_crowbar.mdl"
|
WModel = "models/weapons/w_rif_ar556.mdl",
|
||||||
wep.Sound_Fire = "FNC.Fire"
|
HoldType = "rpg",
|
||||||
wep.Sound_MagOut = "FNC.MagOut" -- placeholder
|
|
||||||
wep.Sound_MagIn = "FNC.MagIn" -- placeholder
|
|
||||||
|
|
||||||
|
Sound_Fire = "FNC.Fire",
|
||||||
|
Sound_MagOut = "FNC.MagOut",
|
||||||
|
Sound_MagIn = "FNC.MagIn",
|
||||||
|
|
||||||
wep.Delay = (60/700)
|
Delay = (60/700),
|
||||||
wep.Firemodes = FIREMODE_AUTOSEMI
|
Firemodes = FIREMODE_AUTOSEMI,
|
||||||
wep.Ammo = 30
|
Ammo = 30,
|
||||||
wep.Damage = 2
|
Damage = 2,
|
||||||
|
}
|
||||||
local wep = {}
|
|
||||||
WEAPONS["m16a2"] = wep
|
WEAPONS["m16a2"] = {
|
||||||
wep.Name = "M16A2"
|
Name = "M16A2",
|
||||||
wep.Description = "meow"
|
Description = "meow",
|
||||||
wep.Type = "rifle"
|
Type = "rifle",
|
||||||
|
|
||||||
wep.Icon = Material( "benny/weapons/m16a2.png", "smooth" )
|
Icon = Material( "benny/weapons/m16a2.png", "smooth" ),
|
||||||
wep.WModel = "models/weapons/w_crowbar.mdl"
|
WModel = "models/weapons/w_rif_m16a2.mdl",
|
||||||
wep.Sound_Fire = "M16A2.Fire"
|
HoldType = "rpg",
|
||||||
wep.Sound_MagOut = "M16A2.MagOut" -- placeholder
|
|
||||||
wep.Sound_MagIn = "M16A2.MagIn" -- placeholder
|
Sound_Fire = "M16A2.Fire",
|
||||||
|
Sound_MagOut = "M16A2.MagOut",
|
||||||
wep.Delay = (60/1000)
|
Sound_MagIn = "M16A2.MagIn",
|
||||||
wep.Firemodes = {
|
|
||||||
{ Mode = 3 },
|
Delay = (60/1000),
|
||||||
{ Mode = 1 },
|
Firemodes = {
|
||||||
|
{ Mode = 3 },
|
||||||
|
{ Mode = 1 },
|
||||||
|
},
|
||||||
|
Ammo = 30,
|
||||||
|
Damage = 2,
|
||||||
}
|
}
|
||||||
wep.Ammo = 30
|
|
||||||
wep.Damage = 2
|
|
||||||
|
|
||||||
-- Machine guns
|
-- Machine guns
|
||||||
|
|
||||||
local wep = {}
|
WEAPONS["stoner63"] = {
|
||||||
WEAPONS["stoner63"] = wep
|
Name = "STONER 63",
|
||||||
wep.Name = "STONER 63"
|
Description = "meow",
|
||||||
wep.Description = "meow"
|
Type = "machinegun",
|
||||||
wep.Type = "machinegun"
|
|
||||||
|
WModel = "models/weapons/w_mach_hk21e.mdl",
|
||||||
|
HoldType = "rpg",
|
||||||
|
|
||||||
wep.WModel = "models/weapons/w_crowbar.mdl"
|
Sound_Fire = "FNC.Fire",
|
||||||
|
Sound_MagOut = "M16A2.MagOut",
|
||||||
wep.Delay = (60/700)
|
Sound_MagIn = "M16A2.MagIn",
|
||||||
wep.Firemodes = FIREMODE_AUTOSEMI
|
|
||||||
wep.Ammo = 100
|
Delay = (60/700),
|
||||||
wep.Damage = 2
|
Firemodes = FIREMODE_AUTOSEMI,
|
||||||
|
Ammo = 100,
|
||||||
|
Damage = 2,
|
||||||
|
}
|
Loading…
Reference in New Issue