Game Development Community

Bots....

by Kevin Doung · in General Discussion · 09/16/2006 (8:14 am) · 13 replies

How do you make bots without using TGE? not walkin bots just ones that just shoots and rotates.
please help!

#1
09/16/2006 (8:17 am)
What exactly do you mean by without using TGE? What are you using instead? There's no rigtht or wrong way to do bots.
#2
09/16/2006 (8:17 am)
What you mean without using TGE? Do you mean with another game engine?
#3
09/16/2006 (8:19 am)
This is what i saw...

http://www.planetbang.com/index.cfm?menuName=Maps&contentId=12
#4
09/16/2006 (8:22 am)
And I've ask the person who made the bot but they said they didnt use the TGE they used Realm Wars
#5
09/16/2006 (8:24 am)
Realm Wars is just a modified version of TGE. Here's a bot resource:

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=10278
#6
09/16/2006 (8:25 am)
And I've ask the person who made the bot but they said they didnt use the TGE they used Realm Wars
#7
09/16/2006 (8:25 am)
This is what i saw...

http://www.planetbang.com/index.cfm?menuName=Maps&contentId=12
#8
09/16/2006 (8:27 am)
Ok.. im a noobie at scipting and.... ive never purchased the TGE
#9
09/16/2006 (8:27 am)
Here the Aiguard source, it will shoot at you and chase you. It seek health and ammo and return to it post when you hide or get to far from it.

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=6773
#10
09/16/2006 (8:28 am)
What you try to build bot for?
#11
09/16/2006 (8:28 am)
But Michael, that requires source changes. He doesn't own TGE
#12
09/16/2006 (8:38 am)
You right there did not even dawn on me, until after I post it but i left there so if he decide to buy the TGE he will know there good resource out to build a good bot.
#13
09/16/2006 (8:57 am)
You can create an instance of AIPlayer, using scripting. Check out the demo samples.

AIPlayer has some very rudimentary behavior, such as being able to move towards a location, or moving on a pre-determined path, or aiming at a given object (such as the player).

You can totally do a turret that aims at the player and shoots when it's close enough. Just schedule events five times a second that check whether the player is within sight distance; if so, sets the "aim at"; else clear it. If the player is within shooting distance, start shooting, else stop shooting.

All in TorqueScript using 1.4.