An UnrealEngine PythonSDK mod for Borderlands 2 and Borderlands: The Pre-Sequel! that provides access to continuously up-to-date information about the current game.
Borderlands Live Feed outputs information on the current character and game mode instantly as they change in-game, outputting the raw information to a JSON file. This JSON file may be accessed by client applications for any desired application.
Included with Borderlands Live Feed is a script for Streamlabs Chatbot, which allows Twitch and YouTube streamers to provide information about their game via chat commands (see above image).
Begin by downloading the latest version of Borderlands Live Feed.
-
Install UnrealEngine PythonSDK if you have not already.
-
Locate the SDK's
Mods
folder (located in theWin32
folder of theBinaries
folder of your BL2/TPS installation). -
Copy the
LiveFeed
folder from theMods
folder inBorderlandsLiveFeed.zip
to the SDK'sMods
folder. -
Launch the game, select "Mods" from the main menu, then select "Live Feed" to enable it.
-
Launch Streamlabs Chatbot if it is not already running.
-
Navigate to the Scripts section in Streamlabs Chatbot's sidebar. If you have not done so previously, you must configure Streamlabs Chatbot to be able to use scripts.
-
Right-click in the scripts window and select "Open Script Folder."
-
Copy the
BorderlandsLiveFeed
folder from theChatbot
folder inBorderlands-Live-Feed-master.zip
to Streamlabs Chatbot'sScripts
folder. -
In Streamlabs Chatbot's Scripts window, click the circular Reload Scripts icon, and "Borderlands" should appear in the list.
-
See Streamlabs Chatbot Usage for details on setting up commands.
Borderlands Live Feed outputs its information to %APPDATA%\BorderlandsLiveFeed\Output.json
.
Example output:
{
"name": "Sniper Aurelia",
"class": "Baroness",
"head": "Aurelia",
"skin": "Aurelia's Designer Ensemble",
"level": 70,
"OPLevel": null,
"playthrough": 2,
"currentPlaythrough": 1,
"currentOPLevel": null,
"map": "Eridian_slaughter_P",
"weapons": ["Barking Rakehell", "Pacifying Wet Week", "Skookum Skullmasher", "Streamlined Omni-Cannon"],
"shield": "Naught",
"grenade": "Longbow Cryo Transfusion",
"classMod": "Uninterested Sport Hunter Class Mod",
"relic": "3DD1.E",
"skills": [4,5,5,0,5,1,0,1,0,5,0,1,4,1,5,1,5,1,5,0,0,0,1,1,2,1,2,0,1,5,0,5,0,0,0,0,0]
}
Fields are assigned null
if unavailable.
The weapon
field will always be an array of a length of 4, with each member corresponding to a weapon slot (members corresponding to empty weapon slots are assigned null
).
The skills
field is an array of integers corresponding to the number of points spent in each skill. This corresponds to the URL formats of bl2skills.com and thepresequel.com.
While the Borderlands Live Feed script is enabled in Chatbot, various parameters are available to be used in Commands:
Parameter | Description | Example output |
---|---|---|
$blname | Character class and name | a Baroness named 'Sniper Aurelia' |
$blskin | Head and skin customizations | 'Aurelia' head with the 'Aurelia's Designer Ensemble' skin |
$blbuild | Skill tree URL | http://thepresequel.com/Aurelia/4550510105014151515000112120150500000 |
$bllevel | Level and playthrough | level 70 in UVHM, currently playing in TVHM |
$blweapons | Equipped weapons | 'Barking Rakehell', 'Pacifying Wet Week', 'Skookum Skullmasher', and 'Streamlined Omni-Cannon' |
$blgear | Equipped gear | 'Naught' shield, 'Longbow Cryo Transfusion' grenade mod, 'Uninterested Sport Hunter' class mod, and '3DD1.E' relic |
See screenshot for suggested usage of these parameters: