Sorry, we don't support your browser.  Install a modern browser

Output some basic data to files#120

CA has grown its systems to handle player/team names, series scores etc from within the application.

If wanting to display this information on a broadcast however, this data has to be replicated and updated externally by some other system which, short of screen pattern matching, is done manually.

Perhaps some day there’ll be a relay or API so that data within CA can be accessed directly by an external app, but until that day, even just dumping out a simple set of static files in the CA directory would be immensely helpful for inserting them into OBS scenes for instance.

For it to be nice for OBS you’d want individual files per data piece, e.g.

player1Name.txt,
player1CivName.txt,
player1CivImage.png
player1Score.txt,
player1Rating.txt

…repeating per player.

That way OBS users can use text sources that read from those files, or image source from the civ image, and have an automatically updating UI either on top of the CA game like a mini skin, or externally to the game for in between game scenes.

I think the cost of implementation is pretty low (updating a few files when certain variables change), while the benefit is pretty great.

a year ago