Examples - powerof3/LightPlacer GitHub Wiki

  1. Add lights to vanilla embers
[
  {
    "models": [ "effects\\fxfirewithembers01_lite.nif", "effects\\fxfirewithembers02.nif" ],
    "lights": [
      {
        "points": [ [ 0, 0, 0 ] ],
        "data": {
          "light": "LightCampFire01",
          "radius": 256.0,
          "fade": 1.2
        }
      }
    ]
  },
  {
    "addonNodes": [ 68 ],
    "lights": [
      {
        "whiteList": ["effects\\fxfirewithembers01_cheap.nif"],
        "data": {
          "light": "LightCampFire01",
          "radius": 256.0,
          "fade": 1.2
        }
      }
    ]
  }
]
  1. Add window lights to the Blue Palace entrance
[
  {
    "models": [ "architecture\\solitude\\sbluepalaceentrance.nif" ],
    "lightData": [
      {
        "points": [
          [ -161.964, -151.957, 325.189 ],
          [ -161.964, 152.03, 325.189 ],
          [ -161.964, -152, 82.9129 ],
          [ -161.964, 152, 82.9126 ],
          [ 8.00105, -321.964, 314.924 ],
          [ 8.0007, -321.964, 82.9127 ],
          [ 8.00061, 321.964, 314.924 ],
          [ 8.00061, 321.964, 82.9128 ]
        ],
        "data": {
          "light": "SolitudeInnWindowtDefault",
          "radius": 64,
          "fade": 2
        }
      },
      {
        "points": [ [ 490.335, -152.014, -208.954 ] ],
        "data": {
          "light": "SolitudeInnWindowtDefault",
          "radius": 192,
          "fade": 2.5
        }
      }
    ]
  }
]

3.Add funky RGB light to all weapons with shock enchantments

[
  {
    "visualEffects": [ "EnchShockFXShader" ],
    "lights": [
      {
        "points": [ [ 0.0, 0.0, 0.0 ] ],
        "data": {
          "light": "TestLightingViolet",
          "fade": 4.0,
          "radius": 128,
          "colorController": {
            "interpolation": "Linear",
            "keys": [
              {
                "time": 0.0,
                "color": [ 255, 0, 0 ]
              },
              {
                "time": 3.0,
                "color": [ 0, 255, 0 ]
              },
              {
                "time": 6.0,
                "color": [ 0, 0, 255 ]
              },
              {
                "time": 9.0,
                "color": [ 255, 0, 0 ]
              }
            ]
          }
        }
      }
    ]
  }
]