Jump to content
BL1P

How to turn off thermals... ?

Recommended Posts

How do you turn off thermals on ALL weapons and Items ?

I have used the DisableTIEquiment on vehicles created in the mission, but cant seem to figure out how to disable the Titans and the laser desigators thermals for example.

Ideally would like to Globally disable the ability to use all thermals in the mission.

Yours hopefully.

BL1P

Edited by BL1P

Share this post


Link to post
Share on other sites
Just remove the weapons.

I thought about that, But I would like to keep the weapons but without the thermals.

Edited by BL1P

Share this post


Link to post
Share on other sites

So I guess this cant be done then ?

Share this post


Link to post
Share on other sites
So I guess this cant be done then ?

Not without a replacement AddOn.

Just removing the weapons from your mission is the easy and realistic way.

ANd I think not many people will try to scan the area with the termal scope of an Titan :D

Share this post


Link to post
Share on other sites
Not without a replacement AddOn.

Just removing the weapons from your mission is the easy and realistic way.

ANd I think not many people will try to scan the area with the termal scope of an Titan :D

What a shame then :(

By the way I have seen players using the thermals on an empty titan just to scan an area for player infantry.

Share this post


Link to post
Share on other sites

This is the Solution I am using atm.

init.sqf

execVM "naughtyThermal.sqf";

naughtyThermal.sqf

_layer = 85125; 

while {true} do 
{ 
if (currentVisionMode player == 2) then
	{ 
	  	//hint "Thermals are active";
		_layer	cutText ["FLIR Mode Requires Maintenance. Please Turn off Thermals.","BLACK",-1];
		waituntil {currentVisionMode player != 2};
		_layer cutText ["", "PLAIN"];
	};
	sleep 1; 
}

If I could do SetcurrentVisionMode player that would be better :/

Thanks Yink.

Edited by BL1P
  • Like 1

Share this post


Link to post
Share on other sites

Thanks to BL1P for the kickstart with the script - I have made some changes to restrict certain items completely and cripple others ...

This all works great , however the player can change his view distance once zoomed in and retain that range until the next time he uses the thermals. I need to put a loop somewhere that checks if the player is still in thermal mode and apply the view distance settings ...

any help appreciated to refine this ;)

// disableTheral.sqf
// by CRE4MPIE
// ver 0.2
// 2015-04-29 11:44pm
// contributions from BIStudio Forums, edited by CRE4MPIE


_layer = 85125; 
_launchers =["launch_I_Titan_short_F","launch_O_Titan_short_F","launch_B_Titan_short_F","launch_Titan_short_F","launch_Titan_F","launch_O_Titan_F","launch_I_Titan_F","launch_B_Titan_F"];  // launcher array


while {true} do 
{ 
if (currentVisionMode player == 2) then																		// check for TI Mode
{
if (currentweapon player in _launchers) then															// check if player has launcher as current weapon
	{ 																										
           _layer    cutText ["Thermal Imaging OFFLINE!.","BLACK",-1];										// Blackout screen with Text
		playSound "FD_CP_Not_Clear_F";
           waituntil {currentVisionMode player != 2};
           _layer cutText ["", "PLAIN"];
	}
else
{
if (alive (getConnectedUAV player)) then																// check if player is connected to a UAV			
	{																											
           _layer    cutText ["Thermal Imaging OFFLINE while connected to a UAV terminal!.","BLACK",-1];	// Blackout screen with Text
		playSound "FD_CP_Not_Clear_F";
           waituntil {currentVisionMode player != 2};
           _layer cutText ["", "PLAIN"];
	}
	else
	{
		setViewDistance 1250;																			// set viewdistance for all other thermals																					
		waituntil {currentVisionMode player != 2};
		setViewDistance -1;																				// reset viewdistance to default
	}
};	
};	

sleep 1;
};

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

×