$surfaceprop: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
$surfaceprop | "$surfaceprop" "surface property" | ||
* Applies a particular [[Material Surface Property]] to the entire model. | * Applies a particular [[Material Surface Property]] to the entire model. | ||
* The surface property affects a number of parameters for the model: | * The surface property affects a number of parameters for the model: | ||
Line 8: | Line 8: | ||
* To add or change [[Material Surface Property]] types, edit the file <code>hl2\scripts\surfaceproperties.txt</code>. | * To add or change [[Material Surface Property]] types, edit the file <code>hl2\scripts\surfaceproperties.txt</code>. | ||
* [[HLMV]] can be used to generate blocks of .QC file that sets the surface properties correctly. | * [[HLMV]] can be used to generate blocks of .QC file that sets the surface properties correctly. | ||
[[Category:QC Commands]] | [[Category:QC Commands]] | ||
[[Category:List of Shader Parameters]] | [[Category:List of Shader Parameters]] | ||
[[Category:VMT Common]] |
Revision as of 14:11, 8 November 2007
"$surfaceprop" "surface property"
- Applies a particular Material Surface Property to the entire model.
- The surface property affects a number of parameters for the model:
- its physics properties (weight, etc),
- what sounds it makes when it collides,
- what particles it emits when you shoot it, etc.
- what gibs it throws up when it breaks
- To add or change Material Surface Property types, edit the file
hl2\scripts\surfaceproperties.txt
. - HLMV can be used to generate blocks of .QC file that sets the surface properties correctly.