Jump to content
Vdauphin

StrategicMap is dark

Recommended Posts

Hello,

 

I am currently trying to use the strategic map (https://community.bistudio.com/wiki/BIS_fnc_StrategicMapOpen) for player re-deployement ( https://github.com/Vdauphin/HeartsAndMinds/pull/238 ).

 

The major issue is for unknow reason my strategic map is very dark (picture : https://cloud.githubusercontent.com/assets/14364400/19660903/e678a998-9a31-11e6-8dcc-7c5fb540349f.png). 

I created a mission to test it with module in editor ( https://github.com/Vdauphin/HeartsAndMinds/files/548774/tempMissionMP.Altis.pbo.zip) and without mod but I have still the issue.

 

How can I make strategis map brighter ? Is it an issue link to my personal parameter (I already reset all :/)?

 

Thank you very much for reading :)

 

See you soon!

 

 

 

Share this post


Link to post
Share on other sites
Guest

 

        7: BOOL - true for night version of strategic map (darker with blue tone)

 Maybe ?

Share this post


Link to post
Share on other sites

It could be to do with the map control alpha. The alpha for that display (off the top of my head it is RscDisplayStrategicMap) has been turned down/or is a a level with the black background can be seen. If you want it to be brighter I suggest you either create a mod that adjusts the "Black" control in "ControlsBackground" and set it to a light shade of grey.

 

Or you can do this:

_nul = [params] call BIS_fnc_StrategicMapOpen

_nul = [] spawn {
  waitUntil {!isNull (findDisplay 506)};
  
  _display = findDisplay 506;
  _background = _display displayCtrl 1099;

  _background ctrlSetBackgroundColor [1,1,1,1];
};

(Code not tested)

 

Hope this helps, or at least points you in the right direction.

 

Bull

Share this post


Link to post
Share on other sites

It could be to do with the map control alpha. The alpha for that display (off the top of my head it is RscDisplayStrategicMap) has been turned down/or is a a level with the black background can be seen. If you want it to be brighter I suggest you either create a mod that adjusts the "Black" control in "ControlsBackground" and set it to a light shade of grey.

 

Or you can do this:

_nul = [params] call BIS_fnc_StrategicMapOpen

_nul = [] spawn {
  waitUntil {!isNull (findDisplay 506)};
  
  _display = findDisplay 506;
  _background = _display displayCtrl 1099;

  _background ctrlSetBackgroundColor [1,1,1,1];
};

(Code not tested)

 

Hope this helps, or at least points you in the right direction.

 

Bull

Humm interesting, I am not comfortable with UI.

Your code create a white flash instead of a black one when I open the strategic map but still dark.

Still investigate ...

Share this post


Link to post
Share on other sites

The dark tinted alpha overlay seems like a bad idea, especially for night ops. Is there a way to remove the tinted overlay? When I tested using this script, I can only redeploy at a respawn_west marker and not any type of mission created FOB markers.

Share this post


Link to post
Share on other sites

Helllo,

I took a deep look in BIS_fnc_StrategicMapOpen and just get the code where the issue appearing (you can directly execute it in debug console) :

([] call bis_fnc_displayMission) createdisplay "RscDisplayStrategicMapSimulation"; 
_display = finddisplay 506; 
_fade = _display displayctrl 1099; 
_fade ctrlsetfade 1; 
_fade ctrlcommit 2;

Share this post


Link to post
Share on other sites

I saw RscDisplayStrategicMap_colorOutside_R, RscDisplayStrategicMap_colorOutside_G and RscDisplayStrategicMap_colorOutside_B variables in the bis fnc.

 

Where I could find/see similar variable link to color inside the map?

 

See you soon.

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

×