Category:Ru/QC Commands: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Kestrelguy moved page QC command:ru to QC Commands:ru: moved to match location of English page.)
m (updated language bar.)
Line 1: Line 1:
{{otherlang2
{{lang|Category:QC Commands}}
|en=:Category:QC_Commands
'''QC-файл''' это [[text editor|текстовый]] {{en}} скрипт, в котором указывается, каким образом программа [[Studiomdl:ru|Studiomdl]].exe должна компилировать [[Studiomodel]] {{en}} из набора [[SMD]]-файлов. Само название QC расшифровывется как [http://en.wikipedia.org/wiki/Quake_C Quake C] (скриптовый язык, на котором основан формат Valve Data File). Файл '''QCI''' типовой/часто применяемый блок QC-команд, его нужно использовать с помощью команды {{ent:ru|$include}} (это опционально). Пользоваться QCI вы не обязаны, но при грамотном применении эти файлы сильно сократят работу. В папке <code>sourcesdk_content/hl2/modelsrc</code> можно подсмотреть много примеров <code>.qc</code> и <code>.qci</code>.<!-- // Здесь полезная и, к тому же, краткая общая информация. Не удаляйте ее снова… // -->
|fr=:Category:QC_Commands:fr
}}
'''QC-файл''' это [[text editor|текстовый]] скрипт, в котором указывается, каким образом программа [[Studiomdl:ru|Studiomdl]].exe должна компилировать [[Studiomodel]] из набора [[SMD]]-файлов. Само название QC расшифровывется как [http://en.wikipedia.org/wiki/Quake_C Quake C] (скриптовый язык, на котором основан формат [[Valve Data File]]). Файл '''QCI''' -- типовой/часто применяемый блок QC-команд, его нужно использовать с помощью команды [[$include]] (это опционально). Пользоваться QCI вы не обязаны, но при грамотном применении эти файлы сильно сократят работу. В папке <code>sourcesdk_content/hl2/modelsrc</code> можно подсмотреть много примеров <code>.qc</code> и <code>.qci</code>.<!-- // Здесь полезная и, к тому же, краткая общая информация. Не удаляйте ее снова... // -->


{{note|До завершения этой документации ещё далеко. Можете зайти в [[category_talk:QC Commands]], чтобы посмотреть какие команды еще нужно описать}}
{{note|До завершения этой документации ещё далеко. Можете зайти в [[category_talk:QC Commands]], чтобы посмотреть какие команды еще нужно описать}}
Line 11: Line 8:


== С чего начать работу ==
== С чего начать работу ==
*'''[[Compiling a model:ru|Компиляция модели]]'''
*'''[[Compiling a model:ru|Компиляция модели]]'''
*[[Qc|QC файл]]
*[[QC|QC файл]] {{en}}
*[[Studiomdl:ru|Программа Studiomdl]]
*[[Studiomdl:ru|Программа Studiomdl]]


== Базовые команды ==
== Базовые команды ==
 
*{{ent:ru|$modelname}}
*[[$modelname:ru|$modelname]]
*{{ent:ru|$body}} (или <code>[[$model (QC)|$model]] {{en}})
*[[$body:ru|$body]] (или [[$model (QC)|$model]])


== Текстуры ==
== Текстуры ==
*[[$renamematerial]]
*{{ent:ru|$renamematerial}}
*[[$texturegroup]]
*{{ent:ru|$texturegroup}}
*[[$cdmaterials:ru|$cdmaterials]]
*{{ent:ru|$cdmaterials}}
*[[$surfaceprop:ru|$surfaceprop]]
*{{ent:ru|$surfaceprop}}
*[[$jointsurfaceprop]]
*{{ent:ru|$jointsurfaceprop}}


== Анимация ==
== Анимация ==
 
*'''{{ent:ru|$sequence}}'''
*'''[[$sequence]]'''
*'''{{ent:ru|$animation}}'''
*'''[[$animation]]'''
*{{ent:ru|$declaresequence}}
*[[$declaresequence]]
*{{ent:ru|$ikchain}}
*[[$ikchain]]
*{{ent:ru|$poseparameter}}
*[[$poseparameter]]
*{{ent:ru|$append}}
*[[$append]]


== Скелет ==
== Скелет ==
 
*{{ent:ru|$root}}
*[[$root]]
*{{ent:ru|$hierarchy}}
*[[$hierarchy]]
*{{ent:ru|$definebone}}
*[[$definebone]]
*{{ent:ru|$bonemerge}}
*[[$bonemerge]]
*{{ent:ru|$animblocksize}}
*[[$animblocksize]]
*{{ent:ru|$realignbones}}
*[[$realignbones]]
*{{ent:ru|$jointsurfaceprop}}
*[[$jointsurfaceprop]]
*{{ent:ru|$contents}}
*[[$contents]]
*{{ent:ru|$jointcontents}}
*[[$jointcontents]]
*{{ent:ru|$alwayscollapse}}
*[[$alwayscollapse]]


== Физика ==
== Физика ==
 
*<code>[[Prop Data|prop_data]]</code> (using {{ent:ru|$keyvalues}})
*[[Prop Data|prop_data]] (using [[$keyvalues]])
*{{ent:ru|$collisionmodel}}
*[[$collisionmodel]]
*{{ent:ru|$collisionjoints}}
*[[$collisionjoints]]
*{{ent:ru|$jigglebone}}
*[[$jigglebone]]
*{{ent:ru|$weightlist}}
*[[$weightlist]]


== Hitbox'ы ==
== Hitbox'ы ==
 
*{{ent:ru|$hboxset}}
*[[$hboxset]]
*{{ent:ru|$hbox}}
*[[$hbox]]


{{category newcolumn|rowspan=1|width=50%|background-color=#FBF7EA|border-color=#E4DCCD}}
{{category newcolumn|rowspan=1|width=50%|background-color=#FBF7EA|border-color=#E4DCCD}}


== Вспомогательные команды ==
== Вспомогательные команды ==
 
*'''{{ent:ru|$keyvalues}}'''
*'''[[$keyvalues]]'''
*{{ent:ru|$include}}
*[[$include]]
*{{ent:ru|$includemodel}}
*[[$includemodel]]
*{{ent:ru|$scale}}
*[[$scale]]
*{{ent:ru|$autocenter}}
*[[$autocenter]]
*{{ent:ru|$upaxis}}
*[[$upaxis]]
*{{ent:ru|$pushd}}
*[[$pushd]]
*{{ent:ru|$popd}}
*[[$popd]]
*{{ent:ru|$definemacro}}
*[[$definemacro]]
*{{ent:ru|$continue}}
*[[$continue]]
*{{ent:ru|$cmdlist}}
*[[$cmdlist]]


{{category cell|background-color=white|border-color=white}}
{{category cell|background-color=white|border-color=white}}


== Быстродействие ==
== Быстродействие ==
 
*{{ent:ru|$staticprop}}
*[[$staticprop]]
*{{ent:ru|$lod}}
*[[$lod]]
*{{ent:ru|$shadowlod}}
*[[$shadowlod]]
*{{ent:ru|$collapsebones}}
*[[$collapsebones]]
*{{ent:ru|$alwayscollapse}}
*[[$alwayscollapse]]
*{{ent:ru|$opaque}}
*[[$opaque]]
*{{ent:ru|$mostlyopaque}}
*[[$mostlyopaque]]
*{{ent:ru|$animblocksize}}
*[[$animblocksize]]
*{{ent:ru|$sectionframes}}
*[[$sectionframes]]


{{category cell|background-color=#FBF7EA|border-color=#E4DCCD}}
{{category cell|background-color=#FBF7EA|border-color=#E4DCCD}}


== Освещение ==
== Освещение ==
 
*{{ent:ru|$illumposition}}
*[[$illumposition]]
*{{ent:ru|$constantdirectionallight}}
*[[$constantdirectionallight]]
*{{ent:ru|$ambientboost}}
*[[$ambientboost]]


{{category cell|background-color=white|border-color=white}}
{{category cell|background-color=white|border-color=white}}


== Лицевая анимация ==
== Лицевая анимация ==
 
*'''<code>[[$model (QC)|$model]]</code> {{en}}'''
*'''[[$model (QC)|$model]]'''
*{{ent:ru|$eyeposition}}
*[[$eyeposition]]


{{category cell|background-color=#FBF7EA|border-color=#E4DCCD}}
{{category cell|background-color=#FBF7EA|border-color=#E4DCCD}}


== Позиционирование ==
== Позиционирование ==
 
*{{ent:ru|$attachment}}
*[[$attachment]]
*{{ent:ru|$origin}}
*[[$origin]]
*{{ent:ru|$collisiontext}} (gibs)
*[[$collisiontext]] (gibs)
*{{ent:ru|$autocenter}}
*[[$autocenter]]


{{category end}}
{{category end}}
__NOTOC__
__NOTOC__[[Category:Modeling:ru]]
[[Category:Modeling]]

Revision as of 07:09, 10 May 2022

English (en)Español (es)Français (fr)한국어 (ko)Русский (ru)中文 (zh)Translate (Translate)

QC-файл это текстовый

Warning icon.png
This category has been marked as a candidate for speedy deletion for the following reason:
Use {{Flag|en}} instead.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.

скрипт, в котором указывается, каким образом программа Studiomdl.exe должна компилировать Studiomodel

Warning icon.png
This category has been marked as a candidate for speedy deletion for the following reason:
Use {{Flag|en}} instead.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.

из набора SMD-файлов. Само название QC расшифровывется как Quake C (скриптовый язык, на котором основан формат Valve Data File). Файл QCI — типовой/часто применяемый блок QC-команд, его нужно использовать с помощью команды $include (это опционально). Пользоваться QCI вы не обязаны, но при грамотном применении эти файлы сильно сократят работу. В папке sourcesdk_content/hl2/modelsrc можно подсмотреть много примеров .qc и .qci.

Note.pngПримечание:До завершения этой документации ещё далеко. Можете зайти в category_talk:QC Commands, чтобы посмотреть какие команды еще нужно описать

С чего начать работу

Warning icon.png
This category has been marked as a candidate for speedy deletion for the following reason:
Use {{Flag|en}} instead.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.

Базовые команды

Warning icon.png
This category has been marked as a candidate for speedy deletion for the following reason:
Use {{Flag|en}} instead.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.
)

Текстуры

Анимация

Скелет

Физика

Hitbox'ы

Вспомогательные команды

Быстродействие

Освещение

Лицевая анимация

Warning icon.png
This category has been marked as a candidate for speedy deletion for the following reason:
Use {{Flag|en}} instead.
If you object to this decision, then please discuss why here (If you make a discussion section also create this redirect page). If this page doesn't meet the criteria for speedy deletion, then please remove this notice, but do not remove it from pages that you have created yourself
Administrators / Moderators - Remember to check if anything links here and the page history before deleting.

Позиционирование

Pages in category "Ru/QC Commands"

The following 10 pages are in this category, out of 10 total.