VTEST: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{lang|title=.vtest|vtest}}
{{lang|title=.vtest|vtest}}
'''.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 7: Line 7:


Several working examples of testscripts can be found in the leaked -4 build of Half-Life 2.
Several working examples of testscripts can be found in the leaked -4 build of Half-Life 2.
==See also==
 
*[[CFG]]
[[Category:Source]]
[[Category:Glossary]]
 
{{stub}}

Revision as of 00:01, 8 April 2023

English (en)Translate (Translate)

.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.