Blestda86ta Posted August 20, 2017 Report Share Posted August 20, 2017 Trying to find a way to right click and turn off/on ambient sound and color corrections. I'm using the 'deploy anything' script. Anyone know how to do this? I also need the script for color correction/ambient sound if they are scripts. Link to comment Share on other sites More sharing options...
0 juandayz Posted August 22, 2017 Report Share Posted August 22, 2017 18 hours ago, Blestda86ta said: Trying to find a way to right click and turn off/on ambient sound and color corrections. I'm using the 'deploy anything' script. Anyone know how to do this? I also need the script for color correction/ambient sound if they are scripts. try this: 1-Create in this path: yoru server root\mpmissions\your instance\colorEnv\ 2-Into this new path create: A-env.sqf Spoiler if(isNil "Environment") then {Environment = true;} else {Environment = !Environment}; if (Environment) then { enableEnvironment = false; }else{ enableEnvironment = true; }; B- colormenu.sqf Spoiler _Actions = "colorEnv\"; _path1 = 'player execVM "'+_Actions+'%1"'; MainActionMenu = [ ["COLOR MENU",true], ["AFRICA", [], "", -5, [["expression", format[_path1,"africa.sqf"]]], "1", "1"], ["WASTELAND", [], "", -5, [["expression", format[_path1,"wasteland.sqf"]]], "1", "1"], ["NORMAL", [], "", -5, [["expression", format[_path1,"normal.sqf"]]], "1", "1"], ["", [], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; showCommandingMenu "#USER:MainActionMenu"; Note: infistar maybe need add #MainActionMenu D- africa.sqf Spoiler colortheme = ppEffectCreate ["colorCorrections", 1501]; colortheme ppEffectEnable true; colortheme 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]]; colortheme ppEffectCommit 0; wasteland.sqf Spoiler colortheme = ppEffectCreate ["colorCorrections", 1501]; colortheme ppEffectEnable true; colortheme ppEffectAdjust [1, 1, 0, [0.0, 0.0, 0.0, 0.0], [0.8*2, 0.5*2, 0.0, 0.7], [0.9, 0.9, 0.9, 0.0]]; colortheme ppEffectCommit 0; normal.sqf Spoiler colortheme ppEffectEnable false; ppEffectDestroy colortheme; 3-Now in your config,sqf (deploy anything mod) add this two lines to add the actions to the etool. ["ItemEtool","ColorCorrection","execVM 'colorEnv\colormenu.sqf';","true"], ["ItemEtool","Environmentsound","execVM 'colorEnv\env.sqf';","true"] Link to comment Share on other sites More sharing options...
0 Blestda86ta Posted August 22, 2017 Author Report Share Posted August 22, 2017 4 hours ago, juandayz said: try this: 1-Create in this path: yoru server root\mpmissions\your instance\colorEnv\ 2-Into this new path create: A-env.sqf Reveal hidden contents if(isNil "Environment") then {Environment = true;} else {Environment = !Environment}; if (Environment) then { enableEnvironment = false; }else{ enableEnvironment = true; }; B- colormenu.sqf Reveal hidden contents _Actions = "colorEnv\"; _path1 = 'player execVM "'+_Actions+'%1"'; MainActionMenu = [ ["COLOR MENU",true], ["AFRICA", [], "", -5, [["expression", format[_path1,"africa.sqf"]]], "1", "1"], ["WASTELAND", [], "", -5, [["expression", format[_path1,"wasteland.sqf"]]], "1", "1"], ["NORMAL", [], "", -5, [["expression", format[_path1,"normal.sqf"]]], "1", "1"], ["", [], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; showCommandingMenu "#USER:MainActionMenu"; Note: infistar maybe need add #MainActionMenu D- africa.sqf Reveal hidden contents colortheme = ppEffectCreate ["colorCorrections", 1501]; colortheme ppEffectEnable true; colortheme 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]]; colortheme ppEffectCommit 0; wasteland.sqf Reveal hidden contents colortheme = ppEffectCreate ["colorCorrections", 1501]; colortheme ppEffectEnable true; colortheme ppEffectAdjust [1, 1, 0, [0.0, 0.0, 0.0, 0.0], [0.8*2, 0.5*2, 0.0, 0.7], [0.9, 0.9, 0.9, 0.0]]; colortheme ppEffectCommit 0; normal.sqf Reveal hidden contents colortheme ppEffectEnable false; ppEffectDestroy colortheme; 3-Now in your config,sqf (deploy anything mod) add this two lines to add the actions to the etool. ["ItemEtool","ColorCorrection","execVM 'colorEnv\colormenu.sqf';","true"], ["ItemEtool","Environmentsound","execVM 'colorEnv\env.sqf';","true"] @juandayz Thank you! Link to comment Share on other sites More sharing options...
0 Blestda86ta Posted August 23, 2017 Author Report Share Posted August 23, 2017 @juandayz Not working :( how do I add an infistar #mainactionmenu? Link to comment Share on other sites More sharing options...
0 juandayz Posted August 23, 2017 Report Share Posted August 23, 2017 Just now, Blestda86ta said: @juandayz Not working :( how do I add an infistar #mainactionmenu? wait a minute.. the other one works? the env.sqf? Link to comment Share on other sites More sharing options...
0 Blestda86ta Posted August 23, 2017 Author Report Share Posted August 23, 2017 Just now, juandayz said: wait a minute.. the other one works? the env.sqf? No Link to comment Share on other sites More sharing options...
0 juandayz Posted August 23, 2017 Report Share Posted August 23, 2017 Just now, Blestda86ta said: No the option on etool appear? Link to comment Share on other sites More sharing options...
0 Blestda86ta Posted August 23, 2017 Author Report Share Posted August 23, 2017 2 hours ago, juandayz said: the option on etool appear? yes the option came up but nothing happened when I pressed Link to comment Share on other sites More sharing options...
0 juandayz Posted August 23, 2017 Report Share Posted August 23, 2017 Just now, Blestda86ta said: yes the option came up but nothing happened when I pressed do you put all sqf that you created into mpmissions\your instance\colorEnv\ ? I dont have arma2 anymore so cannot test.. but try replace the env.sqf by this other one: env.sqf Spoiler ColorMenu = [ ["COLOR MENU",true], ["NORMAL", [], "", -5, [["expression","execVM 'colorEnv\normal.sqf'"]], "1", "1"], ["AFRICA", [], "", -5, [["expression","execVM 'colorEnv\africa.sqf'"]], "1", "1"], ["WASTELAND", [], "", -5, [["expression","execVM 'colorEnv\wasteland.sqf'"]], "1", "1"], ["", [], "", -5, [["expression", ""]], "1", "0"], ["Exit", [13], "", -3, [["expression", ""]], "1", "1"] ]; showCommandingMenu "#USER:ColorMenu"; then try the option "colorcorrection" located over the etool again. If still dsnt works.. try to do it pressing a key.. (using a custom keyboard.sqf) Link to comment Share on other sites More sharing options...
0 Blestda86ta Posted August 23, 2017 Author Report Share Posted August 23, 2017 @juandayz Got it to work, thanks! juandayz 1 Link to comment Share on other sites More sharing options...
0 Hooty Posted August 23, 2017 Report Share Posted August 23, 2017 22 hours ago, Blestda86ta said: @juandayz Not working :( how do I add an infistar #mainactionmenu? Anytime in a file there is a showCommandingMenu "#WhateverThisIsJustAnExample"; You need to add to infistar just search _cMenu in the AHconfig.sqf. You will see other #CommandingMenus. juandayz 1 Link to comment Share on other sites More sharing options...
0 Hooty Posted August 24, 2017 Report Share Posted August 24, 2017 Even though your a copy cat and a snake. Trying to copy my server from the custom vehicles, custom traders, map etc. I still just helped you. After what I seen today. That will be the last time. Spoiler Spoiler from my rcon second to last name. "I took your ip out your welcome" Spoiler 76561198043336447 Steam ID 10 days ago Dakota Name 10 days ago d7442d7ed064d648be6a621d3a35c8ca Legacy BattlEye GUID 10 days ago 2a5ce1a3ee692efb5882da7c627e6802 BattlEye GUID 10 days ago Da26ta Name a month ago Blestda86ta Name 9 months ago Blake Name a year ago last chat messages making a cherno map all I'm doing is looking at the af and logging out 08/12/2017 4:06 PM (Side) Dakota making a cherno map (Side) Dakota all i'm doing is looking at the af and logging out Link to comment Share on other sites More sharing options...
Question
Blestda86ta
Trying to find a way to right click and turn off/on ambient sound and color corrections. I'm using the 'deploy anything' script. Anyone know how to do this? I also need the script for color correction/ambient sound if they are scripts.
Link to comment
Share on other sites
11 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now