Lua wrapper for RLBot
Project description
# RLBot_Lua
This extension creates a native bridge between Python and Lua, implementing its own class system to simplify usage.
## Installation
` $ python -m pip install rlbot_lua `
> Note: Only supports 64-bit OS/Python
## Bot setup Copy the following files to your bot folder:
Lua53.dll (Not needed on Linux when support arrives)
classes.lua
structs.lua
lua_bot.py
Then, in your bot.cfg, set bot path to lua_bot.py
## Functions provided
Functions: - class - A keyword to create classes (see bot_example.lua and structs.lua for reference) - super - A function useful with inheritance; calls the parent function (see structs.lua for reference) - dump - A function that can be used to dump information about a table
Classes: - GameTickPacket - The game tick packet, this completely copies the python packet - GameObject - Base class for all entities in the game, this should generally not be used - GameCar - The class used for cars in packet.game_cars - GameBall - The class used for the ball - GameInfo - The class used to hold information about the current game - GameBoost - The class used for boost pads in packet.game_boosts - Team - The class used for team information - Hitbox - Container class for hitbox data - ControllerState - The class used to hold controller data, defaults to neutral - LuaBot - The class a bot written in Lua must inherit and implement - Vector - The class used for all 3-dimensional vectors, has utility methods - Rotation - The class used for rotation data
These classes can be modified as shown in example_bot.lua
## TODO
Proper classes for Ball attributes
Figure out why it segfaults when there are more than 2 players on the field
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file rlbot_lua-0.1.5.tar.gz
.
File metadata
- Download URL: rlbot_lua-0.1.5.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13658a7fb7d30f289d9c6299b604a9bd81c9af4727e6e068c7ae0055b1334d05 |
|
MD5 | 115e67fd48e17f6d7f70915df7de37cc |
|
BLAKE2b-256 | c04f71a5435c6b51024c627a6d238f9bbd0e9e92d4cad55ed4d815cffa888bb4 |
File details
Details for the file rlbot_lua-0.1.5-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: rlbot_lua-0.1.5-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 14.6 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d83814d38127dd877a4939d14be267930b26b0887f87247164ff96119d1d17d |
|
MD5 | d99e4496f9ba3a17c6ae1c161bf537bd |
|
BLAKE2b-256 | ec194cfc20191368aa88936dd5a21cac3bdcec5d27b4fcb52f3ae72d216f1314 |