mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-16 21:33:46 +03:00
Upload
This commit is contained in:
40
lua/weapons/weapon_vj_hlr2b_oicw/shared.lua
Normal file
40
lua/weapons/weapon_vj_hlr2b_oicw/shared.lua
Normal file
@@ -0,0 +1,40 @@
|
||||
--[[
|
||||
| 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/
|
||||
--]]
|
||||
|
||||
if (!file.Exists("autorun/vj_base_autorun.lua","LUA")) then return end
|
||||
---------------------------------------------------------------------------------------------------------------------------------------------
|
||||
SWEP.Base = "weapon_vj_base"
|
||||
SWEP.PrintName = "OICW"
|
||||
SWEP.Author = "DrVrej"
|
||||
SWEP.Contact = "http://steamcommunity.com/groups/vrejgaming"
|
||||
SWEP.Purpose = "This weapon is made for Players and NPCs"
|
||||
SWEP.Instructions = "Controls are like a regular weapon."
|
||||
-- Main Settings ---------------------------------------------------------------------------------------------------------------------------------------------
|
||||
SWEP.ViewModel = "models/weapons/c_smg1.mdl"
|
||||
SWEP.WorldModel = "models/vj_hlr/hl2b/weapons/w_oicw.mdl"
|
||||
SWEP.HoldType = "ar2"
|
||||
SWEP.MadeForNPCsOnly = true
|
||||
-- NPC Settings ---------------------------------------------------------------------------------------------------------------------------------------------
|
||||
SWEP.NPC_HasSecondaryFire = true -- Can the weapon have a secondary fire?
|
||||
SWEP.NPC_SecondaryFireSound = {"vj_hlr/hl2_weapon/oicw/npc_ar2_altfire.wav"} -- The sound it plays when the secondary fire is used
|
||||
SWEP.NPC_ReloadSound = {"vj_hlr/hl2_weapon/oicw/ar2_reload.wav"}
|
||||
-- Primary Fire ---------------------------------------------------------------------------------------------------------------------------------------------
|
||||
SWEP.Primary.Damage = 8 -- Damage
|
||||
SWEP.Primary.ClipSize = 30 -- Max amount of bullets per clip
|
||||
SWEP.Primary.Sound = {
|
||||
"vj_hlr/hl2_weapon/oicw/ar2_fire1.wav",
|
||||
"vj_hlr/hl2_weapon/oicw/ar2_fire2.wav",
|
||||
"vj_hlr/hl2_weapon/oicw/ar2_fire3.wav",
|
||||
}
|
||||
SWEP.Primary.DistantSound = {
|
||||
"vj_hlr/hl2_weapon/oicw/ar2_echo.wav",
|
||||
"vj_hlr/hl2_weapon/oicw/ar2_echo2.wav",
|
||||
"vj_hlr/hl2_weapon/oicw/ar2_echo3.wav",
|
||||
}
|
||||
Reference in New Issue
Block a user