That link covers my main question (reiterated here for those who avoid Reddit)...
I am looking to create a map where I can have 2+ people play and have a program running on their computer that reads out data (example data includes stuff you normally see in the observer mode screen) and sends it to an external program for real-time analysis.
I'm not looking to map hack or use this on the ladder - this is merely to experiment with what one can do with data. I don't need each player reading their own data either - if I have to have an observer in the game to read data out on all players, that works as well.
you can update the bank every 5 seconds and write everything you want to analyze into the bank.
the banks are simple xml and easily analyzed with something like java
Cool! I've been toying around with the Map Editor and have a basic game running. I can't figure out how to save any data to this bank. I see Game Attributes and Game Variants which looks close. Any tips on going from a working map to a map that saves data out?
Wow - super helpful videos! Since I've caught someone who seems to know the editor pretty well, I'll just ask. I saw the "custom script" option. Is there a more direct way to get a value like resources from my map to a program running on the computer?
Right now, with banks I see my flow like:
set up triggers -> triggers happen -> write to bank -> program checks for change in file -> processes xml to get data out
Is this possible:
set up triggers -> triggers happen -> custom script runs and sends a packet of data to a program running -> process just that data
Greetings all! I was directed here by someone's recommendation here: http://www.reddit.com/r/starcraft/comments/iy7w3/is_it_possible_to_read_data_unit_composition_unit/
That link covers my main question (reiterated here for those who avoid Reddit)...
I am looking to create a map where I can have 2+ people play and have a program running on their computer that reads out data (example data includes stuff you normally see in the observer mode screen) and sends it to an external program for real-time analysis.
I'm not looking to map hack or use this on the ladder - this is merely to experiment with what one can do with data. I don't need each player reading their own data either - if I have to have an observer in the game to read data out on all players, that works as well.
Any suggestions on where to start? Many thanks!
you can update the bank every 5 seconds and write everything you want to analyze into the bank.
the banks are simple xml and easily analyzed with something like java
@b0ne123: Go
Cool! I've been toying around with the Map Editor and have a basic game running. I can't figure out how to save any data to this bank. I see Game Attributes and Game Variants which looks close. Any tips on going from a working map to a map that saves data out?
@marktronic: Go
Go to my channel and in my playlist i have a bank tutorial somewhere in there. Otherwise search around.
@OneTwoSC: Go
Wow - super helpful videos! Since I've caught someone who seems to know the editor pretty well, I'll just ask. I saw the "custom script" option. Is there a more direct way to get a value like resources from my map to a program running on the computer?
Right now, with banks I see my flow like: set up triggers -> triggers happen -> write to bank -> program checks for change in file -> processes xml to get data out
Is this possible: set up triggers -> triggers happen -> custom script runs and sends a packet of data to a program running -> process just that data
What do you think?
@marktronic: Go
impossible. starcraft is a closed system. the only exception are these bank files.