summaryrefslogtreecommitdiffstats
path: root/Client/Functions/Client_FX.sqf
diff options
context:
space:
mode:
authorhybrid <hybrid@hybridlabs.pro>2026-06-11 19:54:45 +0300
committerhybrid <hybrid@hybridlabs.pro>2026-06-11 19:54:45 +0300
commit68d4c9bbd80ed2e6528244569c79676b87295bd1 (patch)
tree6efd42fbf6f1281874ae0ff1f8816b01fe0c7153 /Client/Functions/Client_FX.sqf
downloada2wf_takistan-68d4c9bbd80ed2e6528244569c79676b87295bd1.tar.gz
a2wf_takistan-68d4c9bbd80ed2e6528244569c79676b87295bd1.tar.bz2
a2wf_takistan-68d4c9bbd80ed2e6528244569c79676b87295bd1.zip
init
Diffstat (limited to 'Client/Functions/Client_FX.sqf')
-rw-r--r--Client/Functions/Client_FX.sqf50
1 files changed, 50 insertions, 0 deletions
diff --git a/Client/Functions/Client_FX.sqf b/Client/Functions/Client_FX.sqf
new file mode 100644
index 0000000..7fc9d21
--- /dev/null
+++ b/Client/Functions/Client_FX.sqf
@@ -0,0 +1,50 @@
+Private ["_index"];
+_index = _this select 0;
+
+switch (_index) do {
+ case 0: {
+ // None.
+ "colorCorrections" ppEffectEnable false;
+ "chromAberration" ppEffectEnable false;
+ "radialBlur" ppEffectEnable false;
+ "filmGrain" ppEffectEnable false;
+ };
+ case 1: {
+ // High contrast postprocess added.
+ "colorCorrections" ppEffectAdjust [1, 0.9, -0.002, [0.0, 0.0, 0.0, 0.0], [1.0, 0.6, 0.4, 0.6], [0.199, 0.587, 0.114, 0.0]];
+ "colorCorrections" ppEffectCommit 1;
+ "colorCorrections" ppEffectEnable true;
+ };
+ case 2: {
+ // Blue color corrections added (movie night style).
+ "colorCorrections" ppEffectAdjust [1, 1, 0, [0.0, 0.0, 0.0, 0.0], [0.6, 0.6, 1.8, 0.7], [0.199, 0.587, 0.114, 0.0]];
+ "colorCorrections" ppEffectCommit 1;
+ "colorCorrections" ppEffectEnable true;
+ };
+ case 3: {
+ // Color corrections.
+ "colorCorrections" ppEffectAdjust [1, 0.8, -0.002, [0.0, 0.0, 0.0, 0.0], [0.6, 0.7, 0.8, 0.65], [0.199, 0.587, 0.114, 0.0]];
+ "colorCorrections" ppEffectCommit 1;
+ "colorCorrections" ppEffectEnable true;
+ };
+ case 4: {
+ // Color corrections.
+ "colorCorrections" ppEffectAdjust [1, 1, -0.0045, [0.0, 0.0, 0.0, 0.0], [1, 0.6, 0.4, 0.4], [0.199, 0.587, 0.114, 0.0]];
+ "colorCorrections" ppEffectCommit 1;
+ "colorCorrections" ppEffectEnable true;
+ // Light film grain.
+ "filmGrain" ppEffectEnable true;
+ "filmGrain" ppEffectAdjust [0.02, 1, 1, 0.1, 1, false];
+ "filmGrain" ppEffectCommit 1;
+ };
+ case 5: {
+ // Color corrections.
+ "colorCorrections" ppEffectAdjust [1, 1, -0.002, [0.1, 0.05, 0.0, 0.02], [1.2, 1.0, 0.8, 0.666], [0.5, 0.5, 0.5, 0.0]];
+ "colorCorrections" ppEffectCommit 1;
+ "colorCorrections" ppEffectEnable true;
+ // Light film grain.
+ "filmGrain" ppEffectEnable true;
+ "filmGrain" ppEffectAdjust [0.02, 1, 1, 0.1, 1, false];
+ "filmGrain" ppEffectCommit 1;
+ };
+}; \ No newline at end of file