[ { "name": "LightFlags", "type": "bitfield", "fields": [ "dynamic", "no specular", "don't light own object", "supersize in first person", "first person flashlight", "don't fade active camouflage" ], "width": 32 }, { "name": "Light", "fields": [ { "name": "flags", "type": "LightFlags" }, { "name": "radius", "type": "float", "default": 1.0 }, { "name": "radius modifer", "bounds": true, "type": "float", "default": [ 1.0, 1.0 ] }, { "name": "falloff angle", "type": "Angle", "default": 3.14159274101257 }, { "name": "cutoff angle", "type": "Angle", "default": 3.14159274101257 }, { "name": "lens flare only radius", "type": "float" }, { "name": "cos falloff angle", "type": "float", "cache_only": true }, { "name": "cos cutoff angle", "type": "float", "cache_only": true }, { "name": "unknown two", "type": "float", "cache_only": true, "comment": "Not setting this to 2 breaks the first person flashlight." }, { "name": "sin cutoff angle", "type": "float", "cache_only": true }, { "type": "pad", "size": 8 }, { "name": "interpolation flags", "type": "ColorInterpolationFlags" }, { "name": "color lower bound", "type": "ColorARGB" }, { "name": "color upper bound", "type": "ColorARGB" }, { "type": "pad", "size": 12 }, { "name": "primary cube map", "type": "TagReference", "groups": [ "bitmap" ] }, { "type": "pad", "size": 2 }, { "name": "texture animation function", "type": "WaveFunction" }, { "name": "texture animation period", "unit": "seconds", "type": "float" }, { "name": "secondary cube map", "type": "TagReference", "groups": [ "bitmap" ] }, { "type": "pad", "size": 2 }, { "name": "yaw function", "type": "WaveFunction" }, { "name": "yaw period", "unit": "seconds", "type": "float", "default": 1.0 }, { "type": "pad", "size": 2 }, { "name": "roll function", "type": "WaveFunction" }, { "name": "roll period", "unit": "seconds", "type": "float", "default": 1.0 }, { "type": "pad", "size": 2 }, { "name": "pitch function", "type": "WaveFunction" }, { "name": "pitch period", "unit": "seconds", "type": "float", "default": 1.0 }, { "type": "pad", "size": 8 }, { "name": "lens flare", "type": "TagReference", "groups": [ "lens_flare" ] }, { "type": "pad", "size": 24 }, { "name": "intensity", "type": "float" }, { "name": "color", "type": "ColorRGB" }, { "type": "pad", "size": 16 }, { "name": "duration", "unit": "seconds", "type": "float" }, { "type": "pad", "size": 2 }, { "name": "falloff function", "type": "FunctionType" }, { "type": "pad", "size": 8 }, { "type": "pad", "size": 92 } ], "type": "struct", "size": 352, "group": "light", "needs_preprocessed": true, "needs_reprocessed_on_extraction": true } ]