Discuss Scratch
- Discussion Forums
- » Project Ideas
- » "AI" RPG Characters?
- Scratchthatguys
- Scratcher
59 posts
"AI" RPG Characters?
I want to create an RPG game where characters have “usernames” that make them seem like real characters. It will most likely also have real multiplayer, too. It'll have a cloud list (if that's possible) that stores possible things to say. It would store greetings, responses, and miscellaneous sayings. It'll take what the player says and store it in its respective list, and then pick a number from 1 to the amount of items in the list. It'll then say that one, and store it in a cloud variable. It'll show it (maybe) to all players who are playing, and if the player it's “talking” to responds with “What?” or “Huh?” or some other “negative” reply, it will delete that one and restart the process. Who would like to see this idea actually created?
- Death_Piggies
- Scratcher
12 posts
"AI" RPG Characters?
Wow, that sounds cool! I would LOVE to see this! Only thing is, unless I've misunderstood, there might be an abuse of this system, and things could get very ugly very quickly. But it seems like an awesome idea. Just remember that not everyone is as well-intentioned as you and I.
- Scratchthatguys
- Scratcher
59 posts
"AI" RPG Characters?
I'll use some type of script to check if the message has a bad word in it, and if it does it won't register it.
Last edited by Scratchthatguys (June 7, 2013 21:07:02)
- annabel_nied
- Scratcher
3 posts
"AI" RPG Characters?
To Scratchthatguys:
To make sure that it doesn't say any bad words you are going to need to know all of the bad words. Don't let your parents catch you making the list of words to filter out, they'll kill you. And seriously, I know.
To make sure that it doesn't say any bad words you are going to need to know all of the bad words. Don't let your parents catch you making the list of words to filter out, they'll kill you. And seriously, I know.
- minecrafter81
- Scratcher
23 posts
"AI" RPG Characters?
Well, I think you should do this-
For a plain walking=
For enemy-
Sorry if this doesn't look how I want it to, that would be bad, , Hope It helps!
For a plain walking=
when green flag clicked
forever
if <(pick random (1) to (2)) = [1]> then
repeat (10)
move (pick random (-1) to (-1)) steps
end
wait (pick random (1) to (5)) secs
end
end
For enemy-
when green flag clicked
forever
repeat (10)
move (5) steps
end
repeat (10)
move (-10) steps
end
if (distance to [ v]) then
point towards [ v]
move (5) steps
end
end
Sorry if this doesn't look how I want it to, that would be bad, , Hope It helps!
- kmissioneer
- Scratcher
67 posts
"AI" RPG Characters?
the problem is that you can't do that, because that means that the words are in your script, which scratch does NOT allow. You would have to use a list of premade possible comments, that you can choose from to say. This is why scratch does not allow chat room, unless they are safe chats, like in @griffpatch 's 3d laser tag game. I'll use some type of script to check if the message has a bad word in it, and if it does it won't register it.
1 Corinthians 13:1-3 (The Message)
1 If I speak with human eloquence and angelic ecstasy but don't love, I'm nothing but the creaking of a rusty gate. 2 If I speak God's Word with power, revealing all his mysteries and making everything plain as day, and if I have faith that says to a mountain, “Jump,” and it jumps, but I don't love, I'm nothing. 3 If I give everything I own to the poor and even go to the stake to be burned as a martyr, but I don't love, I've gotten nowhere. So, no matter what I say, what I believe, and what I do, I'm bankrupt without love.
- Random306
- Scratcher
100+ posts
"AI" RPG Characters?
That sounds like a good idea, u can use safe chat by mcanimator3D and his multiplayer and make characters and stuff, it could work!
- Znapi
- Scratcher
500+ posts
"AI" RPG Characters?
I can't wait to see yours. I am making an MMORPG too, with AIs because I needed a way for there to be always something to do and to keep resources from running out. The multiplayer and safe chat is done, just have to work on the game engine.
- pigtatoking
- Scratcher
1 post
"AI" RPG Characters?
you`re not allowed to do chat using cloud variables, any projects with it will be removed
- Discussion Forums
- » Project Ideas
- » "AI" RPG Characters?