After playing with cola_colins hotbuild a bit and understanding how it works. How do you guys find out what all the model. things do ? Is there a reference somewhere of what does what? I know I can start the coherent debugger and put debugger; statements to stop the game when entering my script. But there is so much stuff under model. That I get lost. Some stuff I want to try : Find idle Scout button / Queue Move commands for Scout
You do it the same way we do. you read /edit file by file, slowly gaining knowledge about the game from the engine calls inside the .json files, Or you could read raevns modding references and tools thread, it has all the relevant info's you need there
I probably spent hours and hours just reading the js code of the UI by now. Also it is a good idea to put up some sort of svn/git/whatever you like with the game's ui files. That way you can easily compare what changed after a patch. Helps A LOT when a patch breaks your mods. I think both your ideas will be pretty hard to do right now though. Maybe even impossible. As far as I understand PA still lags API for mods to i.e. iterate what units a player has and what state they are in. Giving move commands can only be done in screen coordinates, not world coordinates.