hey recently i got KCGEOGES pack and they shoot errors i know why and i just dont have the money at the time to buy css or day of defeat and im not a pirate so im not gonna rip the source files from online i know how to code a little but i was wondering where and what do i type to change them.
You could probably edit the lua files of the weapons if you can be bothered.
The weapons lua file should be located in garrysmod\addons\<addonname>\lua\weapons\<weaponname>
Here's a weapon from WAC as an example.
[code]
SWEP.Base = "w_wac_base"
if SERVER then
AddCSLuaFile ("shared.lua")
end
SWEP.Spawnable = true
SWEP.AdminSpawnable = true
SWEP.PrintName = "AK47"
SWEP.AimAng = Angle(-2.94, 0, 0)
SWEP.AimPos = Vector(6.08, -5, 1.85)
SWEP.Slot = 2
SWEP.IconLetter = "z"
SWEP.ViewModel = "models/weapons/v_rif_ak47.mdl"
SWEP.WorldModel = "models/weapons/w_rif_ak47.mdl"
SWEP.ViewModelFlip = true
SWEP.Primary.Sound = Sound ("Weapon_AK47.Single")
SWEP.Primary.Damage = 12
SWEP.Primary.NumShots = 1
SWEP.Primary.Cone = 0.01
SWEP.Primary.Delay = 0.13
SWEP.Primary.Recoil = 0.2
SWEP.Primary.ClipSize = 30
SWEP.Primary.DefaultClip = 30
SWEP.Primary.Automatic = true
SWEP.Primary.Ammo = "smg1"
SWEP.BackPushY = -0.5
SWEP.BackPushZ = 0.1
SWEP.Secondary.ClipSize = -1
SWEP.Secondary.DefaultClip = -1
SWEP.Secondary.Automatic = false
SWEP.Secondary.Ammo = "none"
[/code]
The lines you want to edit are
[code]
SWEP.ViewModel = "models/weapons/v_rif_ak47.mdl"
SWEP.WorldModel = "models/weapons/w_rif_ak47.mdl"
[/code]
Good luck.
Or you could just buy css to avoid further complications (almost all servers use some sort of CSS content)
[editline]24th June 2011[/editline]
However, if the gun are SHOOTING missing models, you should take a look at the code of the gun and look at what model that is. (and I have no idea what gun it is and why it's firing props)
(Neither do I have any coding experience)
Sorry, you need to Log In to post a reply to this thread.