Playtest manager

From Valve Developer Community
Jump to: navigation, search
Obsolete-notext.png
This entity is Obsolete. Its use is discouraged, and it may only exist/function in older engine branches.
Info.png
This entity is not in the FGD by default .
See below for instructions on making it available.

playtest_manager is an unimplemented entity found in the Portal 2 PeTI Workshop instance (global_pti_ents.vmf).

Based on the entity's name and the inputs used in the instance, we can guess this entity may have been used for recording demos of the player while they played workshop maps. After the player finishes the map, these could have potentially been sent to the map creator as playtest data (possibly through other inputs, or automatically).

Usage in global_pti_ents.vmf

In the instance, this entity has targetname @playtest and has three inputs:

logic_auto                        : OnMapSpawn : StartRecording
logic_auto                        : OnMapLoad  : StartRecording
logic_relay(@relay_pti_level_end) : OnTrigger  : StopRecording

The relay @relay_pti_level_end is triggered by a func_instance_io_proxy

Keyvalues

Name (targetname) <string>
The targetname that other entities refer to this entity by.

Inputs

StartRecording
Start recording playtest
StopRecording
Stop recording playtest

FGD Code

Sourced from TeamSpen's Hammer Addons FGD's, and from it's usage in the PeTI Workshop instance.

@PointClass = playtest_manager : 
	"Marker (?) entity found in the PeTI Workshop instance. Isn't implemented in the engine."
[
	targetname(target_source) : "Name" : : "The name that other entities refer to this entity by."
		
	// Inputs
	input StartRecording(void) : "Start recording playtest"
	input StopRecording(void) : "Stop recording playtest"
]