mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-16 13:23:46 +03:00
Upload
This commit is contained in:
37
lua/weapons/weapon_vj_hlr2_annabelle/shared.lua
Normal file
37
lua/weapons/weapon_vj_hlr2_annabelle/shared.lua
Normal file
@@ -0,0 +1,37 @@
|
||||
--[[
|
||||
| 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 = "Annabelle"
|
||||
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.WorldModel = "models/weapons/w_annabelle.mdl"
|
||||
SWEP.HoldType = "shotgun"
|
||||
SWEP.MadeForNPCsOnly = true -- Is this weapon meant to be for NPCs only?
|
||||
-- NPC Settings ---------------------------------------------------------------------------------------------------------------------------------------------
|
||||
SWEP.NPC_NextPrimaryFire = 0.9 -- Next time it can use primary fire
|
||||
SWEP.NPC_CustomSpread = 0.2 -- This is added on top of the custom spread that's set inside the SNPC! | Starting from 1: Closer to 0 = better accuracy, Farther than 1 = worse accuracy
|
||||
SWEP.NPC_BulletSpawnAttachment = "0" -- The attachment that the bullet spawns on, leave empty for base to decide!
|
||||
-- Primary Fire ---------------------------------------------------------------------------------------------------------------------------------------------
|
||||
SWEP.Primary.Damage = 60 -- Damage
|
||||
//SWEP.Primary.Force = 2 -- Force applied on the object the bullet hits
|
||||
SWEP.Primary.ClipSize = 2 -- Max amount of bullets per clip
|
||||
SWEP.Primary.Ammo = "Buckshot" -- Ammo type
|
||||
SWEP.Primary.Sound = {"Weapon_Shotgun.NPC_Single"}
|
||||
SWEP.Primary.DistantSound = {"vj_hlr/hl2_weapon/annabelle/shotgun_fire6_distant.wav"}
|
||||
SWEP.Primary.DistantSoundVolume = 0.7 -- Distant sound volume
|
||||
SWEP.PrimaryEffects_MuzzleAttachment = "0"
|
||||
SWEP.PrimaryEffects_ShellAttachment = "1"
|
||||
SWEP.PrimaryEffects_ShellType = "VJ_Weapon_ShotgunShell1"
|
||||
Reference in New Issue
Block a user