Jump to content
Sign in to follow this  
d3nn16

How to partially disable Radar with script?

Recommended Posts

Hello,

I am looking for a more subtle way of disabling the radar. At the moment I am displaying a gray square over the radar to hide it completely. But I would like something less "aggressive" for player. I would like to remove the red/green/yellow dots and keep the incoming AA missile dots and the gunner/pilot heading V-shape indicators.

I tried something with the newest script commands without success.

I tried disable/delete all controls to see if there is a way to control them but the radar dots are still displayed: screenshot

{
_x ctrlSetFade 1;
_x ctrlCommit 0
} forEach allControls (uiNamespace getvariable "rscunitinfo"); 

{
{
	_x ctrlSetFade 1;
	_x ctrlCommit 0
} forEach allControls _x;
} foreach alldisplays; ""

{
{
	ctrldelete _x;
} forEach allControls _x;
} foreach alldisplays; ""

(uiNamespace getvariable "rscunitinfo" displayCtrl 148) ctrlSetFade 1; (uiNamespace getvariable "rscunitinfo" displayCtrl 148) ctrlCommit 0

Most of the radar elements are defined in ui_f.pbo > config.bin > CA_Radar which I can easily make invisible but I still can't find the element corresponding to the colored dots. They must be controlled by a script that I couldn't find.

Thanks in advance for any help with this.

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  

×