From Valve Developer Community
Jump to navigation
Jump to search
This article or section needs to be cleaned up to conform to a higher standard of quality because:Modernize, and make more generic
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.

Available doc translations
…
English
Usage
Default appearance
- This is a text file used internally by a Valve Software technology, such as
GoldSrc,
Source, and/or
Source 2 engine.
To save this to a file, copy the following text into a text editor such as
Notepad++, and save it with "save as type" being "all files" and .{{{1}}} appended to the file name. Then open the file in the appropriate tool.
Tip:Select the beginning of the line (usually the "//" comment) by clicking it, scroll down then hold ⇧ Shift, and click at the end of the line to select all.
File name specified
- This is a text file used internally by a Valve Software technology, such as
GoldSrc,
Source, and/or
Source 2 engine.
To save this to a file, copy the following text into a text editor such as
Notepad++, and save it with "save as type" being "all files" and .txt appended to the file name. Then open the file in the appropriate tool.
Tip:Select the beginning of the line (usually the "//" comment) by clicking it, scroll down then hold ⇧ Shift, and click at the end of the line to select all.
VMF file
- This is a VMF (Valve Map Format) file used to store raw (pre-compiled) map data, used by map editors (such as Hammer).
To save a VMF file and use it on map editor, copy the following text into a text editor such as
Notepad++, and save it with "save as type" being "all files" and .vmf} appended to the file name. Then open your map editor, in this case, Valve Hammer Editor, go to File > Open..., then select the .vmf file. In Hammer++, you can also drag & drop the .vmf file into a window and Hammer++ will automatically open them.
Tip:Select the beginning of the line (usually the "//" comment) by clicking it, scroll down then hold ⇧ Shift, and click at the end of the line to select all.
FGD file
- This is a FGD (Forge Game Data) file used to define all of the entities of a game for a map editor (such as Hammer).
To add a FGD file to the map editor, copy the following text into a text editor such as
Notepad++, and save it with "save as type" being "all files" and .fgd appended to the file name. Then open your map editor and add the FGD to your game configuration.
Tip:Select the beginning of the line (usually the "//" comment) by clicking it, scroll down then hold ⇧ Shift, and click at the end of the line to select all.
- This is a text file used internally by a Valve Software technology, such as
GoldSrc,
Source, and/or
Source 2 engine.
To save this to a file, copy the following text into a text editor such as
Notepad++, and save it with "save as type" being "all files" and .{{{1}}} appended to the file name. Then open the file in the appropriate tool.
Tip:Select the beginning of the line (usually the "//" comment) by clicking it, scroll down then hold ⇧ Shift, and click at the end of the line to select all.