JSON Format - powerof3/LightPlacer GitHub Wiki
JSON files must be placed in Data/LightPlacer folder, eg. Data/LightPlacer/YourMod/File1.json or Data/LightPlacer/Mod2.json.
They should follow this format:
[
{
// attaching lights to objects
"models": [ "" ], // full model path to object OR
"addonNodes": [ 0 ], // addon node index OR (deprecated)
"visualEffects": [ "" ], // effectshader/art object formID/editorID OR (deprecated, use formIDs)
"formIDs": [ "" ], // formID/editorID of object/worn item/vfx OR
// light placement
"lights": [
{
"whiteList": [""], // (optional)
"blackList": [""], // (optional)
"points": [0,0,0](/powerof3/LightPlacer/wiki/0,0,0), // (points OR nodes) points to attach lights to
"nodes": [""], // (points OR nodes) nodes to attach lights to
// light properties
"data":
{
"light": "", // (required) light bulb formID/editorID
"color": [0, 0, 0], // (optional) override lightbulb color
"radius": 1.0, // (optional) override lightbulb radius
"fade": 1.0, // (optional) override lightbulb fade/brightness
"shadowDepthBias": 1.0 // (required) control shadow depth bias for shadow casting lights
"offset": [0, 0, 0], // (optional) offset position from point or node
"rotation": [0, 0, 0], // (optional) set rotation (for spotlights)
"externalEmittance": "", // (optional) external emittance form
"conditions": [""], // (optional) conditions to turn on/off lights when needed
"flags": "", // (optional) flags used by Community Shaders
"colorController": {}, // (optional) animated color controller.
"radiusController": {}, // (optional) animated radius controller.
"fadeController": {}, // (optional) animated fade controller.
"positionController":{}, // (optional) animated position controller
"rotationController":{} // (optional) animated rotation controller
}
}
]
}
]
For more details, check out: