Ko/$surfaceprop: Difference between revisions

From Valve Developer Community
< Ko
Jump to navigation Jump to search
(Created page with "{{otherlang2 |ru=$surfaceprop:ru |ko=$surfaceprop:ko }} The '''<code>$surfaceprop</code>''' command links the surface of either a material or model to a set of physi...")
 
No edit summary
Line 1: Line 1:
{{otherlang2
{{otherlang2
|en=$surfaceprop
|ru=$surfaceprop:ru
|ru=$surfaceprop:ru
|ko=$surfaceprop:ko
}}
}}


The '''<code>[[$surfaceprop]]</code>''' command links the surface of either a [[material]] or [[model]] to a set of physical properties, including:
The '''<code>$surfaceprop</code>''' QC 명령어는 [[model:ko|모델]][[material:ko|재질]] 물리적 물체 성질을 부여 합니다.


* What sounds are emitted during collisions
* 물체끼리 부딪혔을ㄹ때 나는 소리.
* What effects are emitted when the surface is shot
* 표면이 총탄에 맞았을 경우 나는 특수 효과들.
* Mass, buoyancy, bounciness...
* 질량, 부력, 탄성 등의 물리적 특성.
* The effect of the surface on nearby sounds (reverberation, echo, absorption...)
* 가까이 가게 되면 나게 되는 여러가지 소리 효과들 (반사음, 에코, 음량감소, 특정 장소에서의 여러 가지 효과...)


== Syntax ==


Syntax is the same for both models and materials:
== 명령어 ==


명령어는 모델과 재질이 같습니다.:
  $surfaceprop <name>
  $surfaceprop <name>


Names are defined in <code><game>\scripts\surfaceproperties_manifest.txt</code> (and the files it references). For a list of Valve's stock props, see [[Material surface properties]].
<name>은 <code><game>\scripts\surfaceproproperties_manifest.txt</code> 파일에 기록이 되어 있으므로 해당 파일을 열어서 원하는 재질을 찾아보는 방법도 가능하다.
{{bug|[[Left 4 Dead]] does not display bullet decals properly on brick surfaces. If you're okay with the decals and visual effects being inappropriate, you can change the <code>$surfaceprop</code> to something else to fix it.}}


== In materials ==
일반적으로 쓰이는 벨브의 소스엔진 {{en}} [[Material surface properties|재질 표면 목록]]에도 기록이 되어 있다.


* <code>$surfaceprop</code> is not linked to any particular [[shader]], so it can be used at any time.
{{bug|[[Left 4 Dead|레프로 4 데드]]에서는 벽돌(brick) 표면에서 총알 데칼 표시가 제대로 되지 않는 경우가 있다. 별거 아닌 버그이지만 신경이 쓷인다면 <code>$surfaceprop</code>를 벽돌이 아닌 다른 재질을 넣어주자.}}
* Only brush based shaders require this parameter. <code>$surfaceprop</code> must always be defined within the collision property of the QC file if anything other than the default is to be used, however.


== In models ==
이 QC 명령어는 2 군데에서 쓰이게 된다.


* It is unclear whether a model's mass is calculated from <code>$surfaceprop</code> or <code>[[Prop Data|prop_data]]</code>
== VMT 재질 파일 내에서.. ==
* Surface props can be defined for individual [[bone]]s with <code>[[$jointsurfaceprop]]</code>


* <code>$surfaceprop</code> 는 [[shader:ko|쉐이더]]의 부분으로 연결되어지지 않는다. 그러므로 언제든지 사용이 가능 하다. is not linked to any particular [[shader]], so it can be used at any time.
* 오로지 브러쉬 형태의 쉐이더들이 이 페러미터 값을 이용한다. <code>$surfaceprop</code> QC file에 들어간 충돌 속성값이 포함되게 됩니다. QC file에 아무것도 지정된것이 없다면 매우 기초적인 기본 물리 속성이 지정되게 됩니다.
{{note|수정 바랍니다.}}
== 모델 파일에서는... ==
* 어느 QC 명령어에 의해서 질량 값이 계산되어지는지를 정확히 알수는 없습니다만 <code>$surfaceprop</code> 와 <code>[[Prop Data|prop_data]]</code> 둘 중 하나일 것입니다.
* <code>$surfaceprop</code> 각각의 {{en}} [[bone|본]] 마다 <code>$jointsurfaceprop</code> QC 명령어를 이용해서 값을 정해 줄수 있습니다.


[[Category:QC Commands|s]]
[[Category:QC Commands|s]]
Line 36: Line 41:
== Addtion links ==
== Addtion links ==


* [[Material_surface_properties]]
* [[$jointsurfaceprop]]

Revision as of 09:31, 12 March 2014

Template:Otherlang2

The $surfaceprop QC 명령어는 모델재질 물리적 물체 성질을 부여 합니다.

  • 물체끼리 부딪혔을ㄹ때 나는 소리.
  • 표면이 총탄에 맞았을 경우 나는 특수 효과들.
  • 질량, 부력, 탄성 등의 물리적 특성.
  • 가까이 가게 되면 나게 되는 여러가지 소리 효과들 (반사음, 에코, 음량감소, 특정 장소에서의 여러 가지 효과...)


명령어

명령어는 모델과 재질이 같습니다.:

$surfaceprop <name>

<name>은 <game>\scripts\surfaceproproperties_manifest.txt 파일에 기록이 되어 있으므로 해당 파일을 열어서 원하는 재질을 찾아보는 방법도 가능하다.

일반적으로 쓰이는 벨브의 소스엔진

Warning icon.png
This article 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.

재질 표면 목록에도 기록이 되어 있다.

Icon-Bug.png버그:레프로 4 데드에서는 벽돌(brick) 표면에서 총알 데칼 표시가 제대로 되지 않는 경우가 있다. 별거 아닌 버그이지만 신경이 쓷인다면 $surfaceprop를 벽돌이 아닌 다른 재질을 넣어주자.  [todo tested in ?]

이 QC 명령어는 2 군데에서 쓰이게 된다.

VMT 재질 파일 내에서..

  • $surfaceprop쉐이더의 부분으로 연결되어지지 않는다. 그러므로 언제든지 사용이 가능 하다. is not linked to any particular shader, so it can be used at any time.
  • 오로지 브러쉬 형태의 쉐이더들이 이 페러미터 값을 이용한다. $surfaceprop QC file에 들어간 충돌 속성값이 포함되게 됩니다. QC file에 아무것도 지정된것이 없다면 매우 기초적인 기본 물리 속성이 지정되게 됩니다.
Note.png메모:수정 바랍니다.

모델 파일에서는...

  • 어느 QC 명령어에 의해서 질량 값이 계산되어지는지를 정확히 알수는 없습니다만 $surfacepropprop_data 둘 중 하나일 것입니다.
  • $surfaceprop 각각의
Warning icon.png
This article 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.

마다 $jointsurfaceprop QC 명령어를 이용해서 값을 정해 줄수 있습니다.

Addtion links