Here's my current plan on how it will work. Each system is divided into 5 zones, based on the sun->planet distance.
Zone 1: 0.5 x SPdist
Zone 2: 1.1 x SPdist
Zone 3: 1.9 x SPdist
Zone 4: 3.1 x SPdist
Zone 5: > 3.1 x SPdist
Here's a graphical representation

Solar flares have a "severity" level between 1 and 4, with 1 being the weakest, and 4 being the strongest. However, when a flare starts, it will take some time to build to it's maximum strength.
How severe a flare can be is determined by whether the system has solar activity and random factors, although it's now possible to have a solar flare in *any* system.
When a solar flare occurs, the effective severity of the flare on your ship (which dictates what impacts will come into play) will be based on how severe the flare currently is and which zone you are in. For example, after starting, a solar flare will eventually get to a severity of 1. If your ship is in zone 1, you will immediately start getting impacts. Zone 1 has the effective severity of 1. If your ship is in zones 2-5 though, the effective severity will be 0 (zero) - you are too far away for the flare to have an impact.
When the flare increases to severity 2, ships in zone 1 will have an effective severity of 2; ships in zone 2 would have an effective severity of 1; ships in zone 3-5 would be have an effective severity of 0.
This continues as the flare get stronger. When at severity of 3, zone 1 has an effective severity of 3, zone 2 has an effective severity of 2, zone 3 has an effective severity of 1, while zone 4 + 5 are not impacted, and so on.
Let me know if I need to explain the method in more detail.
A brief word on impacts.
Effective Severity 1: Your cabin temperature will increase if your ship is in view of the sun. Get behind a station or a planet, though, and you'll be ok.
Effective Severity 2: You will be unable to detect navigation beacons, rendering your space compass inactive. Also, comms messages could be garbled.
Effective Severity 3: Your torus drive will start malfunctioning, and attempting to jump out of the system could fail outright (with the possible loss of fuel), or lead to a mis-jump.
Effective Severity 4: Your ship could get a fuel leak, and if you don't have heat shielding in place you could start taking internal damage, potentially losing cargo.
The impacts are cumulative. So, if your ship is in a zone with the effective severity of 3, you will have impacts from severity 1, 2 and 3 in play.
Anyway, that's the plan. Let me know what you think. My code does have a visual effect for the flare itself, but given the impacts as outlined, I highly doubt anyone is going to want to get close enough to take a snapshot of one! If the "Sunspots" OXP is installed, the visual effect location will be on one of the spots.












