Difference between revisions of "Vtest"

From Valve Developer Community
Jump to: navigation, search
Line 1: Line 1:
{{DISPLAYTITLE:.vtest}}
+
{{otherlang2
 +
|DISPLAYTITLE:.vtest
 +
|pl=Line_of_sight:pl
 +
}}
 
'''.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]].
  

Revision as of 22:20, 15 October 2019

Polski

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

See also