NPC AI (Warning: im very rude man)

So I set up a huge 700 line module to handle crime detection and NPC dialog, here’s my full result so far:


(btw map is Insanity_Lunar’s, he’s still workin’ on it)

Update: Just made NPCs have a randomized questions system, and now they do emotes through the dialog itself

Here’s a quick example of just one test set of the NPC’s dialog before it gets sent to the module

57 Likes

This looks like some kind of GTA 5 conversation but even better! Your effort on this is cool even the walking and the whole city you have made.

11 Likes

It’s very nice. I like the stuff that you did here. Keep up the great work my fellow Robloxains!!!

3 Likes

Bro, so cool tho, i want to see games with this things in future. Good luck!

2 Likes

Thats sick! Keep this project going as its looking great! I thought you were talking to another real person for a couple seconds lol.

2 Likes

That’s actually hilarious! Great work dude!

3 Likes

Very funny but it could get you banned.

1 Like

(And I took it personal…) Great work dude, given some life to the AI really does motivate for more dialogue between Players-NPCs.

1 Like

As long as you filter the text coming through I dont see this as an issue.

Although, this is a very good concept and like someone else said it reminds me of GTAV.

2 Likes

Awesome u really do it very good!

1 Like

This is awesome, without a doubt. I really like the system.

1 Like

what’s neat is that the bot understands what you’re saying, but i think what the bot actually does needs work.

instead of just going all caps and chatting a paragraph (end of second video), i think the bot should start doing things like getting physical. it should use short, articulated phrases or chats instead of things like that. also, it needs an idle animation, and should maybe slow down to a stop when it stops walking, and vice versa.

1 Like

I immediately thought this was inspired by GTA 5 it looks so similar!

This looks very good, I know we’re supposed to give feedback on the NPC but I can’t help but admire the build and lighting. Everything works great together you did a very nice job! :123:

1 Like

Yooooo what? How did u do this? Is it using the that- what was that called, the yeah machine learning? :thinking:

This is so nice lmao, paired with the great builds and lighting it looks awesome.

btw nice lil camera shake u got there

im planning to do that but i have to try and create a way to split messages at will first, since i send a huge dictionary of dialog from the NPC first then it formats whatever’s in it

also they do slow down and stop, however i screwed that value up for certain responses. I set up a function that allows me to set whether they should look at you or not, and whether they should stop or not. However, i excluded it for both on certain responses for some reason, i’ll get to fixing later

Brilliant! Truly brilliant! Can you make a rude npc now? Also can npcs talk to each other?

rude npc and plenty of other personalities will come after i add every feature i can (like expanding upon the friendship system/reputation system, a few more bits of dialog differentiating assault from murder, dialog for complimenting/being scared of tool you’re holding, etc)

as for npcs talking to each other… well, they wave at each other but thats about it. Maybe I can get them to talk to each other somehow, idk how with the way i have it set up (as in how am i gonna make an npc read a message from another npc) but i can try

I actually try to write the NPC dialog and prompts ingame to check if they’re filtered to make sure its usable, and yes whatever you send does get filtered so if a prompt is filtered, the npc cannot read it anyway

1 Like

The whole city is made by Insanity_Lunar, he’s my map and prop builder

Also, I’d say the conversation system is more comparable to Facade than GTA V, since Facade requires you to type to talk to them

1 Like

Well do I got a surprise for you; I just did that, here’s some new footage: (DO NOT MIND AI BUMPING INTO WALLS MY PATROL SYSTEM KINDA DUM)

SPOILER: BLOOD IS ENABLED

2 Likes