Forums » Community Projects

A request, hopefully simple

Aug 14, 2016 look... no hands link
Rather then bug the devs to add this feature, perhaps you lot can work it out.

I was informed today, that apparently on radar, mines and cargo are not the same color. Being colorblind, I never knew this.

Could somebody create a plugin that allows the user to pick different colors for the various things on radar? Unfortunately, the only way it would be useful is to make it give a selection color pallet deal. This is beyond my lua abilities, so I am hoping somebody else will tackle the issue.
Aug 14, 2016 meridian link
Unfortunately, I don't believe it is currently possible to implement your request with a plug-in. There's very little you can customize about the blips on radar in lua. The size of the blips can be changed, but the setting affects all blips. Blips for ships can also be flagged as friendly or hostile (like Makefriends does) to make them red or green, but even then the colors are fixed.

There are also console commands to toggle visibility of various radar items (so in theory a plugin could be written to make certain things on radar flash), but there doesn't seem to be a toggle for mines, so even that wouldn't work for what you want.

The toggle commands I know about are:
/togglehostiles
/togglefriendlies
/toggleobjects
/togglestations
/togglecargo
/togglemissiles
/showall
Aug 15, 2016 draugath link
Aug 15, 2016 meridian link
Awesome info draugath! There are more possibilities than I was aware of.

I whipped together a quick plug-in [LINK REMOVED] to do what you want, LNH. Only the color of mines is adjustable in this one. I'm thinking I'll make a more polished version and incorporate into RadarSwap, but use this one in the interim. Usage (example for red): /minecolor 255 0 0

Doesn't include a fancy color picker, here's an online one you can use if you aren't familiar with RGB color codes (enter the 3 numbers listed at the top under RGB, omitting commas).

EDIT: The plug-in changes the color of missiles, mines and flares. It's all or nothing, no way to distinguish between them.

EDIT: Use the RadarColor plug-in instead, which is better in every way
Aug 16, 2016 Space Pancakes link
VO players can be pretty awesome sometimes, thanks for this!
Aug 16, 2016 Michael144 link
@meridian you could use navcomps color picker
Aug 16, 2016 meridian link
If/when I incorporate a more polished version into the RadarSwap plug-in (which I plan to make a GUI for anyway), it will have a pretty color picker. The simple plug-in I whipped together just now is to provide instant gratification (and will only ever be a command line interface).

Just after making my previous post, I noticed that LNH is actually looking to change colors of all radar blips. I'm working on an update to make it so. I also have some ideas to make color selection easier (both implemented but not yet tested).

I don't have any more time to work on it until Friday. I'll post the updated version over the weekend.
Aug 17, 2016 draugath link
Chocolateer, don't forget my Color Dialog in case that suits your needs.

http://pastebin.com/Ur9SXVd1
Aug 17, 2016 meridian link
I suppose it wouldn't be too difficult to plop in draugath's color picker.

LNH: I'm guessing that RGB sliders aren't very practical to someone who is colorblind, and I'd expect HSL or HSB to be more useful. Is my assumption correct? And between HSL and HSB is there one you prefer? (the difference between the two is fairly subtle). I found this website that has sliders for a variety of different color formats. Please tell me your thoughts.

I also wrote some code to convert to the Lab color space for SLM, so I could probably implement Lab sliders pretty easily as well, but I doubt Lab would be very useful to someone who is colorblind either.
Aug 17, 2016 look... no hands link
http://www.campi3d.com/External/MariExtensionPack/userGuide30/lib/HsvVSHsl.jpg the one on the right, hsv

though really a simple 16 color pallet https://upload.wikimedia.org/wikipedia/commons/d/d8/Windows_16colors_palette.png would work just fine.

I don't see any need for more then that for me.

My color vision is like going to an old tv and turning down the color knob till it's kinda washed out. I have weak perception of all three colors, not just red/green or whatever. The result is that unless the colors are very vibrant, I tend to have trouble telling them apart.

Often colors of the same apparent brightness are hard to tell apart, especially when color 1 is a mix of color 2 and some third color. so a purple (red and blue) that is about the same brightness as a red or a blue. Red and yellow are easy usually because very rarely do red and yellow objects have the same apparent brightness, often things are painted "safety yellow", which is damn near fluorescent. But Orange (red and yellow) I can mistake for a Red or Yellow. The same formula applies for telling any mix color apart from either of it's parents, given similar light values. More light, on objects helps, as cones are not as light sensitive as rods. Colors like green/blue, whatever it's called, often come out grey, or green, or blue.

I once burned part of my lawn as a kid and painted it beige trying to hide it. Looked OK to me.

As a partial coping mechanism, I usually run the "digital vibrance" settings in the geforce control panel at maximum. Others tell me its kinda acid trippy, but for me, it is a useful tool.
Aug 18, 2016 yodaofborg link
I feel for you LNH, I am also colour deficient, but only in the red spectrum so it normally doesn't affect me on a day to day basis. When people throw about the term "colour blind" I guess people with perfect vision always imagine that means we see in black and white, which simply is not the case.

But Kudo's meridian for trying to help with this! Trust me when I say it will come in handy to us deficient types. Sweet!
Aug 18, 2016 look... no hands link
Didn't know that about you Yoda. It does not interfere too badly with my day to day activities, though it sure makes wiring things more fun.
Aug 21, 2016 meridian link
Update available: RadarColor v0.3

Fully featured now to change colors of all known blip types, as well as options to change blip sizes and shapes as well. I did include a color picker, although I pretty much ended up rewriting it from scratch to have it do what I wanted it to do. Colors can also be specified by name, per SVG 1.1 (Reference).

Trying to change the color of the station docks or wormhole blips doesn't work too well. I tried experimenting with various color blending modes, but blending modes don't seem to be supported. With the wormhole, it sort of works as long as a bright color is used.

See the built-in help for more info: /radarcolor help