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
When you are setting up a model for compiling, there is a line on the qc, "$cdmaterials" iirc that tells the game where to look for the textures, and it needs to be relative to Gmod's "materials" folder.
This is an example of said line.
$cdmaterials "texture/path/example". "materials" is already assumed by the compiler and there's no need to put it on the path.
In your model's folder you add this "materials" folder and then add subfolders with the same names as the cdmaterials path, and in the last folder you'll put the textures your model has. You can download a program called VTFEdit to convert your textures into vtfs and vmts for the game to find and apply.
This is if you're doing a custom model, though. If you want to apply it to an already existing model it's just a matter of editing its vmts and adding the necessary lightwarp and you're done.
https://developer.valvesoftware.com/wiki/VTF_(Valve_Texture_Format)
https://developer.valvesoftware.com/wiki/VMT