Template:TextFile/strings: Difference between revisions
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 | | #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 | ||
| 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 {{ | | 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 | ||
}} | |||
| Default2 = {{#switch: {{intlang}}<!-- workaround --> | |||
| #default = appended to the file name. Then open the file in the appropriate tool. | |||
| vi = vào cuối tên tệp. Sau đó mở tệp bằng công cụ thích hợp. | |||
}} | }} | ||
Line 35: | Line 40: | ||
</includeonly> | </includeonly> | ||
*Default (Generic): {{{{FULLPAGENAME}}|2=Default}} | *Default (Generic): {{{{FULLPAGENAME}}|2=Default}} {{code|.txt}} {{{{FULLPAGENAME}}|2=Default2}} | ||
*[[FGD|FGD (Forge Game Data) File]]: {{{{FULLPAGENAME}}|2=FGD}} | *[[FGD|FGD (Forge Game Data) File]]: {{{{FULLPAGENAME}}|2=FGD}} | ||
*[[RAD file|RAD File]]: {{{{FULLPAGENAME}}|2=RAD}} | *[[RAD file|RAD File]]: {{{{FULLPAGENAME}}|2=RAD}} | ||
*[[VMF|VMF (Valve Map File)]]: {{{{FULLPAGENAME}}|2=VMF}} | *[[VMF|VMF (Valve Map File)]]: {{{{FULLPAGENAME}}|2=VMF}} |
Revision as of 07:16, 26 July 2025
Number of strings:4
Approximate status of translation:
100%
75%
Approximate status of translation:


- Default (Generic): 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.
- 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++ 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).
- 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++ or
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++ or
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.