Notepad++ VDF languages

From Valve Developer Community

Revision as of 18:59, 7 October 2009 by Qwiggalo (Talk | contribs)
Jump to: navigation, search
QC highlighting.

Notepad++ is a free source code editor that supports custom text highlighting. TomEdwards has created various VDF profiles. To install:

  1. Download the languages here
  2. Extract the archive to either:
    Windows XP
    %userprofile%/Application Data/Notepad++/
    Windows Vista/Windows 7
    %userprofile%/AppData/Roaming/Notepad++/

%userprofile% will automatically resolve your personal user folder.

Contents

Supported languages

Response rules highlighting.
Generic VDF
.vdf
Response rules
.talker
Soundscripts
.soundscript
Materials
.vmt
Actbusy
.vdf
Soundscapes
.soundscape
QC
.qc
SMD
.smd
.vta

Filenames

N++ detects langauges based on file extensions, but in several cases the established one is simply .txt. 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. 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 files

Assuming you have the NppExec plug-in installed (you probably do): press F6 and enter the full path to studiomdl surrounded by "quote marks", then a space, then "$(FULL_CURRENT_PATH)" (also with quote marks).

Tip:Hit Ctrl+F6 to automatically execute the last command.

See also

Personal tools