Need help with killicon!

The killicon doesn’t appear on the screen, I have it installed the .vmt and .vtf in the right location. (the folder is called: choke_beta/weapons/forcechoke_beta so that shouldn’t be a problem?)

Any ideas?


if SERVER then // This is where the init.lua stuff goes.
	AddCSLuaFile ("shared.lua")
	SWEP.Weight = 1
	SWEP.AutoSwitchTo = false
	SWEP.AutoSwitchFrom = false
elseif CLIENT then 
	SWEP.PrintName = "Star Wars Force Choke Beta"
	SWEP.Slot = 4
	SWEP.SlotPos = 1
	SWEP.DrawAmmo = false
	SWEP.DrawCrosshair = true

	killicon.Add("forcechoke_beta", "vgui/hud/forcechoke_icon", Color(0, 255, 0, 255))

edit: fixed what’s wrong…

That will only work if your weapon class name is “forcechoke_beta”.

Also you never told us what the problem actually is.

“Doesn’t work” is never helpful.

ye sorry… I was a bit tired of it not working. And yes the class name is forcechoke_beta.

the problem is that it doesn’t appear (and I updated the post to add that)

  • DanK (PIXX)

Post the complete locations of all the related files, and post the vmt file contents. Also, did you resource.add the material?

forcechoke_beta/sounds/weapons/sound (really bad folder ik)

No resource.add and where should I put that if so (the tutorial I watched didn’t explain that)