• DImage how to add custom images?
    2 replies, posted
Hey guys i was wondering if you guys could tell me how to add custom images to a DImage button. I realize I have to use VTF edit or some program but im not 100% sure on how to do it so if you guys could help clear that up that would be great. Also do Dimagebuttons need to be parented to the DPanel?
yes just convert your image to vtf with vtfedit, you also need to create a vmt (tool/create vmt file). your vmt should look like : [code]"UnlitGeneric" { "$basetexture" "path/to/your/vtf " "$vertexcolor" 1 "$vertexalpha" 1 "$nolod" 1 } [/code]
Sorry, you need to Log In to post a reply to this thread.