Playtest manager: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Unimplemented entity found in the Portal 2 PeTI Workshop instance global_pti_ents.vmf)
 
(Added some links to other pages + Added to Obsolete Category)
Line 1: Line 1:
{{obsolete|entity=1}}
{{obsolete|entity=1}}
{{ent not in fgd}}
{{ent not in fgd}}
<code>playtest_manager</code> is an unimplemented entity found in the [[Portal 2]] PeTI Workshop instance (global_pti_ents.vmf).
<code>playtest_manager</code> is an unimplemented entity found in the {{portal2|3.1}} 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).
Based on the entity's name and the [[input]]s used in the instance, we can guess this entity may have been used for recording [[demo]]s 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 ==
== Usage in global_pti_ents.vmf ==
In the instance, this entity has [[targetname]] '''@playtest''' and has three inputs:
In the instance, this entity has [[targetname]] '''@playtest''' and has three inputs:
  logic_auto                        : OnMapSpawn : StartRecording
  [[logic_auto]]                       : OnMapSpawn : StartRecording
  logic_auto                        : OnMapLoad  : StartRecording
  logic_auto                        : OnMapLoad  : StartRecording
  logic_relay(@relay_pti_level_end) : OnTrigger  : StopRecording
  [[logic_relay]](@relay_pti_level_end) : OnTrigger  : StopRecording
The relay '''@relay_pti_level_end''' is triggered by a [[func_instance_io_proxy]]
The relay '''@relay_pti_level_end''' is triggered by a [[func_instance_io_proxy]]


Line 30: Line 30:
  input StopRecording(void) : "Stop recording playtest"
  input StopRecording(void) : "Stop recording playtest"
  ]
  ]
[[Category:Obsolete Entities]]

Revision as of 19:18, 26 May 2024

Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
Icon-NotInFGD.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>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

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"
]