Point survey: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "{{ent not in game}} {{entity|point_survey|type=e0|game=Portal 2|cut=1}} The entity would display a survey on the player's screen based on a script from the folder <code>portal...")
 
m (fix: clarify reason entity was removed)
Line 2: Line 2:
{{entity|point_survey|type=e0|game=Portal 2|cut=1}} The entity would display a survey on the player's screen based on a script from the folder <code>portal2/scripts/surveys/</code>, and fire an output when it is completed. The survey results were written to a CSV file in the same folder, and the game would also attempt to upload them to a mounted network drive, failing and outputting a console message if said network drive is not present. Presumably, this entity was used during Portal 2's development to get feedback from playtesters.
{{entity|point_survey|type=e0|game=Portal 2|cut=1}} The entity would display a survey on the player's screen based on a script from the folder <code>portal2/scripts/surveys/</code>, and fire an output when it is completed. The survey results were written to a CSV file in the same folder, and the game would also attempt to upload them to a mounted network drive, failing and outputting a console message if said network drive is not present. Presumably, this entity was used during Portal 2's development to get feedback from playtesters.


This entity was still present in the game at launch, but in a March 2023 update (nearly 12 years after Portal 2's release), the entity was removed for unknown reasons.
This entity was still present in the game at launch, but in a March 2023 update (nearly 12 years after Portal 2's release), the entity was removed to fix a security vulnerability.


== Keyvalues ==
== Keyvalues ==

Revision as of 22:57, 15 July 2023

Info-red.png
This entity is not in the game by default, but got left over in the FGD.
This feature is not available anymore.

Template:Entity The entity would display a survey on the player's screen based on a script from the folder portal2/scripts/surveys/, and fire an output when it is completed. The survey results were written to a CSV file in the same folder, and the game would also attempt to upload them to a mounted network drive, failing and outputting a console message if said network drive is not present. Presumably, this entity was used during Portal 2's development to get feedback from playtesters.

This entity was still present in the game at launch, but in a March 2023 update (nearly 12 years after Portal 2's release), the entity was removed to fix a security vulnerability.

Keyvalues

Survey Script Name (surveyname) <string>
Name of a survey keyvalues file, from the 'scripts/surveys' folder.


Inputs

ShowSurvey
Displays the survey.


Outputs

OnSurveyComplete
Fired when the player completes or cancels the survey.