Skip to content

Commit 2655b42

Browse files
authored
v0.7.0 (#95)
2 parents 54c886d + 91222b9 commit 2655b42

File tree

4 files changed

+64
-1
lines changed

4 files changed

+64
-1
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
66

77
The versions in this file adhere to [semantic versioning](https://semver.org/).
88

9+
## [0.7.0]
10+
11+
**VMT**
12+
- Added parameters related to decals like `$decal`
13+
- Added `$translucent 1` to decal snippet
14+
15+
**QC**
16+
- Added `$attachment` snippet
17+
918
## [0.6.3]
1019

1120
**VMT**

package.json

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "source-engine-support",
33
"displayName": "Source Engine Support",
44
"description": "Adds support for Source Engine file types and other commands",
5-
"version": "0.6.3",
5+
"version": "0.7.0",
66
"icon": "extension-icon-256.png",
77
"author": {
88
"name": "Stefan Heinz",
@@ -560,6 +560,52 @@
560560
"name": "$color2",
561561
"type": "color"
562562
},
563+
{
564+
"name": "$decal",
565+
"type": "bool",
566+
"defaultCompletion": 1,
567+
"wikiUri": "https://developer.valvesoftware.com/wiki/Decals",
568+
"description": "Marks the material to be used as an overlay or decal. With this on, this material no longer seals the map and hammer properly displays it in the 3D viewport without Z-fighting"
569+
},
570+
{
571+
"name": "$decalscale",
572+
"type": "float",
573+
"defaultCompletion": 0.25,
574+
"wikiUri": "https://developer.valvesoftware.com/wiki/Decals",
575+
"description": "Scale of the texture when applying to surface. Usually 0.25. Same as brush face texture scale."
576+
},
577+
{
578+
"name": "$modelmaterial",
579+
"type": "material",
580+
"wikiUri": "https://developer.valvesoftware.com/wiki/Decals",
581+
"description": "Path to a separate material to use when this decal is applied to a model"
582+
},
583+
{
584+
"name": "$decalfadeduration",
585+
"type": "float",
586+
"wikiUri": "https://developer.valvesoftware.com/wiki/Decals",
587+
"description": "Amount of time to spend fading out. Required `$vertexcolor`"
588+
},
589+
{
590+
"name": "$decalfadetime",
591+
"type": "float",
592+
"defaultCompletion": 1,
593+
"wikiUri": "https://developer.valvesoftware.com/wiki/Decals",
594+
"description": "Delay before fade out begins"
595+
},
596+
{
597+
"name": "$decalsecondpass",
598+
"type": "bool",
599+
"defaultCompletion": 1,
600+
"wikiUri": "https://developer.valvesoftware.com/wiki/Decals",
601+
"description": "Always render this decal on top of materials that don't have this parameter."
602+
},
603+
{
604+
"name": "$fogscale",
605+
"type": "float",
606+
"wikiUri": "https://developer.valvesoftware.com/wiki/Decals",
607+
"description": "Scales the amount of fog affecting the decal. Usefog for making important decals stand out in foggy levels."
608+
},
563609
{
564610
"name": "$decaltexture",
565611
"type": "texture"

snippets/qc-snippets.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,5 +113,12 @@
113113
"\\$continue ${1:sequence or animation name}"
114114
],
115115
"description": "Trick the compiler parser by continue insert commands into a `$animation` or `$sequence`"
116+
},
117+
"Attachment": {
118+
"prefix": "$attachment",
119+
"body": [
120+
"\\$attachment ${1:attachment name} ${2:bone name} ${3:0} ${3:0} ${3:0} ${3:-90} ${3:-90} ${3:0}"
121+
],
122+
"description": "Attachment point (-90 -90 0 rotation is default)"
116123
}
117124
}

snippets/vmt-snippets.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"\t\\$basetexture \"$1\"",
1717
"\t\\$decal 1",
1818
"\t\\$decalscale 0.25",
19+
"\t\\$translucent 1",
1920
"}"
2021
],
2122
"description": "Basic LightmappedGeneric material to use as a world-placed decal"

0 commit comments

Comments
 (0)