Modding Help How do you make environment darker when certain weather occurs?

Discussion in 'Starbound Modding' started by xaliber, Feb 24, 2017.

  1. xaliber

    xaliber Scruffy Nerf-Herder

    I've been trying to figure out if we're able to make environment darker (or brighter) when certain weather occurs. For example, rain storm will make the sky darker.

    I notice that there is skyOptions in .biome files:
    Code:
    "skyOptions" : [
        {
          // sunny earth days, red/orange sunrise and purple/red sunset
          "mainColor" : [255, 255, 255],
    
          "morningColors" : [ [242, 120, 0], [255, 230, 176] ],
          "dayColors" : [ [115, 224, 255], [255, 255, 255] ],
          "eveningColors" : [ [125, 17, 158], [210, 52, 50] ],
          "nightColors" : [ [24, 38, 53, 80], [58, 42, 70, 160] ],
    
          "morningLightColor" : [140, 71, 0],
          "dayLightColor" : [200, 200, 200],
          "eveningLightColor" : [160, 120, 180],
          "nightLightColor" : [40, 20, 60]
        }
      ]
    But it seems it cannot be used in .weather files.

    Anyone has ideas for workaround?
     

Share This Page