Hey people, I've been working on my simulators for two years by now. When I have players on my server and they interact with bot holes that drive around the city and follow their routes and lets say the players drive reckless because lets face it: Most players do, the AI will plow into them if players are in the way of their route-or any object.
I need simple events somebody could make for bot holes to change and somewhat add a sensor for bots as:
Onbotspot
or Onbotdetectplayer
Maybe even Onbotdetectobject
As if I had this I could set an event like this Onbotdetect>bot>setbotpowered>0
So If a bot detects a player, object or vehicle and even brick in their setfov they will react to it with your specific outcome event.
I can also play sounds for detail if this is created for bots to play sounds through their body which is already possible so they can play a horn sound when they detect player from stopping. They can already honk but not from detecting player, more like onbotspawn or onbotreachbrick income events.
I also need an event so the bot can react to threats such as being shot or taking damage.. It's self explanatory, They get damaged which is usually by player. Lets say they get damaged by gun from player it would look like:
Onbotdamaged>bot>setrunspeed: 1.0
or Onbotdamaged>bot>playsound>engine_accelerate.wav
I know that when players play on my server they usually tend to screw around with bots because they are interesting and they want to see their capabilities, either as observing or just ruining their routes and even their life. When I have a minigame up players will always try to kill the AI, I need this event here so the AI will react and try to get away from the player specifically but also in general to react in any outcome event.
With these two events-if made they will improve how AI are in many ways but yet can free up my restrictions on how they handle gotobrick feature because they will stop if an obstacle blocking their path with the right outcome event. AI will become more aware of their enviroments if they can react from taking damage.
I would create these events myself just as I have been doing alot of things myself now but this is one I can not do on my own. Can somebody please help me?