Từ Valve Developer Community
Bước tới điều hướng
Bước tới tìm kiếm
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.

Available doc translations
…
Tiếng ViệtThe
Template:TextFile/doc/vi documentation page does not exist.
English documentation will be displayed instead, which you can translate using Google Translate (or similar software). If there is nothing after this message, most likely the documentation does not exist even in English.
This template uses a strings subpagePlease follow the format on this subpage(s) to add translations.
Usage
Default appearance
- Đây là tệp văn bản được sử dựng trong công nghệ trò chơi của Valve Software, như là
GoldSrc,
Source, và/hoặc
Công nghệ Source 2.
Để 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,
Notepad++ hoặc
Visual Studio Code, và lưu nó dưới dạng "Tất cả tệp" (All Files) và thêm .{{{1}}} vào cuối tên tệp. Sau đó mở tệp bằng công cụ thích hợp.
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.
File name specified
- Đây là tệp văn bản được sử dựng trong công nghệ trò chơi của Valve Software, như là
GoldSrc,
Source, và/hoặc
Công nghệ Source 2.
Để 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,
Notepad++ hoặc
Visual Studio Code, và lưu nó dưới dạng "Tất cả tệp" (All Files) và thêm .txt vào cuối tên tệp. Sau đó mở tệp bằng công cụ thích hợp.
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.
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 RAD 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.
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.
FGD file
- Đây là tệp FGD (Forge Game Data) được sử dụng để xác định tất cả các thực thể của một trò chơi dành cho phần mềm chỉnh sửa bản đồ (như là Hammer).
Để thêm tệp FGD vào phần mềm chỉnh sửa bản đồ, sao chép văn bản sau vào trình soạn thảo văn bản như là Windows Notepad,
Notepad++ hoặc
Visual Studio Code, và lưu nó dưới dạng "Tất cả tệp" (All Files) và thêm .fgd vào cuối tên tệp. Sau đó mở nó trên phần mềm chỉnh sửa bản đồ, rồi thêm tệp FGD vào cấu hình trò chơi của bạn (Ví dụ cho HL:S).
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.
VMF file
- Đây là tệp VMF (Valve Map Format) được sử dụng để lưu trữ dữ liệu bản đồ thô (trước khi biên dịch), sử dụng bởi phần mềm chỉnh sửa bản đồ (như là Hammer).
Để lưu nó vào tệp VMF, sao chép văn bản sau vào trình soạn thảo văn bản như là Windows Notepad,
Notepad++ hoặc
Visual Studio Code, và lưu nó dưới dạng "Tất cả tệp" (All Files) và thêm .vmf vào cuối tên tệp. Sau đó mở nó trên phần mềm chỉnh sửa bản đồ, như là Valve Hammer Editor. Ở trên Valve Hammer Editor, truy cập vào File > Open..., rồi chọn tệp .vmf đó để mở tệp bản đồ thô. Trên Hammer++, bạn có thể giữ & thả tệp .vmf vào cửa sổ Hammer++ và Hammer++ sẽ tự động mở nó.
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.
- Đây là tệp văn bản được sử dựng trong công nghệ trò chơi của Valve Software, như là
GoldSrc,
Source, và/hoặc
Công nghệ Source 2.
Để 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,
Notepad++ hoặc
Visual Studio Code, và lưu nó dưới dạng "Tất cả tệp" (All Files) và thêm .{{{1}}} vào cuối tên tệp. Sau đó mở tệp bằng công cụ thích hợp.
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.