Jump to content
Sign in to follow this  
Li0n

cfgOpticsEffect

Recommended Posts

Am I doing something wrong or it is cfgOpticsEffect breaked? Trying to add B/W image effect to gunner`s optic of vehicle:

class CfgOpticsEffect {

class my_bwcolor {

type = "ColorCorrections";

priority = 1550;

params[] = {1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1};

};

};

Adding to MainTurret class:

gunnerOpticsEffect[] = {"my_bwcolor"};

result - nothing. No changes.

Edited by Li0n

Share this post


Link to post
Share on other sites

Hi...I think you have to add it to "class OpticsModes"...

Have a look at this M-107 setup....I modified it for the gun to have all modes. You can sort out which one is BW. I don't remember! It's one of the thermal modes.

It's totally unrealistic I know....but so are the 30mm cannon shells it fires :).

I use it when testing missions if I need to destroy something and have a little fun at the same time!

		class OpticsModes {
		class StepScope {
			opticsID = 1;
			useModelOptics = 1;
			opticsPPEffects[] = {"OpticsCHAbera1", "OpticsBlur1"};
			opticsZoomInit = 0.0553;
			opticsZoomMin = 0.0178;
			distanceZoomMin = 500;
			opticsZoomMax = 0.0553;
			distanceZoomMax = 200;
			memoryPointCamera = "Konec hlavne";
			opticsFlare = true;
			opticsDisablePeripherialVision = true;
			cameraDir = "";
[color="Red"]				visionMode[] = {"Normal","Ti","NVG"};
			thermalMode[] = {0,1,2,3,4};
[/color]				discreteDistance[] = {100, 200, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200};
			discreteDistanceInitIndex = 4;
		};
	};

Share this post


Link to post
Share on other sites

Thx, twirly, but I don`t need a thermal image, I just need it grayscale.

Share this post


Link to post
Share on other sites

use class BWTV

class BWTV

{

type = "ColorCorrections";

priority = 1550;

params[] = {1,2,-0.03,0.0,0.0,0.0,0.0,1.0,1.0,1.0,0.0,0.199,0.587,0.114,0.0};

};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×