Template:TextFile: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
|#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 open this 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.
|#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 open this 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 Tools > Options..., and add the FGD file on Game Data Files.
|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 Tools > Options..., 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.}}
}}
</onlyinclude>
</onlyinclude>


[[Category:Inline note templates]]
[[Category:Inline note templates]]

Revision as of 00:41, 8 January 2025

Broom icon.png
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.
English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.

Usage

Default appearance

This is a text file used internally by a Valve Software technology, such as GoldSrc GoldSrc, Source Source, and/or Source 2 Source 2 engine.
To open this file, copy the following text into a text editor such as Notepad++ 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.pngTip: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 GoldSrc, Source Source, and/or Source 2 Source 2 engine.
To open this file, copy the following text into a text editor such as Notepad++ 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.pngTip: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.


RAD file

This is a text file used internally by a Valve Software technology, such as GoldSrc GoldSrc, Source Source, and/or Source 2 Source 2 engine.
To open this file, copy the following text into a text editor such as Notepad++ Notepad++, and save it with "save as type" being "all files" and .rad appended to the file name. Then open the file in the appropriate tool.
Tip.pngTip: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++ Notepad++, and save it with "save as type" being "all files" and .fgd appended to the file name. Then open your map editor, in this case, Valve Hammer Editor, go to Tools > Options..., and add the FGD file on Game Data Files.
Tip.pngTip: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 text file used internally by a Valve Software technology, such as GoldSrc GoldSrc, Source Source, and/or Source 2 Source 2 engine.
To open this file, copy the following text into a text editor such as Notepad++ Notepad++, and save it with "save as type" being "all files" and .vmf appended to the file name. Then open the file in the appropriate tool.
Tip.pngTip: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 GoldSrc, Source Source, and/or Source 2 Source 2 engine.
To open this file, copy the following text into a text editor such as Notepad++ 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.pngTip: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.