Quote:
Originally posted by Kaimetsu
I already made one. It's actually pretty easy, and we can make our own thing to do the same thing as Vectors if we want. It's not like it's a primitive class, they still just throw numbers around. The fact that we can redimension GScript arrays without losing the contained data makes it a cinch.
|
Ok pathfinding script is/was great.
But could we make a pathfinder that isn't all-knowing?
He should be able to find his way and only know what he can see with his two eye's. Your pathfinding script finds a route. Then tells the baddy specifically where to go. He should have to do some searching to find the path. ... Intelligent searching hehe.
Baddy: "I know I saw that player go this way..."
Baddy: "Oh there are lot's of twists and turns here..."
Baddy: "Maybe he went this way. I'll go look"
Baddy: "Whoops dead end I better go back and go that other way."
Baddy: "Hmm... another dead end. I better go back again"
Baddy: "Whoops almost went down the path I already checked, I had better be more careful."
Baddy: "Aha.. there is an exit here. The player must be here!"
I know it's silly =)