Ru/$cdmaterials: Difference between revisions
< Ru
Jump to navigation
Jump to search
Thunder4ik (talk | contribs) m (→top: clean up, replaced: {{goldsrc → {{gldsrc) |
(Preparing page for move. This action was perfomed by a bot under supervision.) |
||
Line 1: | Line 1: | ||
{{ | {{langsp|title=$cdmaterials}} | ||
{{src topicon}} | |||
{{src|only}} | {{src|only}} | ||
{{for|{{gldsrc|4.1}}|{{ent:ru|$cdtexture}}}} | {{for|{{gldsrc|4.1}}|{{ent:ru|$cdtexture}}}} | ||
Line 18: | Line 19: | ||
{{ent:ru|$body}} shell "shell_ref.smd" | {{ent:ru|$body}} shell "shell_ref.smd" | ||
{{ent:ru|$sequence}} idle "shell_idle.smd" | {{ent:ru|$sequence}} idle "shell_idle.smd" | ||
Revision as of 13:41, 9 January 2024
Информацию о
GoldSrc, смотрите здесь $cdtexture.

$cdmaterials
это команда, которая указывает расположение материалов модели относительно папки <имя игры>/materials/
. Традиционно указывают папку внутри \models
.



Синтаксис
$cdmaterials <путь> <2-й путь> [...]
Пример
$modelname "weapons\shell.mdl" $cdmaterials "models\weapons\" $body shell "shell_ref.smd" $sequence idle "shell_idle.smd"