Advertisement
Guest User

effect.sqf

a guest
Apr 6th, 2018
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 6.24 KB | None | 0 0
  1. /*  Easy color correction for Exile.           
  2.     Thanks to MGTDB for showing me the way on this.
  3.    
  4.     Installation:
  5.     Add this file to your Exile.Altis.pbo in the main directory.
  6.     Add the following line of code to the very top of your InitPlayerLocal.sqf file:
  7.    
  8.     call compileFinal preprocessFileLineNumbers "effect.sqf"; // color correction script
  9.    
  10.     Comment out or uncomment any one of the preset colors listed in the effect.sqf or feel
  11.     free to add your own.
  12.    
  13.     To generate your own correction:
  14.     Paste any one of the presets from effect.sqf into the Eden debug console. Make your changes, then copy those changes to a new
  15.     preset in the effect.sqf file.
  16.    
  17.     So easy, even I can do it.
  18.  
  19. */
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27. ppEffectDestroy ExileClientPostProcessingColorCorrections;
  28. ppEffectDestroy ExileClientPostProcessingBorderVignette;
  29.  
  30. //  "ColorCorrections" ppEffectEnable true;    
  31. //  "ColorCorrections" ppEffectAdjust [.65, 1.08, -0.04, [0.2, 0.4, 0.8, -0.22], [1, 1, 1.3, 1.3], [0, 0.5, .5, 0.0]];  
  32. //  "ColorCorrections" ppEffectCommit 0;
  33.  
  34.  
  35. // Blueish
  36.  
  37. //  "ColorCorrections" ppEffectEnable true;    
  38. //  "ColorCorrections" ppEffectAdjust [.35, 1.48, -0.04, [0.6, 0.4, 0, -0.22], [1, 1, 1.8, 1.3], [0, 0.5, .5, 0.0]];  
  39. //  "ColorCorrections" ppEffectCommit 0;
  40.  
  41. // Apocalypse yellow
  42.  
  43. //  "ColorCorrections" ppEffectEnable true;    
  44. //  "ColorCorrections" ppEffectAdjust [.55, .85, 0, [0, 0, 4, -0.98], [.25, .70, 0, 1.3], [.50, .50, .50, 0]];  
  45. //  "ColorCorrections" ppEffectCommit 0;
  46.  
  47.  
  48. //Silent Hill...no shit...lots of blue.
  49.  
  50. //  "ColorCorrections" ppEffectEnable true;    
  51. //  "ColorCorrections" ppEffectAdjust [.55, .85, 0, [1, .05, -.09, -0.98], [0, 0, 0, .95], [0, 0, .09, 0]];  
  52. //  "ColorCorrections" ppEffectCommit 0;
  53.  
  54. //Less Blue (this is my favorite)
  55.  
  56. //  "ColorCorrections" ppEffectEnable true;    
  57. //  "ColorCorrections" ppEffectAdjust [.55, .85, 0.1, [1, .4, 0, -0.25], [0, -1, -1, 0.7], [0, 0, .09, 0]];    
  58. //  "ColorCorrections" ppEffectCommit 0;
  59.  
  60. //B&W with a touch of blue.
  61.  
  62. //  "ColorCorrections" ppEffectEnable true;    
  63. //  "ColorCorrections" ppEffectAdjust [1, 0.60, 0, [0, 0, 0, 0], [1, 1, 1.2, 0], [1, 1, -1, 0]];    
  64. //  "ColorCorrections" ppEffectCommit 0;
  65.  
  66. //Angry red planet
  67.  
  68. //  "ColorCorrections" ppEffectEnable true;    
  69. //  "ColorCorrections" ppEffectAdjust [.70, 0.90, 0, [0, 0, 0, 0], [2, 1, 1, 0], [0, 1, 1, 0]];    
  70. //  "ColorCorrections" ppEffectCommit 0;
  71.  
  72. //Rad blasted
  73.  
  74. //  "ColorCorrections" ppEffectEnable true;    
  75. //  "ColorCorrections" ppEffectAdjust [.50, 0.90, 0, [0, 0, 0, 0], [1.9, 1.6, 1, .60], [0, 1, 1, 0]];    
  76. //  "ColorCorrections" ppEffectCommit 0;
  77.  
  78. //Rad scorched...right after that nuke went off
  79.    
  80. //  "ColorCorrections" ppEffectEnable true;    
  81. //  "ColorCorrections" ppEffectAdjust [.30, 1.6, 0, [0, 0, 0, 0], [1.9, 1.6, 1, .50], [0, 1, 1, 0]];    
  82. //  "ColorCorrections" ppEffectCommit 0;
  83.  
  84. // Desert baked sand
  85.  
  86. //  "ColorCorrections" ppEffectEnable true;    
  87. //  "ColorCorrections" ppEffectAdjust [1.10, 1.15, 0.25, [0, .25, .80, -0.25], [0, -1, -1, 0.7], [0, 0, .09, 0]];    
  88. //  "ColorCorrections" ppEffectCommit 0;
  89.  
  90. //Realistic Color Correction theme
  91.  
  92. //  "ColorCorrections" ppEffectEnable true;
  93. //  "ColorCorrections" ppEffectAdjust [0.88, 0.88, 0, [0.2, 0.29, 0.4, -0.22], [1, 1, 1, 1.3], [0.15, 0.09, 0.09, 0.0]];
  94. //  "ColorCorrections" ppEffectCommit 0;
  95.  
  96. //Post Apocalyptic theme
  97.  
  98. //  "ColorCorrections" ppEffectEnable true;
  99. //  "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]];  
  100. //  "ColorCorrections" ppEffectCommit 0;  
  101.  
  102. //Nightstalkers theme
  103.  
  104. //  "ColorCorrections" ppEffectEnable true;
  105. //  "ColorCorrections" ppEffectAdjust [1, 1.1, 0.0, [0.0, 0.0, 0.0, 0.0], [1.0,0.7, 0.6, 0.60], [0.200, 0.600, 0.100, 0.0]];
  106. //  "ColorCorrections" ppEffectCommit 0;
  107.  
  108. //OFP Gamma theme
  109.  
  110. //  "ColorCorrections" ppEffectEnable true;
  111. //  "ColorCorrections" ppEffectAdjust [1, 1, 0, [0.0, 0.0, 0.0, 0.0], [0.6, 1.4, 0.6, 0.7],  [0.199, 0.587, 0.114, 0.0]];  
  112. //  "ColorCorrections" ppEffectCommit 1;  
  113.  
  114. //Golden autumn theme
  115.  
  116. //  "ColorCorrections" ppEffectEnable true;
  117. //  "ColorCorrections" ppEffectAdjust [1, 1, 0, [0.0, 0.0, 0.0, 0.0], [1.8, 1.8, 0.3, 0.7],  [0.199, 0.587, 0.114, 0.0]];  
  118. //  "ColorCorrections" ppEffectCommit 0;  
  119.  
  120. //Africa theme
  121.  
  122. //  "ColorCorrections" ppEffectEnable true;
  123. //  "ColorCorrections" ppEffectAdjust[ 1, 1.3, 0.001, [-0.11, -0.65, -0.76, 0.015],[-5, -1.74, 0.09, 0.86],[-1.14, -0.73, 1.14, -0.09]];
  124. //  "ColorCorrections" ppEffectCommit 0;
  125.  
  126. //Afghan theme
  127.  
  128. //  "ColorCorrections" ppEffectEnable true;
  129. //  "ColorCorrections" ppEffectAdjust [0.9, 0.9, 0, [0, 0.1, 0.25, -0.14], [1, 1, 1, 1.26], [0.15, 0.09, 0.09, 0.0]];
  130. //  "ColorCorrections" ppEffectCommit 0;
  131.  
  132. //Middle East theme
  133.  
  134. //  "ColorCorrections" ppEffectEnable true;
  135. //  "ColorCorrections" ppEffectAdjust [0.9, 1, 0, [0.1, 0.1, 0.1, -0.1], [1, 1, 0.8, 0.528],  [1, 0.2, 0, 0]];
  136. //  "ColorCorrections" ppEffectCommit 0;
  137.  
  138. //Real Is Brown theme
  139.  
  140. //  "ColorCorrections" ppEffectEnable true;
  141. //  "ColorCorrections" ppEffectAdjust [1,1,0,[0.1,0.2,0.3,-0.3],[1,1,1,0.5],[0.5,0.2,0,1]];
  142. //  "ColorCorrections" ppEffectCommit 0;
  143.  
  144. //Gray Tone theme
  145.  
  146. //  "ColorCorrections" ppEffectEnable true;
  147. //  "ColorCorrections" ppEffectAdjust [1.0, 1.0, 0.0,[1.0, 1.0, 1.0, 0.0],[1.0, 1.0, 0.9, 0.35],[0.3,0.3,0.3,-0.1]];
  148. //  "ColorCorrections" ppEffectCommit 0;
  149.  
  150. //Cold Tone theme
  151.  
  152. //  "ColorCorrections" ppEffectEnable true;
  153. //  "ColorCorrections" ppEffectAdjust [1.0, 1.0, 0.0,[0.2, 0.2, 1.0, 0.0],[0.4, 0.75, 1.0, 0.60],[0.5,0.3,1.0,-0.1]];
  154. //  "ColorCorrections" ppEffectCommit 0;
  155.  
  156. //Winter Blue theme
  157.  
  158. //  "ColorCorrections" ppEffectEnable true;
  159. //  "ColorCorrections" ppEffectAdjust [1.1, 1.3, 0.0, [0.5, 0.5, 0.1, -0.1], [0.4, 0.75, 1.0, 0.60], [0.5,0.3,1.0,-0.1]];
  160. //  "ColorCorrections" ppEffectCommit 0;
  161.  
  162. //Winter White theme
  163.  
  164. //  "ColorCorrections" ppEffectEnable true;
  165. //  "ColorCorrections" ppEffectAdjust [1, 1, 0, [0.31, 0.31, 1.0, 0.1], [0.85, 0.85, 0.92, 0.48], [1 , 1, 1, 0.03]];
  166. //  "ColorCorrections" ppEffectCommit 0;
  167.  
  168. //Mediterranean theme
  169.  
  170. //  "ColorCorrections" ppEffectEnable true;
  171. //  "ColorCorrections" ppEffectAdjust [1.01, 1.18, -0.04, [1.0, 1.4, 0.8, -0.04], [0.55, 0.55, 0.72, 1.35],  [0.699, 1.787, 0.314, 20.03]];  
  172. //  "ColorCorrections" ppEffectCommit 1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement