VTEST: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Moved categories from subpage)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
'''.vtest''' is a format of Source Engine test scripts. It is the same as [[.cfg]].
'''.vtest''' is a format of Source Engine test scripts. It is the same as [[CFG]].


They can be used to run in-game tests or to automate processes without using .cfg files.
They can be used to run in-game tests or to automate processes without using .cfg files.
Line 9: Line 9:
[[Category:File formats]]
[[Category:File formats]]
[[Category:Source]]
[[Category:Source]]
[[Category:Glossary]]


{{stub}}
{{stub}}

Latest revision as of 04:25, 6 January 2024

.vtest is a format of Source Engine test scripts. It is the same as CFG.

They can be used to run in-game tests or to automate processes without using .cfg files.

.vtest files must be placed in ModName\testscripts directory and can be runned by launching the engine with -testscript [filename] command line argument (with .vtest extension).

Several working examples of testscripts can be found in the leaked -4 build of Half-Life 2.

Stub

This article or section is a stub. You can help by expanding it.