Template:TextFile/strings: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:


| Default = {{#switch: {{intlang}}
| Default = {{#switch: {{intlang}}
| #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 Windows Notepad, {{npp|2}} or {{vscode|2}}, and save it with "save as type" being "all files" and {{code|.{{{1|undefined}}}}} 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 save this to a file, copy the following text into a text editor such as Windows Notepad, {{npp|2}} or {{vscode|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.
| vi = Đây là tệp văn bản được sử dựng trong công nghệ trò chơi của {{valve|1|nt=1}}, như là {{gsrc|2}}, {{src|2}}, và/hoặc {{src2|2|nt=1}}.<br>Để lưu nó vào một cái tệp, sao chép văn bản sau vào trình soạn thảo văn bản như là Windows Notepad, {{npp|2}} hoặc {{vscode|2}}, và lưu nó dưới dạng "Tất cả tệp" (All Files) và thêm {{code|.{{{1|undefined}}}}} vào cuối tên tệp. Sau đó mở tệp bằng công cụ thích hợp.
| vi = Đây là tệp văn bản được sử dựng trong công nghệ trò chơi của {{valve|1|nt=1}}, như là {{gsrc|2}}, {{src|2}}, và/hoặc {{src2|2|nt=1}}.<br>Để lưu nó vào một cái tệp, sao chép văn bản sau vào trình soạn thảo văn bản như là Windows Notepad, {{npp|2}} hoặc {{vscode|2}}, và lưu nó dưới dạng "Tất cả tệp" (All Files) và thêm {{code|.{{{1}}}}} vào cuối tên tệp. Sau đó mở tệp bằng công cụ thích hợp.
}}
}}



Revision as of 07:14, 26 July 2025

English (en)Tiếng Việt (vi)
Icon-settings.png
Subpage of strings
It contains various translatable and untranslatable strings that are used in the template or anywhere else.
To preview translated strings, select languages on the top right bar.
Icon-gnome-document-open.pngDocumentation
Number of strings:4
Approximate status of translation:English (en) 100% Tiếng Việt (vi) 75% 


  • Default (Generic): 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 save this to a file, copy the following text into a text editor such as Windows Notepad, Notepad++ Notepad++ or Visual Studio Code 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.
  • FGD (Forge Game Data) 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++ Notepad++ or Visual Studio Code 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).
  • RAD File: This is a RAD file, that can be used to manipulate the way QRAD, HLRAD, and VRAD handle given brush textures when compiling static lighting. In Source, this can be also used to forcing props to cast texture shadows.
    To add a FGD file to the map editor, copy the following text into a text editor such as Windows Notepad, Notepad++ Notepad++ or Visual Studio Code Visual Studio Code, and save it with "save as type" being "all files" and .rad appended to the file name.
  • VMF (Valve Map 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 Windows Notepad, Notepad++ Notepad++ or Visual Studio Code Visual Studio Code, 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.