Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Author Topic: Faction Color Change, How to?  (Read 9077 times)

Ratheden

  • Lieutenant
  • **
  • Posts: 82
  • Slaughter cannot be spelled without Laughter.
    • View Profile
Faction Color Change, How to?
« on: September 02, 2015, 03:40:44 PM »

I recently lost a good deal of my sight and now find when playing that the darker colors are very hard to see.

Where do i need to go to change the base color of a faction?
I have found where i can make the arc lines visable again (to dark for me), but the color system is it RGB, HSL or CYMK? and if it is RGB or HSL what is the 4th number?

There are other colors i would like to change to see them better (brighter or darker), but i think if i knew how to fix the first two, i could do the rest.

Thanks in advance.


Edit in one last item, stars force me to close my eyes for the few seconds i pass them, i need to tone them down.  Do you know what these stand for?
        "sunLightBrightnessScale":0.25,       
   "sunLightSpecularFactor":1.5,
   "sunLightZComponentMin":0.3,
   "sunLightZComponentMax":0.4,
« Last Edit: September 02, 2015, 03:49:11 PM by Ratheden »
Logged

Xanderzoo

  • Captain
  • ****
  • Posts: 342
    • View Profile
Re: Faction Color Change, How to?
« Reply #1 on: September 02, 2015, 04:08:10 PM »

To change the color of a faction, go to starsector-core/data/world/factions/whatever the faction name is. Then open it in a text editor and change the value called "color".

I'm not completely sure what the star values mean, but I think that to change the brightness of the star you should decrease the sunLightBrightnessScale.
Logged

Dark.Revenant

  • Admiral
  • *****
  • Posts: 2806
    • View Profile
    • Sc2Mafia
Re: Faction Color Change, How to?
« Reply #2 on: September 02, 2015, 09:33:34 PM »

That's for the shaderlib lighting in battle; it won't affect the actual star sprite.
Logged

Ratheden

  • Lieutenant
  • **
  • Posts: 82
  • Slaughter cannot be spelled without Laughter.
    • View Profile
Re: Faction Color Change, How to?
« Reply #3 on: September 02, 2015, 11:01:52 PM »

Thanks i read right past the color, i thought it was for setting up fleets
Logged

Ratheden

  • Lieutenant
  • **
  • Posts: 82
  • Slaughter cannot be spelled without Laughter.
    • View Profile
Re: Faction Color Change, How to?
« Reply #4 on: September 03, 2015, 07:43:35 PM »

Ok i can finally read and see the darker factions.

Quote
I have found where i can make the arc lines visable again (to dark for me)
. Fail, i was wrong.

I still can not see the weapon arc lines in combat, i tried changing D:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\data\config\settings.json  Lines 245&246: weaponArcColor":[255,210,210,102], "weaponArcFFColor":[255,255,250,255],but this did not help in combat at all.

Any ideas on where i should check next? i have been looking through a lot of the setup jsons to no avail.

For color i have found the first 3 numbers to be RGB, the 4th seems to be a shader.

Still not finding how to darken the star sprites.




Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23986
    • View Profile
Re: Faction Color Change, How to?
« Reply #5 on: September 03, 2015, 07:56:52 PM »

For weapon arcs: those are the right values you're changing, and it works when I change them, so I'm not sure what the issue is. The 4th value is "alpha" or transparency, 0 being completely transparent and 255 being completely opaque.

As far as planets, you want to look at
data/config/planets.json.
Each entry has a bunch of colors you could adjust as you wish; the stars tend to start with "star_".

I'd also recommend making your changes as a "mod" rather than editing the base game files, to make it easier to transition them when the next update is released.
Logged

Ratheden

  • Lieutenant
  • **
  • Posts: 82
  • Slaughter cannot be spelled without Laughter.
    • View Profile
Re: Faction Color Change, How to?
« Reply #6 on: September 03, 2015, 08:02:33 PM »

Thanks much Alex!

I had just set the 4th value to 20 to test it, and it did not help, i will change it to 255 on both.

Thanks again, will try where you said to look. 

Logged

Ratheden

  • Lieutenant
  • **
  • Posts: 82
  • Slaughter cannot be spelled without Laughter.
    • View Profile
Re: Faction Color Change, How to?
« Reply #7 on: September 03, 2015, 08:16:34 PM »

Ok the testing on the arcs, i can see the base arcs around a ship now, but the the one that follows where the weapon is pointed, seems to be just yellowish dots spaced outward on the firing line.  Is there a line compent to it or do i remember wrong and it is just dots.

Thanks for the 4th number info, i had it backwards.

Nearing my allowed limit for computer time, so will have to test some more tomorrow.

Until then, thanks again.
Logged

SafariJohn

  • Admiral
  • *****
  • Posts: 3010
    • View Profile
Re: Faction Color Change, How to?
« Reply #8 on: September 03, 2015, 08:21:28 PM »

There's just the dots.
Logged

Ratheden

  • Lieutenant
  • **
  • Posts: 82
  • Slaughter cannot be spelled without Laughter.
    • View Profile
Re: Faction Color Change, How to?
« Reply #9 on: September 03, 2015, 08:30:59 PM »

"weaponArcFFColor":[255,255,0,255],  Is this the dots? and thanks HartLord
Logged