How to Author the Chat Box in a simulation
Last updated
Last updated
A detailed explanation of controls and interface functions are described in the section State Machine Builder User Interface.
Within the edit Simulation section of the HyperSkill Desktop application, navigate to the State Machine tab.
Create a “Chatbox” state action and select the state to open up the details panel located on the right.
Select a Chatbox action from the dropdown provided.
a. Set Data allows the player to manipulate the avatar picture and voice of one of the NPCs.
i) “Is Player” designates if the data being set is the players.
ii) “Name” appears when Is Player is false and designates which NPC is changed.
iii) “Voice” allows the user to select from a subset of voices when a message is spoken.
iv)“Profile Picture” allows the user to select an image within their media library as a profile picture for the NPC. Pictures should be in a 1:1 aspect ratio to prevent any distortion.
b. Input Message allows the user to input a message that is shown to be spoken by a third party.
i) “Is Player” allows the user to designate if the message is implied to be spoken by the player or by a third party. ii) “Name” appears only when Is Player is false and designates the NPCs name. iii) “Message” is the message that the system will input into the chatbox. iv) “Speak” allows the user to control whether the system will use Text To Speech in combination with the text.
c. Input System Message allows the user to input a message that appears as a system message. i) “Speak” allows the user to control whether the system will use Text To Speech in combination with the text.
d. Open will open the chat box.
e. Close will close the chat box.