Open wereii opened 2 months ago
Paging in @p2004a
There wasn't time and space for me to also talk about this, but my other idea has been that the json export should also allow some integration with a discord bot for unit/buildings lookup, though for now this is a secondary thing for me.
After https://github.com/beyond-all-reason/Beyond-All-Reason/pull/1897 there is now a direct way to export "raw" unitdef information directly from the game.
The main enhancement that addition should offer is automated data-based unit comparisons ala https://www.beyondallreason.info/compare/armada-vs-cortex (and rest of the Units tab on the website).
There are two general issues that have to be solved to drive this home: 1) Parse & Reshape the raw json exports. These contain a lot of information that is too specific to engine. The main objective here is to extract everything that defines a unit or building - stats, weapons, abilities, ... 2) Create a way to push this data into Webflow - this is still in the information gathering phase
The current WIP code is here: https://github.com/wereii/bar-unitdefs
Right now it contains only some basic script to extract the unit-specific data.
Related & Other Information
Link to discord thread with discussion: https://discord.com/channels/549281623154229250/1240060975751761920