This article's documentation is for anything that uses the Source engine. Click here for more information.

Ko/$cdmaterials: Difference between revisions

From Valve Developer Community
< Ko
Jump to navigation Jump to search
m (-Using L template for links)
m (Multipage removal)
 
Line 1: Line 1:
{{langsp|title=$cdmaterials}}
{{LanguageBar|title = $cdmaterials}}
{{this is a|QC command|name=$cdmaterials}}
The {{ent|$cdmaterials}} {{LCategory|QC Commands|QC 명령어}}는 게임에 쓰일 {{L|Material|재질}} 파일이 있는 디렉토리의 이름을 적어 넣는 곳입니다. 적은 폴더의 하위 폴더를 찾지는 않고 적은 폴더만 소스 게임 엔진에서 찾게 됩니다. <code><game>\materials\</code> 폴더가 기본으로 들어가됩니다.  
The {{ent|$cdmaterials}} {{LCategory|QC Commands|QC 명령어}}는 게임에 쓰일 {{L|Material|재질}} 파일이 있는 디렉토리의 이름을 적어 넣는 곳입니다. 적은 폴더의 하위 폴더를 찾지는 않고 적은 폴더만 소스 게임 엔진에서 찾게 됩니다. <code><game>\materials\</code> 폴더가 기본으로 들어가됩니다.  


Line 19: Line 20:
  {{L|$body}} shell "shell_ref.smd"
  {{L|$body}} shell "shell_ref.smd"
  {{L|$sequence}} idle "shell_idle.smd"
  {{L|$sequence}} idle "shell_idle.smd"
{{ACategory|QC Commands|cdmaterials}}

Latest revision as of 03:08, 12 July 2024

English (en)한국어 (ko)Русский (ru)Translate (Translate)

UNTRANSLATED string "this is a" see Template:This is a/strings The $cdmaterials QC 명령어(en)는 게임에 쓰일 재질(en) 파일이 있는 디렉토리의 이름을 적어 넣는 곳입니다. 적은 폴더의 하위 폴더를 찾지는 않고 적은 폴더만 소스 게임 엔진에서 찾게 됩니다. <game>\materials\ 폴더가 기본으로 들어가됩니다.

$cdmaterials "models\weapons\uber\"

게임 폴더가 z:\l4d2\ 라고 한다면 z:\l4d2\materials\models\weapons\uber\ 폴더에 위치한 재질 파일을 사용하게 됩니다.

주로 총기는 \models\ 맵 파일의 재질은 \maps\ 를 사용하게 됩니다.

Tip.png팁:Material 파일 이름 레퍼런스 메쉬(en)에서 지정된 된 텍스쳐 이름을 사용하게 됩니다.($body(en) $model (QC)(en) $model(VMT)(en)등을 이용하게 됩니다.)

$cdmaterials 명령어 문법

$cdmaterials <재질 폴더 1> <재질 폴더 2> [....]

예제

$modelname(en)		"weapons\shell.mdl"
$cdmaterials(en)		"models\weapons\"
$body(en)		shell	"shell_ref.smd"
$sequence(en)	idle	"shell_idle.smd"