Template:TextFile: 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.
mNo edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
<onlyinclude><!-- | <onlyinclude><!-- | ||
-->{{#switch: {{{1}}} | -->{{#switch: {{{1}}} | ||
|#default=:This is a text file used internally by a {{valve|1|nt=1}} technology, such as {{gsrc|2}}, {{src|2}}, and/or {{src2|2|nt=1}}.<br>To | |#default=:This is a text file used internally by a {{valve|1|nt=1}} technology, such as {{gsrc|2}}, {{src|2}}, and/or {{src2|2|nt=1}}.<br>To save this to a file, copy the following text into a text editor such as {{npp|2}}, and save it with "save as type" being "all files" and {{code|.{{{1}}}}} appended to the file name. Then open the file in the appropriate tool. | ||
|fgd=:This is a [[FGD]] (Forge Game Data) file used to define all of the [[entity|entities]] of a game for a map editor (such as {{hammer|1}}).<br>To add a FGD file to the map editor, copy the following text into a text editor such as {{npp|2}}, and save it with "save as type" being "all files" and {{code|.{{{1}}}}} appended to the file name. Then open your map editor, in this case, '''Valve Hammer Editor''', go to | |vmf=:This is a [[VMF]] (Valve Map Format) file used to stores raw (pre-compile) map data, used by map editors (such as {{hammer|1}}).<br>To save a VMF file and use it on map editor, copy the following text into a text editor such as {{npp|2}}, and save it with "save as type" being "all files" and {{code|.{{{1}}}}} appended to the file name. Then open your map editor, in this case, '''Valve Hammer Editor''', go to File > Open..., then select the {{code|.vmf}} file. In {{hammer++|1.bold}}, you can also drag & drop the .vmf file into a window and Hammer++ will automatically open them. | ||
|fgd=:This is a [[FGD]] (Forge Game Data) file used to define all of the [[entity|entities]] of a game for a map editor (such as {{hammer|1}}).<br>To add a FGD file to the map editor, copy the following text into a text editor such as {{npp|2}}, and save it with "save as type" being "all files" and {{code|.{{{1}}}}} appended to the file name. Then open your map editor, in this case, '''Valve Hammer Editor''', go to File > Open, and add the FGD file on Game Data Files. | |||
}} | }} | ||
{{Tip|Select the beginning of the line (usually the "//" comment) by clicking it, scroll down then hold {{key|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 {{key|Shift}}, and click at the end of the line to select all.}} |
Revision as of 00:46, 8 January 2025

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.The above documentation is transcluded from Template:TextFile/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
- 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 asNotepad++, 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.
