Add feature that displays Planet Numbers only

« Back to Developers

2662 days, 9 hours, 52 minutes ago
View bondservant's profile
bondservant
Add feature that displays Planet Numbers onlyWrite Reply
Is someone interested in developing a new API program or changing an existing API program that would allow a player to see just the planet #s and not the planet #s and names on the starmap?

When I click Names in the Map Tools, I get both the Planet Names and their numbers.  But it often looks very messy with so many names on my Starmap.  They overlap each other and make it hard to read.  It would look a lot neater and readable if only the Planet #s were added to the Map Display.

If there is a way to already do this, then that would be great; please let me know.
2662 days, 9 hours, 41 minutes ago
View jobo's profile
jobo
RE: Add feature that displays Planet Numbers onlyWrite Reply
I don't have an account on the userscripts page, but you could write your own js file, and just add this small modification to the drawPlanetNames function.

EDIT: .... ah screw it! this editor really don't want to show my javascript, it keeps messing with it, I will upload the file and link to it in the next post
2662 days, 9 hours, 36 minutes ago
View jobo's profile
jobo
RE: Add feature that displays Planet Numbers onlyWrite Reply
onlyshowplanetid.js
2660 days, 12 hours, 14 minutes ago
View jobo's profile
jobo
RE: Add feature that displays Planet Numbers onlyWrite Reply
did it solve your problem?
2660 days, 8 hours, 39 minutes ago
View bondservant's profile
bondservant
RE: Add feature that displays Planet Numbers onlyWrite Reply
I appreciate your effort jobo.  I am not very technical, so don't know what to do with a .js file.  I may wait to see if anyone incorporates the option in an API program.  Actually, I do like to sometimes see the planet names, so I would want the option to look at names and numbers or just numbers.
2660 days, 0 hours, 46 minutes ago
View jobo's profile
jobo
RE: Add feature that displays Planet Numbers onlyWrite Reply
No worries,

I've uploaded it

http://userscripts.org/scripts/show/132203

Regards
2659 days, 17 hours, 45 minutes ago
View jobo's profile
jobo
RE: Add feature that displays Planet Numbers onlyWrite Reply
The other request is a bit more tricksy, but doable of course.

I'll look into it tonight. Likely I can make it toggle between the three modes (nothing, only planet id, both planet id and name) when you press 'p'.

Regards
2659 days, 17 hours, 17 minutes ago
View bondservant's profile
bondservant
RE: Add feature that displays Planet Numbers onlyWrite Reply
Thanks.  I would need to load and unload the program, depending if I want to see the planet name or not with the planet #.  So if possible, that would be fantastic to be able to choose one or both using just one program.
2659 days, 16 hours, 45 minutes ago
View jobo's profile
jobo
RE: Add feature that displays Planet Numbers onlyWrite Reply
updated, the 'p' key now toggles between the three modes (nothing, id-only, id+name)

Regards
2659 days, 16 hours, 23 minutes ago
View bondservant's profile
bondservant
RE: Add feature that displays Planet Numbers onlyWrite Reply
Tried it .. fantastic jobo.  Just like I imagined I wanted.  At 75% and even at 50% view, I can read all the planet #s clearly (with connections clicked on too).  And when I go back to 100% view, the planet name/# combo is right there too looking good.  Thanks again.

2659 days, 8 hours, 14 minutes ago
Profile Image
cb1
RE: Add feature that displays Planet Numbers onlyWrite Reply
Thank you! And thanks to the person who put it on userscripts.org . I had to leave the page entirely and re-open it, then it worked. Very helpful.