Ru/$cdmaterials: Difference between revisions

From Valve Developer Community
< Ru
Jump to navigation Jump to search
m (Just a little correction)
m (the title)
Line 1: Line 1:
{{otherlang2
{{otherlang2
|title=$cdmaterials
|en=$cdmaterials
|en=$cdmaterials
}}
}}

Revision as of 02:53, 10 June 2018

Template:Otherlang2 $cdmaterials это команда, которая указывает расположение материалов модели относительно папки <имя игры>/materials/.

Template:Note:ru

Template:Tip:ru

Синтаксис

$cdmaterials <путь> <2-й путь> ...

Пример

$modelname		"weapons/shell.mdl"
$cdmaterials		"models/weapons/"
$body		shell	"shell_ref.smd"
$sequence	idle	"shell_idle.smd"