
03-08-2007, 10:13 AM
|
|
Will work for food. Maybe
|
 |
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
|
|
Smarter AI?
|
Well, I know this is going to be a bit disappointing, but this script is not scripted in gs2, nor is it prepped for online use. Sorry, but I have access to neither of the two so I can't say much for that. But this isn't really for giving a complete free script, but to provide a base script for the idea. Everything here can easily be converted to gs2, and probably enhanced. And lastly, it's sort of buggy, not much, but not ready for public use. It does work most of the time though.
Anyways, I posted in the other thread suggesting that baddies track your movement. Well I thought I'd try it out and this is what I came up with. The baddy will act like a normal while you're in site, but if you run around an obstacle it will track your movement instead. I remember when I used to play I could easily get around the NPCs by just walking around a wall or such, this will follow you though, making them a bit smarter than just running around and stopping if they can't see you. He doesn't attack though, but that should be easy enough to add. Onwall detection isn't perfect, but eh... it does the job.
Anyways, like I said it's meant as a base to hopefully give ideas. Take it and make what you want of it, convert it, take ideas. Hopefully it'll help, because in the end, the concept is still the same. I can't say it's the most efficient or best script around(especially since gs1 is outdated), but I haven't scripted in ages. |
|
|
|