• TTT Glock Sound as of Jan.2016 update
    5 replies, posted
Pretty sure lots of people notice that the glock is missing a primary sound. "Failed to load sound "weapons\pl_gun3.wav", file probably missing from disk/repository" Here is the lua for the glock: [CODE] AddCSLuaFile() SWEP.HoldType = "pistol" if CLIENT then SWEP.PrintName = "Glock" SWEP.Slot = 1 SWEP.Icon = "vgui/ttt/icon_glock" SWEP.IconLetter = "c" end SWEP.Kind = WEAPON_PISTOL SWEP.WeaponID = AMMO_GLOCK SWEP.Base = "weapon_tttbase" SWEP.Primary.Recoil = 0.9 SWEP.Primary.Damage = 12 SWEP.Primary.Delay = 0.10 SWEP.Primary.Cone = 0.028 SWEP.Primary.ClipSize = 20 SWEP.Primary.Automatic = true SWEP.Primary.DefaultClip = 20 SWEP.Primary.ClipMax = 60 SWEP.Primary.Ammo = "Pistol" SWEP.AutoSpawnable = true SWEP.AmmoEnt = "item_ammo_pistol_ttt" SWEP.UseHands = true SWEP.ViewModelFlip = false SWEP.ViewModelFOV = 54 SWEP.ViewModel = "models/weapons/cstrike/c_pist_glock18.mdl" SWEP.WorldModel = "models/weapons/w_pist_glock18.mdl" SWEP.Primary.Sound = Sound( "Weapon_Glock.Single" ) SWEP.IronSightsPos = Vector( -5.79, -3.9982, 2.8289 ) SWEP.HeadshotMultiplier = 1.75 [/CODE] I'm sure this is an easy fix and i will deliver it unless one of you guys beat me to it.
Already fixed: [url]https://github.com/garrynewman/garrysmod/commit/02296c12fe0e1e2b8e17e2dff00ec58fe5ac268b[/url]
[QUOTE=code_gs;49567674]Already fixed: [url]https://github.com/garrynewman/garrysmod/commit/02296c12fe0e1e2b8e17e2dff00ec58fe5ac268b[/url][/QUOTE] How would one implement the fix?
[QUOTE=seabeds;49567704]How would one implement the fix?[/QUOTE] Wait x months for the update to be pushed. Or just change the glock sound in the lua file to: SWEP.Primary.Sound = Sound( "weapons/glock/glock18-1.wav" )
[QUOTE=Yashirmare;49567781]Wait x months for the update to be pushed. Or just change the glock sound in the lua file to: SWEP.Primary.Sound = Sound( "weapons/glock/glock18-1.wav" )[/QUOTE] I replaced "garrysmod/scripts/game_sounds_manifest.txt" with the fix but i do not believe it has helped. I have yet to replace the SWEP.Primary.Sound though.
[QUOTE=seabeds;49567948]I replaced "garrysmod/scripts/game_sounds_manifest.txt" with the fix but i do not believe it has helped.[/QUOTE] Yeah no shit, I didn't say to do that because it won't work, scripts are client side (or at least that one is).
Sorry, you need to Log In to post a reply to this thread.