Jump to content
Sign in to follow this  
Graz

Adding NVG to Holo scope only

Recommended Posts

I've been hoping to add NVG to an Eotech Scope.

Using visionMode[] = {"Normal","NVG"}; works, but it illuminates the whole screen.

Does anyone know how to make is so the holo scope is the only thing displayed in NVG?

A visual (shoddy MS paint) representation is changing this

http://imageshack.us/a/img43/9204/arma2oa2013013017275053.jpg

arma2oa2013013017275053.jpg

Into this

http://imageshack.us/a/img405/6953/arma2oa2013013017274459.jpg

arma2oa2013013017274459.jpg

I've no idea where to start so any help would be geatly appreciated.

Share this post


Link to post
Share on other sites

Perhaps have a look how the TWS sights are configured, they may help you.

Share this post


Link to post
Share on other sites

I'm not seeing anything that answers the question in there:


class SCAR_H_STD_TWS_SD : SCAR_H_LNG_Sniper_SD {
scope = public;
model = "\Ca\weapons_E\SCAR\mk17_std_tws_sup_grip";
modelOptics = "\Ca\weapons_E\LWTS_optic.p3d";
opticsPPEffects[] = {};
visionMode[] = {"Ti"};
thermalMode[] = {0, 1};
opticsZoomMin = 0.1606;
opticsZoomMax = 0.1606;
opticsZoomInit = 0.1606;
distanceZoomMin = 100;
distanceZoomMax = 100;
dexterity = 1.68;
displayName = $STR_EP1_DN_SCAR_H_STD_TWS_SD;
picture = "\Ca\weapons_E\data\icons\mk17_std_tws_sup_grip_CA.paa";
UiPicture = "\CA\weapons\data\Ico\i_regular_CA.paa";
irDistance = 100;

class OpticsModes : OpticsModes {
class StepScope : StepScope {
opticsPPEffects[] = {};
opticsZoomMin = 0.1606;
opticsZoomMax = 0.1606;
opticsZoomInit = 0.1606;
memoryPointCamera = "eye";
distanceZoomMin = 100;
distanceZoomMax = 100;
visionMode[] = {"Ti"};
thermalMode[] = {0, 1};
};
};
[/Code]

It's interesting that it uses the StepScope, I'm not sure what that is O.o

Share this post


Link to post
Share on other sites

Would take a bit of trickery. You can't give (from what I know) non scoped optics NVG option. I would suggest taking a picture of the holo sight as it is now and turn that into a scope with 0 zoom and transparent edges (I.E what would be black is transparent.)

Then you could add the Mode {NVG} option. Will take some work and tricky.

Share this post


Link to post
Share on other sites

Actually it's just the scope used in the SCAR sniper above:

		class StepScope {
			opticsID = 1;
			useModelOptics = 1;
			opticsPPEffects[] = {"OpticsCHAbera1", "OpticsBlur1"};
			opticsZoomMin = 0.087666;
			opticsZoomMax = 0.035972;
			opticsZoomInit = 0.087666;
			memoryPointCamera = "eye";
			opticsFlare = true;
			opticsDisablePeripherialVision = true;
			distanceZoomMin = 100;
			distanceZoomMax = 100;
			cameraDir = "";
			visionMode[] = {"Normal"};
			discreteDistance[] = {50, 100, 200, 300};
			discreteDistanceInitIndex = 1;
		};
	};

I'm not seeing which part limits the vision to the scope or sets the Scope to only show NVG. :(

Share this post


Link to post
Share on other sites

visionMode[] = {"NVG"};

That's NV only ;)

Share this post


Link to post
Share on other sites
Would take a bit of trickery. You can't give (from what I know) non scoped optics NVG option. I would suggest taking a picture of the holo sight as it is now and turn that into a scope with 0 zoom and transparent edges (I.E what would be black is transparent.)

Then you could add the Mode {NVG} option. Will take some work and tricky.

That's not a bad idea, it would require a significant rework.

Would it be easier to just have the holo as NVG and everything else outside as black? How would I go about doing that.

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  

×