Converts raw animation config variables from unobfuscated versions of BettIR or other nvg systems and converts them to tables which can be used by the newest version of BettIR's config.
Example input:
on_overlayanim = { tweenservice:Create(game.Lighting, info, {ExposureCompensation = setting.Exposure.Value}), tweenservice:Create(colorcorrection, info, {Brightness = setting.OverlayBrightness.Value, Contrast = .8, Saturation = -1, TintColor = setting.OverlayColor.Value}), tweenservice:Create(bloom, info, {Intensity = 0.45, Size = 500, Threshold = 2.371}), tweenservice:Create(DOF, info, {FarIntensity = 0.075, FocusDistance = 100.5, InFocusRadius = 0, NearIntensity = 0.10}), tweenservice:Create(gui.Overlay, info, {ImageTransparency = 0}), tweenservice:Create(gui.Noise, info, {ImageTransparency = 0.4}) } off_overlayanim = { tweenservice:Create(game.Lighting, info, {ExposureCompensation = defexposure}), tweenservice:Create(colorcorrection, info, {Brightness = 0, Contrast = 0, Saturation = 0, TintColor = Color3.fromRGB(255, 255, 255)}), tweenservice:Create(bloom, info, {Intensity = 1, Size = 24, Threshold = 2}), tweenservice:Create(DOF, info, {FarIntensity = 0, FocusDistance = 0, InFocusRadius = 0, NearIntensity = 0}), tweenservice:Create(gui.Overlay, info, {ImageTransparency = 1}), tweenservice:Create(gui.Noise, info, {ImageTransparency = 1}) }
Example output (which goes in the config file):
OnAnimation = { Lighting = { ExposureCompensation = 2, }, ColorCorrection = { Contrast = .8, Saturation = -1, }, Bloom = { Intensity = 0.45, Size = 500, Threshold = 2.371, }, DepthOfField = { FarIntensity = 0.075, FocusDistance = 100.5, InFocusRadius = 0, NearIntensity = 0.10, }, Overlay = { ImageTransparency = 0, }, Noise = { ImageTransparency = 0.4, }, }, OffAnimation = { ColorCorrection = { Brightness = 0, Contrast = 0, Saturation = 0, TintColor = Color3.fromRGB(255, 255, 255), }, Bloom = { Intensity = 1, Size = 24, Threshold = 2, }, DepthOfField = { FarIntensity = 0, FocusDistance = 0, InFocusRadius = 0, NearIntensity = 0, }, Overlay = { ImageTransparency = 1, }, Noise = { ImageTransparency = 1, }, },