Notepad++ VDF Language Plugins: Difference between revisions
Jump to navigation
Jump to search
Warning:N++ detects languages based on file extensions, but in several cases the established one is simply
Note:v6.8.4 (released on 16 Oct 2015) implemented the auto-detect language feature (at least for a subset of languages)...
Fix:Rename the files in these cases: so long as the correct name is in the manifests, it doesn't matter what your soundscripts, response rules scripts, or soundscapes are called.
Tip:Use Ctrl+F6 to execute the previous command again.
m (→References) |
Thunder4ik (talk | contribs) m (Unicodifying, replaced: See Also → See also, [[Image: → [[File: (2)) |
||
Line 1: | Line 1: | ||
{{cleanup}} | {{cleanup}} | ||
[[ | [[File:Npplng qc.png|thumb|300px|[[Qc|QC]] highlighting.]] | ||
{{npp|4}} is a free source code editor that supports custom text highlighting. Highlighting rules are available for many Valve languages. To install them: | {{npp|4}} is a free source code editor that supports custom text highlighting. Highlighting rules are available for many Valve languages. To install them: | ||
Line 10: | Line 10: | ||
== Supported [[:Category:File formats|file format]]s and [[:Category:Files|file]]s == | == Supported [[:Category:File formats|file format]]s and [[:Category:Files|file]]s == | ||
[[ | [[File:Npplng talker.png|300px|thumb|[[Response System|Response rules]] highlighting.]] | ||
# [[VDF]] (.vdf) | # [[VDF]] (.vdf) | ||
Line 48: | Line 48: | ||
{{tip|Use {{key|Ctrl|F6}} to execute the previous command again.}} | {{tip|Use {{key|Ctrl|F6}} to execute the previous command again.}} | ||
== See | == See also == | ||
*[http://steamreview.org/external/vdc/npp-vdf.zip Legacy Version] | *[http://steamreview.org/external/vdc/npp-vdf.zip Legacy Version] |
Revision as of 01:51, 7 January 2024

This article or section needs to be cleaned up to conform to a higher standard of quality.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.

QC highlighting.
Notepad++ is a free source code editor that supports custom text highlighting. Highlighting rules are available for many Valve languages. To install them:
- Download the languages on GitHub here
- Extract the XML files to
%appdata%/Notepad++/userdefinelangs/
%appdata%
should automatically resolve to a full path.
Supported file formats and files

Response rules highlighting.
- VDF (.vdf)
- KeyValues2 (No default extension due to very large potential filesize)
- Response rules (.talker)
- Soundscripts (.soundscript)
- Materials (.vmt)
- Actbusy (.vdf)
- Soundscapes (.soundscape)
- QC (.qc, .qci)
- SMD (.smd, .vta)
- Weapon script (No appropriate extension)
- FGD (.fgd)
- VBSP (.vbsp)
Limitations

.txt
.

Filenames
You can see the custom extensions which had been set up for this purpose in the list above.
If you want to set a language manually in Notepad++, use the Language
menu.
Compiling QC model scripts
You can compile QCs directly from Notepad++ with the NppExec plugin. Install it either from Plugins > Plugin Manager or by downloading directly from SourceForge.
With NppExec installed, press F6 and enter the following command. Change the path to studiomdl to match your system and your target engine branch:
"C:\Program Files (x86)\Steam\steamapps\common\alien swarm\bin\studiomdl.exe" -nop4 -r "$(FULL_CURRENT_PATH)"
Press OK to compile.

See also
- Legacy Version
- Highlighting and Compiling QCs with ConTEXT
- Gmod Lua Highlighter plugin
- Improved/Extended vmt syntax highlighter for Notepad++
References
|