Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
the easiest solution seems to be making your own kanye radio material. all this needs is a VMT file in the same folder of your VTF file. VMT is a simple text file that can define a material and give it a texture. the valve wiki has a VMT file page for info, alongside an example you can copy+paste then edit.
the following line worked for me, after getting a material path from the asset browser (asset browser found by holding C):
self:SetMaterial("path/to/kanyeradio")
for some reason, SetMaterial doesn't need you to tell it to look in the materials folder and specify filetype, unlike SetModel. so just feed it the path to the kanyeradio material with ".vmt" and "materials/" removed
you've probably tried all this, but idk mentioning some stuff might help just incase.
not too involved in modding, only messed with gamemodes a bit. but the standard radio texture is being overridden (most likely) because it has the same name as the hl2 radio texture. so to prevent overriding, you just have to name the kanye radio texture to something else, then give the entity that new kanye radio texture when it initializes.
as for applying the new kanye radio texture; gmod wiki says there's a SetTexture function for Materials (called IMaterial). you could probably do an easy one/two-line texture application in your entity initialization script like self:GetMaterial:SetTexture("$basetexture", "pathtokanyeradio.vtf").
there's also a SetMaterial function but actually creating a material is probably its own dedicated thing.