• Can't get Custom Server-side Vending Machines to Glow
    3 replies, posted
Alright so I have these custom vending machines for a map, and I can't get them to illuminate in-game. (Lights you see are from map entities) [thumb]http://i.cubeupload.com/5oK3tS.png[/thumb] Here's the vmf of them both (granted the second one is machine01b): [QUOTE][B]VertexLitGeneric { "$basetexture" "models\props\cs_office\vending_machine01a" "$selfillum" "1" "$envmap" "env_cubemap" "$envmapmask" "models\props\cs_office\vending_machine_ref" }[/B] [/QUOTE] Here's a look at the VTF's of both of them: [thumb]http://gyazo.com/77fac79cc3c59f13157f20bdf27df034.png?1367296863[/thumb] [thumb]http://gyazo.com/69ca81691dd7f44103b062cec1399a5c.png?1367296869[/thumb]
make sure the alpha channel of the base texture matches the parts you want to glow (e.x parts you want to fully glow be pure white then parts that you dont want to glow pure black etc)
[QUOTE=Rinfect;40474706]try adding this to the VMT [code]VertexLitGeneric { "$basetexture" "models\props\cs_office\vending_machine01a" "$selfillum" "1" "$envmap" "env_cubemap" "$envmapmask" "models\props\cs_office\vending_machine_ref" $selfillum 1 $selfillummask "models\props\cs_office\vending_machine01a" $selfillumtint "[1 1 1]" }[/code][/QUOTE] [QUOTE=sentrygunman;40482319]make sure the alpha channel of the base texture matches the parts you want to glow (e.x parts you want to fully glow be pure white then parts that you dont want to glow pure black etc)[/QUOTE] Thanks guys, got it to work!
Sorry, you need to Log In to post a reply to this thread.