Template:TextFile/doc: Difference between revisions
Jump to navigation
Jump to search
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.
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.
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.
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.
(Created page with "{{Doc/subpage}} == Usage == === Default appearance === {{TextFile}} === File name specified === {{TextFile|txt}} === FGD file === {{TextFile|fgd}}") |
(Added VMF.) |
||
Line 6: | Line 6: | ||
=== File name specified === | === File name specified === | ||
{{TextFile|txt}} | {{TextFile|txt}} | ||
=== VMF file === | |||
{{TextFile|fgd}} | |||
=== FGD file === | === FGD file === | ||
{{TextFile|fgd}} | {{TextFile|fgd}} |
Revision as of 00:46, 8 January 2025

This is a documentation subpage for Template:TextFile.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
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 Windows Notepad,Notepad++ or
Visual Studio Code, 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.

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 Windows Notepad,Notepad++ or
Visual Studio Code, 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.

VMF 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 Windows Notepad,Notepad++ or
Visual Studio Code, 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 (Example for HL:S).

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 Windows Notepad,Notepad++ or
Visual Studio Code, 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 (Example for HL:S).
