Project Zomboid

Project Zomboid

Chat GTP and superb survivors? anyone able to do this?
Extract NPC dialogue from Project Zomboid: To generate conversations with Project Zomboid's NPCs, you would first need to extract their dialogue from the game files. This would likely require some programming knowledge and experience working with the game's files.

Format the dialogue for use with Chat GPT: Once you have extracted the NPC dialogue, you would need to format it in a way that Chat GPT can understand. This might involve converting the dialogue to a specific file format or writing a script to preprocess the data.

Train a Chat GPT model on the NPC dialogue: Using the formatted NPC dialogue, you would then need to train a Chat GPT model to generate responses based on the NPC's dialogue. This would require some knowledge of machine learning and natural language processing, as well as access to appropriate tools and resources.

Integrate the Chat GPT model into Project Zomboid: Once the Chat GPT model has been trained, you would need to integrate it into Project Zomboid's code so that it can generate responses based on the NPC dialogue in real time. This would likely involve modifying the game's source code and working closely with the game's developers.
< >
Showing 1-2 of 2 comments
Hawtpockets May 10, 2023 @ 12:56pm 
The current predicament afflicting a number of games already harnessing this eldritch ability is their dependence on an OpenAI API key, which comes with a price tag. Which in turn falls upon every individual as a personal recurring debt since output is converted and paid in tokens.

Theoretically sound on parchment, yet in actuality, the cost in tokens/money increases with every word spoken by the participant.
BanDHMO May 10, 2023 @ 1:29pm 
Exactly as Hawtpockets said. Most players probably wouldn't be willing to pay for AI just to chat with some random NPCs.

The other thing to realize is that while AI can make the NPC talk convincingly, it can't make the game support features needed to interact with that NPC in ways the dialog suggests.

For example, Player(P), Sick Survivor(S).

P: You seem ill. Can I help?
S: Yes, thank you, stranger. I'm not bitten or anything, don't worry. I've been sick before the world went to ♥♥♥♥. Now my medication has run out and the symptoms have been getting worse. I don't know what will happen if I don't find more.
P: I've been around. I can keep an eye out for you if you want.
S: You'd do that? Thank you! I need Epipens. As many as you can find. I have some supplies stashed away. I'll trade you some good stuff for them if you bring me some.

Cool quest talk, thanks ChatGPT, but now what? Epipens do not exist in the game. There's no mechanism to trade them for "good stuff" even if they did. That's all mechanics that need to be programmed. Without them it's just a cute chat about nothing.

What's worse, suppose a quest mechanic did exist, and instead of an old boring "select this menu item to trigger canned dialog and launch the quest" you went with NPCs that everybody is supposed to chat with via AI. Well, the AI doesn't have a goal to guide the player to trigger that quest. It's just trying to have a convincing conversation and answer questions. The player will end up talking about the weather and zombies sucking and how sad it is that the world is over, and would never find out that the quest exists, meaning the effort put into the quest is wasted. So now you have to not only program AI to chat convincingly, you also need to program it to try to nudge the player towards the available quests, which complicates it even more.

Not saying it can't be done, but there sure are hurdles to jump before this can be a reality.
Last edited by BanDHMO; May 10, 2023 @ 1:29pm
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: May 10, 2023 @ 11:46am
Posts: 2