of     2   
chevron_rightchevron_rightchevron_right

nate890
#81040932Monday, October 29, 2012 12:10 AM GMT

I realize that a lot of games now days use npcs to add a larger variety of game-play. This being said, I went out and started creating an AI that's better than what's already out there. Not a lot of time went into developing it (a couple hours, most of that time went towards testing) at this stage so far, but more progress will be put towards it. You can test out the beta stage here: http://www.roblox.com/Officer-BLOX-Artificial-Intelligence-place?id=96337965 Should I release this to the public? What types of games would you guys make with smarter artificial intelligences?
smfv3
#81041082Monday, October 29, 2012 12:12 AM GMT

Lito has an amazing AI in one of his C.o.R. games. -------------------- http://www.roblox.com/Fog-Of-War-place?id=5307743 "Fog of War" -Smfv3
[rfa#hidefromsearch]
#81046005Monday, October 29, 2012 1:13 AM GMT

[rfa#hidefromsearch]
[rfa#hidefromsearch]
#81048280Monday, October 29, 2012 1:43 AM GMT

[rfa#hidefromsearch]
Walyn
Top 100 Poster
#81048396Monday, October 29, 2012 1:44 AM GMT

Great AI, I tried my hardest to make it fall or jump on my head, to no avail. Does it have a function/value object that allows it to go to a specific brick/humanoid? If so, there'd be so many ways to use this.
nate890
#81049352Monday, October 29, 2012 1:55 AM GMT

"Does it have a function/value object that allows it to go to a specific brick/humanoid? If so, there'd be so many ways to use this." No, but that wouldn't be hard to add, I'd just need to check if the terrain found is, for example, named "lava", and if so it would be avoided. Just like nil parts are avoided (the edges of the map where no parts exist to walk on.)
Walyn
Top 100 Poster
#81050598Monday, October 29, 2012 2:10 AM GMT

How does it check to see if there is a part there, and does it know when there is a part below/across a gap?
nate890
#81051596Monday, October 29, 2012 2:21 AM GMT

Raycasting determines whether the point is walkable or not, if not a new point is chosen to walk to. "does it know when there is a part below/across a gap?" No, and I don't think that this is something I'm too worried about adding, so if I do decide to implement something like that, it'll come later.
ninja5566
#81051813Monday, October 29, 2012 2:23 AM GMT

Walyn
Top 100 Poster
#81052239Monday, October 29, 2012 2:28 AM GMT

But the ability to know when a gap is able to be jumped or when it is safe to be jumped into is important. If not added, it would allow players that are being chased (if that was added too) to either jump into a hole or jump across a gap and stay safe. But this is already a step above hugging a wall, lol.
nate890
#81057466Monday, October 29, 2012 3:44 AM GMT

But in my mind not a lot of games would include gaps between parts. I guess I'll add this, but I'll need to touch some things up first.
nate890
#81058139Monday, October 29, 2012 3:57 AM GMT

I would imagine this AI looking cool in a role playing game.
StelthBloxxer
#81061028Monday, October 29, 2012 5:17 AM GMT

Really nice AI, but could you fix his path finding because he sometimes commits suicide by running off the cliff. Could you also make him have the ability to jump? And could he have the ability to pick up weapons and use them?
nate890
#81061323Monday, October 29, 2012 5:28 AM GMT

"could you fix his path finding because he sometimes commits suicide by running off the cliff." I'm working on it. You don't get this issue in solo mode. "Could you also make him have the ability to jump?" He can. "And could he have the ability to pick up weapons and use them?" Haven't gotten onto that yet.
nate890
#81069049Monday, October 29, 2012 1:20 PM GMT

Bump!
ninja5566
#81069116Monday, October 29, 2012 1:23 PM GMT

Did you see my zombie at all? I was really just focusing on the animations.
Candymaniac
#81069366Monday, October 29, 2012 1:32 PM GMT

I didn't go to the place as of yet, but if you want, I could help you make multi-levelled AIs. Meaning they could go up floors and down and such. Also, I've looked at litozinammon's AI scripts and trust me, they are horribly coded, and extremely limited. I've made an AI before, but it broke now. ☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞
nate890
#81076568Monday, October 29, 2012 5:01 PM GMT

I don't think litozinammon even made his. I could be wrong, though. "Did you see my zombie at all? I was really just focusing on the animations." Yeah, good job. My AI just focuses on intelligence more than looks. candymaniac, did your AI path find?
Candymaniac
#81076668Monday, October 29, 2012 5:04 PM GMT

Nope it just uses the normal zombie AI, but with added wall detection of which it would try and find an opening or corner to pass through, and it could detect 2 floors and automatically use the closest staircase. However, that AI was very limited as you had to build NavPoints of the entire map in an extremely specific way. Also, yes I did steal many places (lol) and read through their scripts, and trust me, his just goes through a loop and checks which rooms they are in and gives them a set path so they can go to each room. His also use NavPoints too. ☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞
nate890
#81084863Monday, October 29, 2012 7:41 PM GMT

Just to be more specific to what the AI can currently do: *He can climb up ladders, *He can walk up and down stairs without falling or taking a shortcut (off the stairs,) *He won't not fall off the edges of maps (into death), or cliffs for that matter (for the most part. No problems in solo mode, but online mode seems to differ,) *He will jump over obstacles that are too large to walk over, *He won't run into obstacles that are in his way and too large to jump over.
nate890
#81096406Monday, October 29, 2012 10:11 PM GMT

He can now jump over gaps.
nate890
#81125866Tuesday, October 30, 2012 4:26 AM GMT

Tweaked some stuff. Heavily reduced lag caused from lasting rays.
Candymaniac
#81134252Tuesday, October 30, 2012 12:42 PM GMT

Time to make my animation suite. ☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞
Greyhound40
#81134419Tuesday, October 30, 2012 12:48 PM GMT

I have a really good theory behind AI development in my java games I make. Ironically, I cannot program in lua.
Greyhound40
#81134494Tuesday, October 30, 2012 12:50 PM GMT

It'd be really easy in ROBLOX. (I presume) Add parts coming out of his head (front part) and make them fairly long. (And invisible), then if anyone walks into them, he detects them as being there, then chases after them. This is a better detection system instead of just, when 20 studs away, chase him, etc.

    of     2   
chevron_rightchevron_rightchevron_right