This is a plugin that enables the development and use of python in bakkesmod plugins.
Any python script placed in bakkesmod\data\python
will be attempted to load. The plugin will call onLoad(GameWrapper, CVarManagerWrapper)
when loading the script. The plugin constructor should be called here.
Install instruction:
-
Install the plugin from this site
-
You will need to install a compatible python version in addition to this. I recommend downloading this: https://www.python.org/ftp/python/3.7.3/python-3.7.3-embed-win32.zip
-
extract the zip somewhere (does not matter where) and add the location to PATH (video) (The video also shows an optional step of how to add scripts to the plugin) Video: https://youtu.be/vcavTkvWJvs
-
Restart for the env path variable to update globally
-
Activate the plugin with the plugin manager