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

$modelname

From Valve Developer Community
< Ko
Jump to: navigation, search
English (en)한국어 (ko)Русский (ru)Translate (Translate)

UNTRANSLATED string "this is a" see Template:This is a/strings


QC 명령어셋의 일부로 아주 기본적인 모델의 이름을 정의 합니다. $modelname는 QC 파일에 반드시 한번은 나와야 하는 아주 기초적인 QC 명령어입니다.

VProject 콘솔 변수(en)에 의해 현재 지정된 작업 대상 게임 폴더의 Model 폴더를 기본으로 작업을 하게 되며 별 다른 설정을 하지 않는 이상은 VProject에 지정된 게임의 하위 디렉토리를 참조합니다. $cdmaterials 명령어를 사용해서 저장될 폴더와 위치를 바꾸는것이 가능합니다.

Note.png참고:Alien Swarm에이리언 스왐에 쓰이는 studioMDL 툴은 생성되어 있지 않은 폴더를 만들지 않습니다. 컴파일 작업에 쓰일 모델들의 디렉토리를 먼저 만들어 놓고 나서 작업을 하세요.
Icon-Bug.png버그:Alien Swarm 에이리언 스왐에서는 루트 폴더 z:\models 폴더의 파일들을 잃어 들이지 않습니다.  (tested in: ???)

Example

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

컴파일 된 모델 들은 <game>\models\weapons\shell.mdl로 저장이 되게 됩니다.