Modding > Spelunky 2 > Talking Cavemen


AI generated dialogs of cavemen
By:
SereneRuby12
Downloads:
295
Mod Type:
Script
Install Code:
talking-cavemen
Added:
5 years, 2 months ago
Last Update:
5 years, 1 month ago
Average Rating:

Details


** ⚠ Warning: the AI might generate NSFW content sometimes ⚠ **

Also, This is an unsafe script, it needs to run a cmd with luajit to get the dialogs from DeepAi, and it needs writing and reading permissons for communicating with luajit via files to get the dialogs

🧰 Requirements

You need to download this and extract it anywhere

After that, you have to specify the folder location of it on the mod settings
(The zip includes luajit, luasocket and a script, the binaries are from luapower)
Also, you need to have a account of DeepAI, or use the default key, but it only gives you a few dialogs.
If you register you get 10.000 free requests.
You can use Overlunky or Playlunky
Pressing the start button opens a cmd with luajit that generates the dialogs when the script needs them.

ℹ Details

Basically, this uses DeepAI api to generate dialogs, and then display them in the game.
Also, you can edit the initial text that is sent to the AI if you want, you can edit startText and shortStartText in the file deepAiRequest, it is located in the luajit folder you have to download.

🗒 Notes

If you want to look at the code, you can see that luajit and Spelunky script communicate trough files, that isn't the most effective way, a better way would be like how Speech to text mod did with luasocket.
DeepAi text generation api website: https://deepai.org/machine-learning-model/text-generator

Downloads


Latest Download
Downloads Name Uploaded
293 main.lua 5 years, 2 months ago

Preview Images


Comments (6)


Please log in to leave a comment.

4 years, 10 months ago

@msawesome0127 try changing the "\" to "/" or "\\"

4 years, 10 months ago

I keep getting "invalid escape sequence near "C:\U'

5 years ago

the language of the moon

5 years, 1 month ago

thank you so much

5 years, 1 month ago

@TheHeict If you are using Spelunky 1.23.3 then you should wait until new playlunky version with script support is released, or roll back to Spelunky 1.21.0c and use playlunky 0.9.3 or 0.9.2

5 years, 1 month ago

How can I run it, because it's not letting me?