Author Topic: Bot action events  (Read 2621 times)

I was fooling around (as normal) when i used the Botgoto event for your Greekbot..
Now am i wondering, could this be made to work with just a normal bot.
And are the following events possible to create?
1. OnBotTouch- BotAim- [Playername] / [Brickname]
Simple, if a bot will touch the brick with this event on, the bot will aim at a player or brick (target will have to be typed in the textbox after   [playername] or [brickname] and it will remain aiming at it)
2. OnBotTouch- BotFollow- [Playername]
If a bot touch the brick it will follow the player with the name stated in the textbox after [Playername]
3. OnBotTouch- BotCrouch
If a bot touch the brick, he will crouch (it will not stop him there if he was on his way to anywhere else)
4. OnBotTouch- BotJump
If a bot touch the brick, the bot will jump one time while walking to his position he was assigned.
5. OnBotTouch- BotSit
If a bot touch the brick, the bot will sit (yes, this event will stop him at this position, it would be dumb if a bot could sitwalk while you can't...)
6. OnBotTouch- BotStop
If a bot touch the brick, the bot will stop all of his current actions assigned
7. OnBotTouch- BotShoot
If a bot touch the brick, the bot will shoot where it aims at
8. OnBotTouch- BotChase
The bot will chase the closest person (suggested by: ROFLwaffle)
9. OnBotTouch- BotStandup
This will make the bot stand up. (suggested by: Pliny The Younger)
10. OnBotTouch- BotSay
This would make a bot say something (also suggested by: Pliny The Younger)
11. OnBotTouch- BotMoveTo
This will make the bot move to someone or something. (example: "OnBotTouch- BotMoveTo- [playername]" or "OnBotTouch- BotMoveTo- [brickname]")

This could be very usefull for movies as example..
So now i ask you all:
-Do you have another event in mind that isn't stated above but belongs with them? Post it!
-Are you going to create this? Be sure you can do it, then post the wonderfull news here!
-Do you know someone who is working on it? Post it after you checked if it was a real and a still alive project...
-Do you know how to make it? Create it then please! xD

All my typo's are belong to me!
« Last Edit: September 09, 2009, 09:55:12 AM by lordician »

Wouldnt be Onbottouch bot then the event?

It would be, but he wonders if the idea is possible

How about one where the bot chases the closest person?
...
BotChase?

How about one where the bot chases the closest person?
...
BotChase?
Hmmm... You made me thinking, it is better if events also work at OnPlayerTouch or OnActivate....
I will be including that later but first, is this idea possible and if so, could this be made please?

I actually think this would be a great idea, but the bots would have to be programmed to avoid walls, and follow courses (Botgoto <brickname>). It would also be useful for the bots to have  "awareness zones", which would allow them to detect players/terrain, follow them more easily, attack players with accuracy/precision, and other stuff.

Event Ideas:

Botsay- Makes a bot say something.

BotGoto- Already existent in Greekbots, this would allow bots to go to a certain brick or coordinate.

BotCrouch/Botstand- BotCrouch would make a bot crouch until told by the "BotStand" event to stand up.

If these could work with horse bots (onbot touch- change datablock standard player), that would be great.


If these could work with horse bots (onbot touch- change datablock standard player), that would be great.

/Agree

Idea: Bots that would use these events could be spawned with their own type of small spawn brick. This would make it another Add-on, but could guarantee it's capability with the events, while Horse-bots could have problems with shooting, aiming, and sitting, along with some of the ideas I posted earlier.

Seeing how zombies can do this stuff, I don't see why it can't be put in event form.

Niliscros right.  If zombies can do all that crap, why not normal bots.  (time to pester spaceguy to finish his bots and make evnets)

If these could work with horse bots (onbot touch- change datablock standard player), that would be great.
That is my idea behind all this! xD
/Agree

Idea: Bots that would use these events could be spawned with their own type of small spawn brick. This would make it another Add-on, but could guarantee it's capability with the events, while Horse-bots could have problems with shooting, aiming, and sitting, along with some of the ideas I posted earlier.
Actually he means the bot you get when you do onbottouch-> ChangeDatablock-> standard player or something similar.
I actually think this would be a great idea, but the bots would have to be programmed to avoid walls, and follow courses (Botgoto <brickname>). It would also be useful for the bots to have  "awareness zones", which would allow them to detect players/terrain, follow them more easily, attack players with accuracy/precision, and other stuff.

Event Ideas:

Botsay- Makes a bot say something.

BotGoto- Already existent in Greekbots, this would allow bots to go to a certain brick or coordinate.

BotCrouch/Botstand- BotCrouch would make a bot crouch until told by the "BotStand" event to stand up.
I forgot about botstand but Botgoto [brickname] is allready stated in my first post, as well as botcrouch ;)

Also those awereness zones you talk about...
Why not fire a raycast to let him check if something is between him and his target?
Also usefull when shooting, but also with avoiding...
 Or am i acting stupid now?
I mean, i don't have much knowledge about the scripting here in Torque and such :P

Nevertheless i am glad to see that this idea is very wanted by some other people..
So keep thinking with us, and hopefully someone will see this and make it! :D
« Last Edit: July 20, 2009, 03:44:33 AM by lordician »

how a bout an all direciton raycast, and if he gets too close to a wall, he moves away, while searching for the target.  perfect for making maze-bots, can go thru mazes

The Bots I had in v8 turned randomly to one side when they encountered a wall and attempted to find their target. It worked for very basic obstacles, but it required a lot of raycasts and processing with constant schedules...

The Bots I had in v8 turned randomly to one side when they encountered a wall and attempted to find their target. It worked for very basic obstacles, but it required a lot of raycasts and processing with constant schedules...
And thus providing lagg to anyone?
I didn't thought of the lagg of raycast, but the raycast isn't particulary needed i guess.
If this gets made by someone, then you can set a whole path with the help of eventing bricks.
My guess is that that would provide some AI that can be used for some nice servers. :D

Thank you all for responding, keep this bumped and a hot topic, because i will be on vacation in 2 days (next thursday for me).
I don't really know at the moment when i will be back, but keep it bumped and keep sending in suggestions for other botaction events.
And of course keep discussing about it here! ^_^

Bump because i am back from vacation and i want this to be hot.
That's ONE mouth full!