Please or Register to create posts and topics.

Way to use "vgui" textures in map?

I've been trying to use a vgui texture ("vgui/screens/vgui_level_select_icon") in my map, and can't get it to appear correctly.

I've tried using an overlay (the icon/texture displays, but is visible through walls), and also tried using the vgui_screen entity after adding the particular texture to the vgui_screens.txt file (doesn't appear on the map at all).

Can someone point me in the right direction on how to do this?

Pretty sure the shader for that texture won't let you use it they way you're trying to

Is this the level select material used in the Coop maps? I only have some small experience working with VGUI's so I'm not 100% sure on the solution.

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.

Not sure where exactly it's used in the game, but given its name, that may be right.

It looks similar to the lighted sign icons you see at the start of the single-player levels. I've attached a screenshot of the icon:

icon.jpg

That's similar to the use I had in mind for it -- sort of an "exit sign". Just not sure how to do it.

There's an identical overlay texture under the signage/ term. Search for "signage" to get all the instructional signs.

Wow. Totally didn't catch that. :oops:

Yes, that works perfectly for what I was trying to do. Thanks for the help.

Sorry I didn't see that before, guys.

For the future, if you ever want to use vgui materials you'll need to make a copy without ignorez in the vmt.