Game Development Community

Advanced AI for 1.4 not working for me

by Infinitum3D · in Torque Game Engine · 03/23/2007 (11:24 pm) · 6 replies

I'm using the Advanced AI for Torque 1.4 resource.

I've replaced the .cc and .h files, rebuilt, and deleted the .dso's to force a recompile.

I'm getting the console message
commands.cs (86) : Unable to find function aiAddPlayer
set::add: Object "" doesn't exist


Any help?

Thanks!

Tony

#1
04/07/2007 (11:57 am)
What Advanced AI resource are you referring to? I have a decent finite state machine that's evolved out of the AIGuard resource. If you want help.
#2
04/09/2007 (5:01 am)
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=10923

I'm using the above resource. Every since I tried to add it, I've been unable to recompile.

Any help is appreciated.

Thanks!

Tony
#3
04/09/2007 (5:43 am)
You didnt add the changed commands.cs? there is no call to aiAddPlayer, are you trying to combine it with another resource?
#4
04/09/2007 (5:56 am)
@Stephen Have you submitted that as a resource? I would love to see some more Ai examples.
#5
04/09/2007 (1:39 pm)
I'm working on integrating my bot with immersion ai. My bot lacks the right organization for really intelligent behaviors, even though its very good at combat. It currently doesn't know how to take advantage of the terrain at all or anything like that and has very poor path finding. I could add more states to accomodate a variety of new behaviors, but there's only so much I can accomplish with a finite state machine before the code becomes really messy. I'm not posting my entire bot as a resource but I've posted a couple things like my unique spawning code, and my aiming algorithm which has proven extremely effective and very light in calculation time. The spawning code still hasn't been approved and the aiming algorithm I posted is in the forum and needs an update. I recommend AIGuard as a starting point. You can always restructure your AI later and AIGuard is a perfect resource for a shooter or something. Most shooters use finite state machines I think.
#6
04/09/2007 (8:14 pm)
Looking at some of the new games ai systems they're pretty interesting, Bioshock, and S.T.A.L.K.E.R. both use some form of ai social interaction, rather than scripting every action that you see happen, they let them interact on their own to some predefined extent, but still, its impressive. It would be fun to work with something more like that.