Left 4 Dead 2

Left 4 Dead 2

LMT MARS-L HUD Icon (M16)
5 Comments
Nate  [author] 2 Feb, 2024 @ 7:42pm 
@riss
The secret is you don't put in a weapons script here at all.

You make the weapon script separate. The .vmt I pack with the .vtf points to the location of the HUD icon.

You'll notice in my guide all the weapon scripts are separate. Scripts only work on servers that don't enforce consistency (so servers that either use sv_pure 0 or sv_consistency 0 -- something like that) or when you host your own server (it's still online, just uses all your files -- other people will have the scripts active too so let them know!)
rixzuuPH 2 Feb, 2024 @ 3:41am 
can you tell me what data did u put in your weapon scripts to make it compatible with icons or rather what did you do for it?
Nate  [author] 28 Jan, 2024 @ 7:09pm 
@Dokun
No worries. At some point I will make a guide with how I do it and probably the same for the scripts. Prolly give all my files out too. It'd be nice to pass the torch off eventually. Anyways
Dokun 28 Jan, 2024 @ 1:18am 
Hey Nate, I just wanna say, you're inspired me to make my own hud icon, and I'm glad that I can do it on my own now (primary so far, still haven't tried making icon for secondary or items slot). I won't do script tho, since it's hard for me to make a realism script like you always do.