Color Coding for Original Planets Nu Client

Color codes planets and ships by race on Planets.nu map

Author
dtolman
Daily installs
0
Total installs
101
Ratings
0 0 0
Version
2.00
Created
2014-06-17
Updated
2015-12-28
License
N/A
Applies to

Tired of seeing everything in Red and Green? Choose unique Race colors that are applied to planets, ships, and minefields for the new Planets.nu client - all configurable in the setup menu.
This mod also adds a new unique look for webmine fields to differentiate from regular minefields.

NOTE - this is for the ORIGINAL (old) client at planets.nu/home - ONLY. For the current client, the mod can be found at:
https://greasyfork.org/scripts/2591-color-coding-for-play-planets-nu

Color codes planets and ships by race on Planets.nu map. Version History
v0.4 - adds distinctive new look for web mines so they can be easily distinguished.
v0.5 - can now activate from the setup menu
v0.7 - can now activate/deactivate default player colors in menu
v0.81 - now saves settings to a cookie, when changed from the Settings Screen
v0.90 - First 11 race colors, unknown planets, and unoccupied planets now configurable from Settings Screen!
v1.0 - Fully functional! Uses color gradient wherever appropriate. Displays color gradient on Settings Screen (FF only, will tackle Chrome later). Code rewritten to be much cleaner and efficient. Also added button to reset all values to Mod defaults.
v1.1 - Chrome and FF color preview. Gradient colors for standard game races, info, and unknown
v1.2 Redraws colors on maps after any setting changes. Different sized circles around planets for Own Ships, Ally, and Enemy.
v1.3 - rewrote Settings changes to play nicely with other mods.
v1.4 - added in support for users changing colors beyond race 11 (settings page does not refresh, so hit the settings button again to see the changes).
v1.5 - modified to work with new play.planets.nu site and client.
v1.6 - Note Colors modified to include first 11 race colors (this will only work if you added colors using the #XXXX type - I'll see what I can do to get color words working).
v1.61 - Note colors should work with words as well now.
v1.7 - This will now work with the v3 API (play.planets.nu). Refresh is not working, so hit i and then o from the map view to force a redraw.
v1.81 - Now shows ship names with explosions (formerly a separate script). Fixed colors in the diplomacy screen color picker (if you ever want to use this with the mod).
v1.9.2 - Removed play.planets.nu code. This is now in a new mod.
v2.0 - Modifies mouse-over text for minefields so you can tell if web or regular minefield

Works with Grand Melee races as well. For regular games, default color scheme is:
// Race 1 (Fed) - White
// Race 2 (Lizard) - Green
// Race 3 (Birds) - Crimson
// Race 4 (Fascists) - Pink
// Race 5 (Privateers) - Lime
// Race 6 (Cyborg) - Magenta
// Race 7 (Crystals) - Yellow
// Race 8 (Empire) - Purple
// Race 9 (Robots) - Gray
// Race 10 (Rebels) - Aqua
// Race 11 (Colonies) - Blue
// Unknown/Unexplored - Tan
// Unoccupied - Chocolate