Skip to content

thenorthstar/HaxBall-Simple-F1-Racing-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HaxBall-Simple-F1-Racing-Bot

Discord

What is F1 Racing Bot

F1 is a different version of parkours, it is circular, unlike a yellow or a survival parkour, that's why we call the maps here as circuits. Our F1 Racing bot is made for making time trial practices (1.1) and letting players to improve theirselves in F1 racing maps.

Image 1.1 (A player is making practice at Vilnius F1 map) 1 1

Functionalities

To let players know the timing during the races, we have added some functionalities into our bot. For example, speed counter, lap time counter etc. Now, let's take a look at them:

  • Speed counter: By the thought of the highest speed is the fastest lap, we have added this function to make players able to see their speed during the race. Of course this is optional and controlled by command (see commands section).
  • Lap time counter: Like every F1 bots in HaxBall, our bot also has a lap time counter to estimate the times of players in each laps. (2.1)
  • Lap counter: Players can see how many laps they did during the race. After completing all the maps, player will be moved to the spectators to let others to complete theirs. This can be changed through the console panel. (2.2)
  • Troll detection: In HaxBall rooms, we usually face with some people who are trolling others to enjoy(!) the room. In our room we have implemented a function which kicks the backwards-driving people at lap changing zone (this can be improved for whole the map by adding checkpoints). You can watch an example recording through the following: https://thehax.pl/forum/powtorki.php?nagranie=bdff85409a75fce0e90ddd4377117ee8
  • Map related uniform change: Players' uniform is changed after every map was loaded (2.3 and 2.4)
  • Map name checker: Map content won't be uploaded correctly if the name is wrong (this may occur when players are able to upload maps in the room, but as default, players are allowed to load maps just with command (see commands section)).
  • Automatic map change: After all the players complete their laps, the circuit will be changed automatically.

Image 2.1 (Lap informations of a player is being displayed)

2 1

Image 2.2 (A players being moved to spectators after completing their laps)

2 2

Image 2.3 (Uniform in Vilnius)

2 3

Image 2.4 (Uniform in Sucre)

2 4

Commands

Of course we manage our rooms with some commands. For example, map changing, speed status changing etc. So, without further ado, let's take a look at the commands:

  • !admin: Changes the player's admin status.
  • !circuit [ID]: Loads the map with given ID. If there's no map with given ID, then a warning will be displayed. (admin only) (3.1)
  • !map: Displays the information (name, best lap time and its player name) about the current circuit.
  • !maps: Displays the map list (name and ID). (admin only) (3.2)
  • !speed: Turns the speed on/off. When ON, player can see their speed during the race.

Image 3.1 (Commands are being displayed)

3 1

Image 3.2 (Map list is being displayed)

3 2

Notes

As you can see above, our bot is yet lack of some advanced features like position/grid systems or other functionalities like AFK detectors, blocking detectors and etc. What we can say is that this is up to the user for now. There may more implementations later...

Releases

No releases published

Packages

No packages published