Stay Down Allow the players and systems windows to be toggled instead of only appearing on hover. Edit: https://forums.uberent.com/threads/wip-stay-down.57424/
That is a pretty essential mod as far as I'm concerned, it sounds stupid but I consider the game very hard to play with the auto-hiding nonsense.
Fast Visibility Switching Hotkeys for spectators to change visibility settings. https://forums.uberent.com/threads/idea-for-fog-of-war-for-spectators.57397/
Server Filtering The server browser (62443) makes me sad. Half the time I get so depressed I play the AI or just leave. I might be able to live with the wide player ranges, but I'd probably fix it anyway. We need filtering for regions, planets, open spectator slots, open player slots, locked games, and anything else that looks useful. Celestial Browser If time were no object, the server browser could be reimagined as a galaxy for each region. Once a galaxy was entered, the screen would be miniature versions of the systems (could use the static planet icons, no movement required) , with commander icons (players), astreus (open slots) and radar (spectators) orbiting.
Icon Scale Just noticed the api method setIconScale (strategic icons) This begs for a setting and some hotkeys.
where can I make this call, what syntax and what file ? and how do insert it correctly? I've been desperately needing this. I'm off to redraw my icons.
Is that in any file? do I have to include it's name in the modinfo.json for it to be used? how do I do it?
Yeah, might have some weird effects in icon_atlas. I did my proof of concept in a debugger console on live_game.
alright, trying now thanks! EDIT: hmm nope that killed it, I know nothing about Java and code in general but is it really three equal signs before 'number'?
It's Javascript. Or ECMAscript if we're really pedantic. === is the hard-core, it's really exactly the same thing comparison. == might do implicit conversions and is generally more loosy goosy about what it means to be equal. Sometimes thats what you want, like when you compare two strings that might be 'different objects' that happen to have the same content.
The quote is from grep, it's a search tool I recommend for investigating the source. From commandline cd to the media folder, then use grep as above to search all of the moddable files. It's saying it found 'setIconScale' in arch.js and shows the line it's on, where we can see it's the function. Open arch.js and you can see the function is called by 'api.arch.setIconScale(scale);' Another example of where it's useful is finding unit blueprints where the in-game name is known:
so what whould the correct syntax be if I wanted to write a Js that set the icon size to 1 ? this? : Code: function (scale) { arch.setIconScale(1.0) };
When I saw the Flexible Build Queue I misinterpreted it as a Global Build Menu, where you could put units in a global queue and any factories that were otherwise not preoccupied would fulfill those orders. I guess it would come with a global rally point which would coordinate with nearby factories. Don't we have a mod very similar to this?
and does this call have only one variable 'cause it doesn't seem happy this way. I placed it after the last function before the handlers in live_game, it keeps killing the game.