How can I add bots to a local game? #247
Replies: 3 comments 6 replies
-
For versions 1.5 there is a mod. |
Beta Was this translation helpful? Give feedback.
-
Although @JoseANG3L 's is perfectly valid, it doesn't really address the
type of issue. I assume you want bots who actually kind of behave like actual players: they know how to play Hockey, know how to avoid danger and obstacles, know how to attack other players and know how to score points. Why BombSquad doesn't have them yet? Because it was made first and foremost as a local multiplayer experience. If that's not a good enough reason, then let me say that creating these bots is way harder than it might seem. Most modern games nowadays use game engines that already have AI map navigation and bot tools build in to make creating specialized "fake players" much easier, since all the logic responsible for obstacle avoidance, state machines and simple decision making is already there. All you gotta do is utilize them. BombSquad has no such systems and you basically have to create them from scratch. The bots you see in Coop are the simplest AI you can create without any path finding required. The only thing they know is where they are and where you are, but are totally blind to everything else around them. If you placed these bots into a map like Crag Castle (people already did), you'll notice that they don't know walls exist, they'll blindly walk into mines and bombs and will try to get to you. Bots were designed to be played in Coop, on flat maps and with tons of other bots around them as cannon fodder, so this kind of AI works fairly well in that specific scenario. If I wanted to make a bot that plays Capture the Flag, I'd need to create / account for:
Just getting the first point on the checklist up and running is a challenge. Even myself who has been modding the game since forever can't really think of a clean and easy way to implement map path finding without some major jank in the code and tons of polishing. Needless to say, if implementing such bots was easy, we would be doing that. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/bombsquad-community/plugin-manager/blob/main/plugins/utilities/practice_tools.py thats the closest for now |
Beta Was this translation helpful? Give feedback.
-
Good evening!
Is it possible to add bots to a local started game?
If yes, how can I do it?
If no, why not to add? It would be a great feature, especially in team games like hockey.
Beta Was this translation helpful? Give feedback.
All reactions