Voice commands to facilitate in-game communication
A method, computer system, and computer program product for in-game voice commands is provided. The embodiment may capture a user-spoken communication. The embodiment may also convert the captured user-spoken communication to a text file. The embodiment may further determine an intent of the converted communication using natural language processing. The embodiment may also execute a preconfigured audio file corresponding to the determined intent.
1. A processor-implemented method for in-game voice commands, the method comprising:
capturing, by a processor, a user-spoken communication in a multiplayer video game peer-to-peer chat;
converting the captured user-spoken communication to a text file;
determining an intent of the converted communication using natural language processing;
selecting a preconfigured audio file from a list of preconfigured phrases associated with one or more user intents; and
in response to determining the determined intent relates to gameplay or facilitating in-game communication:
executing the preconfigured audio file of a prerecorded in-game character voice for a player character corresponding to the determined intent in place of the user-spoken communication; and
executing an in-game character animation corresponding to the determined intent, wherein the in-game character animation comprises a facial animation and a body animation.
2. The method of claim 1 , wherein the user-spoken communication is converted using speech-to-text software.
3. A computer system for in-game voice commands, the computer system comprising:
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage medium, and program instructions stored on at least one of the one or more tangible storage medium for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising:
capturing a user-spoken communication in a multiplayer video game peer-to-peer chat;
converting the captured user-spoken communication to a text file;
determining an intent of the converted communication using natural language processing;
selecting a preconfigured audio file from a list of preconfigured phrases associated with one or more user intents; and
in response to determining the determined intent relates to gameplay or facilitating in-game communication:
executing the preconfigured audio file of a prerecorded in-game character voice for a player character corresponding to the determined intent in place of the user-spoken communication; and
executing an in-game character animation corresponding to the determined intent, wherein the in-game character animation comprises a facial animation and a body animation.
4. The computer system of claim 3 , wherein the user-spoken communication is converted using speech-to-text software.
5. A computer program product for in-game voice commands, the computer program product comprising:
one or more computer-readable tangible storage medium and program instructions stored on at least one of the one or more tangible storage medium, the program instructions executable by a processor capable of performing a method, the method comprising:
capturing a user-spoken communication in a multiplayer video game peer-to-peer chat;
converting the captured user-spoken communication to a text file;
determining an intent of the converted communication using natural language processing;
selecting a preconfigured audio file from a list of preconfigured phrases associated with one or more user intents; and
in response to determining the determined intent relates to gameplay or facilitating in-game communication:
executing the preconfigured audio file of a prerecorded in-game character voice for a player character corresponding to the determined intent in place of the user-spoken communication; and
executing an in-game character animation corresponding to the determined intent, wherein the in-game character animation comprises a facial animation and a body animation.
6. The computer program product of claim 5 , wherein the user-spoken communication is converted using speech-to-text software.