Notepad++/VDF Language Plugins

From Valve Developer Community
Jump to: navigation, search
English (en)
... Icon-Important.png
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:

  1. Download the languages on GitHub here
  2. Extract the XML files to %appdata%/Notepad++/userdefinelangs/

%appdata% should automatically resolve to a full path.

Supported file formats and files

Response rules highlighting.
  1. Generic VDF (.vdf)
  2. KeyValues2 (No default extension due to very large potential filesize)
  3. Response rules (.talker)
  4. Soundscripts (.soundscript)
  5. Materials (.vmt)
  6. Actbusy (.vdf)
  7. Soundscapes (.soundscape)
  8. QC (.qc, .qci)
  9. SMD (.smd, .vta)
  10. Weapon script (No appropriate extension)
  11. FGD (.fgd)
  12. VBSP (.vbsp)

Limitations

Warning.pngWarning:N++ detects languages based on file extensions,
  1. REDIRECT Template:ClassicConfirm
but in several cases the established one is simply .txt.
Note.pngNote: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.

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.

Tip.pngTip:Use Ctrl+F6 to execute the previous command again.

See Also

References

<references> <ref name="rn684">https://notepad-plus-plus.org/downloads/v6.8.4.html</ref> </references>

ViewDiscussEdit template Source Third Party Source SDK tools
Mod tools DuctTape • VIDE VIDEXBLAH's Modding Tool XBLAH's Modding Tool
Map editors Hammer++ Hammer++
Map compilers Batch Compile Tool Batch Compile Tool • Batch Compiler Batch Compiler • Compile Pal Compile Pal • CSTBSP • CSTRAD • CSTVIS • Hazard Team Compile Tool Hazard Team Compile Tool • VBSP_h4xed
Map converters BSPSource BSPSource • 005 Decompiler 005 DecompilerMapFool • VMEX
Map tools AutoBSPpackingTool • BSP Viewer → Crafty • EntEd • Entspy • Map Analyst • Material Enumerator • Map Obfuscator • Pakrat • Source Compile Analyzer • TAR • TeamSpen's Hammer Addons TeamSpen's Hammer Addons • Vgroup • WinBSPZip
Model compilers GUIStudioMDL • Source Model Compiler
Model converters Crowbar Crowbar • FireSoft Half-Life MDL Converter • FireSoft MS3D to SMD converter • MDLDecompiler • Propper • Studiocompiler • VMF to SMD
Model tools 3Dcoat • 3DS Max • Blender Blender • Cinema 4D • fragMOTION • GMax • HLMV++ HLMV++ • kHED • Lightwave • Maya • MilkShape 3D • Modo • SourceOps • VSIF2VCD • Wings3D • XSI Mod Tool • Zbrush
Displacement tools DispGen • Twister • Worldmachine
Particle converters Sparc
Texture converters 360g • FixVTF • no_vtf • TGAtoDUDV • VTF Creator • VTFVer
Texture tools Adobe Photoshop Adobe PhotoshopGIMP GIMP • HL2Tex • Sign Maker • Sky Writer • Source model skin editor • Terragen • VMT Editor • VTF Explorer • VTF Shell Extensions • VTFCmd • VTFEdit VTFEditVTFEdit Reloaded VTFEdit Reloaded • VTFTool
Sound tools L4D2 Sound Mod Creator
VPK tools GCFScape GCFScape • Gibbed’s VPK Extractor • Source 2 Viewer Source 2 Viewer • VPKEdit VPKEdit
Libraries AVIKit • HLLib • VectorLib • VTFLib • VPKEdit VPKEdit
Plugins 3DSMax tools • 3DSMax VTF • Blender Source Tools Blender Source Tools • Blender VertexLitGeneric • MESA • Notepad++ VDF languages • Photoshop VTF • SourceIO • SourceMod • Wall Worm Model Tools
Other BEE2 • CtxConverter • Custom Compiler GUI • sis_ico.png Source Icon Set • Source SDK Windows Gadget • SteamCMDui • VGUI Localization Tool • VirtualDub