Ally Resource Bars 1.84 Alpha 3
Posted: 29 Dec 2010, 09:24
this is a BIG update of the good old plugin, it also includes all the changes previously made by BD and AF, it is beta (1.6) / alpha (1.7) and requires testing so please report when you encounter bugs.
for all versions older than 1.80 ONLY!, 1.80 has an options menu
top of plugin for control area controls:
left button moves him
middle button toggles forced mode for threshold indicators
right button toggles capacity indicators
the buttons can be changed in lines 1013 through 1025
beta 20 saves/loads plugin position on the screen independently for spectator and player modes, and some minor optimizations
beta 21 should fix the drifting of the y-axis when saving the plugin's position bug, and the not enabling the spectator mode teamList bug due to a variable which was not set
known bugs in beta 21:
1. plugin may not load after being unloaded when spectating AI games
2. if at start of the game the player was a player and became a spectator later and if the plugin is moved from it's location - the new position after moving the plugin will be saved as if it is a player mode position - for now just try not to move the plugin when becoming a spectator
3. the list of players is not sorted by their team yet
4. does not work in multithreaded spring
5. plugin position may not be saveable when in spectator mode
what's new in 1.7:
alpha 1: player list is sorted
alpha 2: add cleaning of unused tables
alpha 3: hopefully fixed the display of the empty player when in player mode. if spectator mode position doesn't exist, load the player mode position for spectator mode, the other way around for player mode, and only when none exist load the default position that is calculated at load based on resolution. widget will unload himself when there are no allies.
alpha 4: fixed the bug that prevented plugin from activating after being deactivated when in spectator mode (bugs 1 and 5). fixed save/load position for spectator mode and added proper boundary checks
alpha 5: fixed movement from player to spectator only showing the players from the player's team
alpha 6: added actual numeric resource amount and capacity as tooltip on the right
1.71: player list is drawn at all times
1.72 alpha 1: added team separators, added players list from other teams without bars for both spectator and player modes
Alpha 2: cleanup, added option to control the drawing of the list of teams (DRAW_TEAMS)
current list of things to add:
right click on resource of player to ask for that resource from player (I need energy d00d / I need metal d00d) - DONE
an options user interface for configuration of various parameters (like not always draw the player list and use the old tooltips functionality, option for capacity indicators (which may not be needed for mods like Zero-K), optionally allow drawing the list of spectators) - DONE
draw the list of spectators
provide an option to quickly share units instead of resources to player (or ask units from player with for example shift+right click)
thanks to jk and FabriceFABS for the help
for all versions older than 1.80 ONLY!, 1.80 has an options menu
top of plugin for control area controls:
left button moves him
middle button toggles forced mode for threshold indicators
right button toggles capacity indicators
the buttons can be changed in lines 1013 through 1025
beta 20 saves/loads plugin position on the screen independently for spectator and player modes, and some minor optimizations
beta 21 should fix the drifting of the y-axis when saving the plugin's position bug, and the not enabling the spectator mode teamList bug due to a variable which was not set
known bugs in beta 21:
1. plugin may not load after being unloaded when spectating AI games
2. if at start of the game the player was a player and became a spectator later and if the plugin is moved from it's location - the new position after moving the plugin will be saved as if it is a player mode position - for now just try not to move the plugin when becoming a spectator
3. the list of players is not sorted by their team yet
4. does not work in multithreaded spring
5. plugin position may not be saveable when in spectator mode
what's new in 1.7:
alpha 1: player list is sorted
alpha 2: add cleaning of unused tables
alpha 3: hopefully fixed the display of the empty player when in player mode. if spectator mode position doesn't exist, load the player mode position for spectator mode, the other way around for player mode, and only when none exist load the default position that is calculated at load based on resolution. widget will unload himself when there are no allies.
alpha 4: fixed the bug that prevented plugin from activating after being deactivated when in spectator mode (bugs 1 and 5). fixed save/load position for spectator mode and added proper boundary checks
alpha 5: fixed movement from player to spectator only showing the players from the player's team
alpha 6: added actual numeric resource amount and capacity as tooltip on the right
1.71: player list is drawn at all times
1.72 alpha 1: added team separators, added players list from other teams without bars for both spectator and player modes
Alpha 2: cleanup, added option to control the drawing of the list of teams (DRAW_TEAMS)
current list of things to add:
right click on resource of player to ask for that resource from player (I need energy d00d / I need metal d00d) - DONE
an options user interface for configuration of various parameters (like not always draw the player list and use the old tooltips functionality, option for capacity indicators (which may not be needed for mods like Zero-K), optionally allow drawing the list of spectators) - DONE
draw the list of spectators
provide an option to quickly share units instead of resources to player (or ask units from player with for example shift+right click)
thanks to jk and FabriceFABS for the help