• Making a .vmt proxy work
    4 replies, posted
Garry's Mod has this neat proxy; [CODE] Proxies { PlayerWeaponColor { resultVar $selfillumtint } }[/CODE] It's what makes your Physgun have any RGB colour you want, in the Context Menu, Models Color. Now, this can be used on guns, that's cool. But there's a problem...It seems to only work on the DEFAULT skin, skin0. Not skin1, not skin2 and not any other skin above those. So...Does anyone have any idea at how I can make it so this proxy works for other skins that is not the default/skin0 one? Lua or vmt, I just want it to work on other skins than just the default/skin0 one.
Moved to Developer Discussion where it belongs. What you want to do is have that proxy in all your skins as well. Naturally, your .vtf has to support being selectively colored.
Hold on, so if I got 5 skins and I don't want any of them to be coloured but just the last one, I still have to give all the .vmts the proxy? Even so...What if I got 5 skins and the 4th skin already has a glow I forcefully want it to have (green tritium), wouldn't it conflict? And yes, I did make the .vtf, at least the 5th one, have an alpha mask used as a selfillum mask.
A week has passed and I still didn't fix this small issue.
[QUOTE=Blitzoreo;49811360]Hold on, so if I got 5 skins and I don't want any of them to be coloured but just the last one, I still have to give all the .vmts the proxy? Even so...What if I got 5 skins and the 4th skin already has a glow I forcefully want it to have (green tritium), wouldn't it conflict? And yes, I did make the .vtf, at least the 5th one, have an alpha mask used as a selfillum mask.[/QUOTE] Have you tried to do any of this to find out for yourself? It would probably be faster than asking
Sorry, you need to Log In to post a reply to this thread.