tachi 10 Posted December 21, 2014 I found some classes, but how can i limit maximum values for gamma and brightness? For example it's 1.5 for brightness now and 2.5 for gamma. Where can i change this maxvalues? class CA_TextBrightness: CA_TextDisplayMode { style=1; idc=1003; text="$STR_DISP_OPT_BRIGHT"; x="0 * ( ((safezoneW / safezoneH) min 1.2) / 40)"; y="8.5 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; w="8 * ( ((safezoneW / safezoneH) min 1.2) / 40)"; h="1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; }; class CA_SliderBrightness: RscXSliderH { idc=112; x="8 * ( ((safezoneW / safezoneH) min 1.2) / 40)"; y="8.5 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; w="8 * ( ((safezoneW / safezoneH) min 1.2) / 40)"; h="1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; tooltip="$STR_A3_RscDisplayOptionsVideo_CA_SliderBrightness_tooltip"; }; class CA_ValueBrightness: RscEdit { idc=111; style=0; maxChars=3; x="16.2 * ( ((safezoneW / safezoneH) min 1.2) / 40)"; y="8.5 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; w="2.5 * ( ((safezoneW / safezoneH) min 1.2) / 40)"; h="1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; }; class CA_TextGamma: CA_TextDisplayMode { idc=1005; text="$STR_DISP_OPT_GAMMA"; x="0 * ( ((safezoneW / safezoneH) min 1.2) / 40)"; y="10 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; w="8 * ( ((safezoneW / safezoneH) min 1.2) / 40)"; h="1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; }; class CA_SliderGamma: CA_SliderBrightness { idc=110; x="8 * ( ((safezoneW / safezoneH) min 1.2) / 40)"; y="10 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; w="8 * ( ((safezoneW / safezoneH) min 1.2) / 40)"; h="1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; tooltip="$STR_A3_RscDisplayOptionsVideo_CA_SliderGamma_tooltip"; }; class CA_ValueGamma: RscEdit { idc=109; style=0; maxChars=3; x="16.2 * ( ((safezoneW / safezoneH) min 1.2) / 40)"; y="10 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; w="2.5 * ( ((safezoneW / safezoneH) min 1.2) / 40)"; h="1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; }; Share this post Link to post Share on other sites
groshnak 1 Posted December 22, 2014 Can't help you with that. But trying to limit them for anti-cheat purposes wont work, they can still be changed from the control panel. Share this post Link to post Share on other sites