Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
1 2 3 4 5 … 18 Next »
Setting a client side model using a VMT
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Setting a client side model using a VMT
31-07-2026, 10:42 PM,
#1
Caprica Offline
Valued donator and member
****
Posts: 76
Threads: 24
Joined: Aug 2020
Setting a client side model using a VMT
I am working on a SGU dialing interface, and I have a client side model for both the stargate and the chevrons.

Unlike the chevrons for SG1 and SGA they are not skins, but rather it is a different material. Using mat_texture_list in the console I found the material that it uses:

the_sniper_9/universe/stargate/universechevronon

When I try to set the client side model to the texture it does not work. Looking at the CAP code its a .vmt

Is there a way to set the texture of this client side model?
Find
Reply
01-08-2026, 08:17 PM,
#2
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Setting a client side model using a VMT
Client-side models can only use materials from the material whitelist.

If you want to light up the chevrons, you can just render a white box behind the relevant chevron. That's all the texture is doing (with the rest of the ring being the same as the "off" texture).

EDIT: I forgot that the outer gate texture also doesn't use a skin, so lighting that up won't work. As it's not in the whitelist there's not a supported way to set the texture.
Find
Reply
02-08-2026, 10:59 AM,
#3
Person8880 Offline
gpj.ecafllorT
*******
Posts: 2,407
Threads: 45
Joined: Sep 2013
RE: Setting a client side model using a VMT
I've made client-side models no longer be restricted to the material whitelist, you should be able to set the material now.
Find
Reply
02-08-2026, 06:28 PM,
#4
Caprica Offline
Valued donator and member
****
Posts: 76
Threads: 24
Joined: Aug 2020
RE: Setting a client side model using a VMT
Thanks that is really helpful,

I now have a working screen and this was helpful because the horizon for SGU uses a different material as well

(Working video https://nextcloud.astralconstellation.sp...HRfSmGQiPH, ignore horizon after open I forgot to clear render)
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread:
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.