--[[ | 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 = "SSG-08" 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." SWEP.Category = "VJ Base" ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ------ General NPC Variables ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ SWEP.NPC_NextPrimaryFire = 2 -- Next time it can use primary fire SWEP.NPC_TimeUntilFire = 0.5 -- How much time until the bullet/projectile is fired? SWEP.NPC_CustomSpread = 0.5 -- 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_FiringDistanceScale = 2.5 -- Changes how far the NPC can fire | 1 = No change, x < 1 = closer, x > 1 = farther SWEP.NPC_StandingOnly = true -- If true, the weapon can only be fired if the NPC is standing still -- ====== Reload Variables ====== -- SWEP.NPC_ReloadSound = {"vj_weapons/reload_boltaction.wav"} -- Sounds it plays when the base detects the SNPC playing a reload animation -- ====== Extra Firing Sound Variables ====== -- SWEP.NPC_ExtraFireSound = {"vj_weapons/perform_boltaction.wav"} -- Plays an extra sound after it fires (Example: Bolt action sound) SWEP.NPC_ExtraFireSoundTime = 0.4 -- How much time until it plays the sound (After Firing)? -- Main Settings --------------------------------------------------------------------------------------------------------------------------------------------- SWEP.MadeForNPCsOnly = true -- Is this weapon meant to be for NPCs only? SWEP.WorldModel = "models/vj_weapons/w_csgo_scout.mdl" SWEP.WorldModel_UseCustomPosition = true -- Should the gun use custom position? This can be used to fix guns that are in the crotch SWEP.WorldModel_CustomPositionAngle = Vector(-8, 90, 180) SWEP.WorldModel_CustomPositionOrigin = Vector(-4.4, -1, -0.5) SWEP.HoldType = "ar2" -- Primary Fire --------------------------------------------------------------------------------------------------------------------------------------------- SWEP.Primary.Damage = 80 -- Damage SWEP.Primary.Force = 1 -- Force applied on the object the bullet hits SWEP.Primary.ClipSize = 10 -- Max amount of bullets per clip SWEP.Primary.Ammo = "SniperRound" -- Ammo type SWEP.Primary.Sound = {"vj_weapons/ssg08/ssg08_fire.wav"} SWEP.Primary.DistantSound = {"vj_weapons/ssg08/ssg08_fire_dist1.wav","vj_weapons/ssg08/ssg08_fire_dist2.wav","vj_weapons/ssg08/ssg08_fire_dist3.wav","vj_weapons/ssg08/ssg08_fire_dist4.wav"}