The project aims to enhance the player experience in modern open-world video games by enabling open and unbound conversations with non-playable characters (NPCs) using natural language processing (NLP). Developers can program each NPC with a biography, which enables the conversation to follow the personality traits of the NPC. This project is developed using Python and Unity.
To run the project, you will need to have the following tools installed:
- Docker
- Git
- Git LFS
- Unity 2021.3 or later
To install and run the project locally, follow these steps:
- Clone the repository using Git and Git LFS by running the following command in a terminal or command prompt:
git clone https://github.com/Himidiri/MergeX.git
- Open a terminal or command prompt and run the following command to download and run the backend container:
docker run -p 5000:5000 ghcr.io/himidiri/mergex/backend:latest
- Open another terminal or command prompt and run the following command to download and run the AI model container:
docker run -p 5001:5000 ghcr.io/himidiri/mergex/mergex-ai:latest
- Open the Unity project in Unity 2021.3 or later.
- Navigate to the
NPCResponse.cs
script in the project hierarchy and update theapiEndpoint
variable to the IP address and port of the backend API endpoint. - Run the Unity project in the Unity Editor or build and run the game.
- Interact with the NPCs in the game to engage in open and unbound conversations using the NLP-powered AI.
This project was developed by CodeRaiders as part of Software Development Group Project at University of Westminster.
This project is licensed under the Common Development and Distribution License (CDDL-1.0).