- Joined
- Sep 30, 2013
- Messages
- 3
Let me start by saying that I do not own SC2 currently. I am looking to create a demo for some custom hardware, and I need to know if SC2 would be a suitable platform for that demo. There are three problems that I believe I may encounter with SC2, which I would like to figure out before making any purchases and requests.
The first question: is it possible to have a custom overlay appear over the generic UI. Best example I can give:
- Toggling caps lock toggles whether the overlay is present.
- The overlay is slightly transparent and covers the portion of the UI to the right of the minimap.
- The overlay will update visually in real time information that pertains to the user's input (such as detailed information about all units that are hot keyed)
The second question: is it possible to script the UI in such a way that it changes what units you have selected. For example, if a stream of reinforcements are way pointed and en route to the center of the map where the rest of the army is, can it be scripted that when boxing around the main army, the UI automatically adds to the selection the reinforcements that are en route to any location within that box.
The third and most difficult question: is it possible to mod StarCraft II to recognize new "buttons", such as unidentified keys on a keyboard. The following conditions are known:
- SC2 would need to accept data with a range of 256 (the inputs are not all digital [0 or 1]).
- The buttons (data) may (probably) will not be listed under Window's defined keys.
- SC2 would require some kind of script to interpret what to do with the data.
- SC2 needs to read the data several times a second.
I cannot give too many details as nothing is set in stone as to how it must work, but one possible method is StarCraft II obtaining values directly from the PC's ram.
The only examples of mods possibly doing similar things are mods that have global scoreboards or local settings. This is similar to extracting data from a text file, but that file is constantly being updated by another program and has to be read by SC2 several times a second.
If anyone has some answers regarding these questions (especially #3), that will determine if SC2 modding can handle the necessary conditions for the demo. That said, if anyone is interested in possibly helping with the creation of this mod, if it is possible, send me a PM for more specific details.
The first question: is it possible to have a custom overlay appear over the generic UI. Best example I can give:
- Toggling caps lock toggles whether the overlay is present.
- The overlay is slightly transparent and covers the portion of the UI to the right of the minimap.
- The overlay will update visually in real time information that pertains to the user's input (such as detailed information about all units that are hot keyed)
The second question: is it possible to script the UI in such a way that it changes what units you have selected. For example, if a stream of reinforcements are way pointed and en route to the center of the map where the rest of the army is, can it be scripted that when boxing around the main army, the UI automatically adds to the selection the reinforcements that are en route to any location within that box.
The third and most difficult question: is it possible to mod StarCraft II to recognize new "buttons", such as unidentified keys on a keyboard. The following conditions are known:
- SC2 would need to accept data with a range of 256 (the inputs are not all digital [0 or 1]).
- The buttons (data) may (probably) will not be listed under Window's defined keys.
- SC2 would require some kind of script to interpret what to do with the data.
- SC2 needs to read the data several times a second.
I cannot give too many details as nothing is set in stone as to how it must work, but one possible method is StarCraft II obtaining values directly from the PC's ram.
The only examples of mods possibly doing similar things are mods that have global scoreboards or local settings. This is similar to extracting data from a text file, but that file is constantly being updated by another program and has to be read by SC2 several times a second.
If anyone has some answers regarding these questions (especially #3), that will determine if SC2 modding can handle the necessary conditions for the demo. That said, if anyone is interested in possibly helping with the creation of this mod, if it is possible, send me a PM for more specific details.