VSD

The navigation point showing the distance.

4 posts in this topic

Posted (edited)

The navigation point showing  the distance.
Hello! I finish the server configuration and faced with the latter problem. The game has a point, which is placed on the map with the key combination SHIFT + LMB (click on the map), and when the map is removed, the game point appears to indicate the distance to the point where you clicked. How to turn it off in the game?
The difficulty I stand "Custom", these are the settings in the file "Exile.Arma3Profile"

difficulty = "Custom";
class DifficultyPresets
{
class CustomDifficulty
{
class Options
{
groupIndicators = 0;
friendlyTags = 0;
enemyTags = 0;
detectedMines = 0;
commands = 0;
waypoints = 0;
weaponInfo = 1;
stanceIndicator = 1;
reducedDamage = 0;
staminaBar = 1;
weaponCrosshair = 0;
squadRadar = 0;
visionAid = 0;
thirdPersonView = 0;
cameraShake = 1;
scoreTable = 0;
deathMessages = 0;
vonID = 0;
mapContent = 0;
autoReport = 0;
multipleSaves = 0;
};
aiLevelPreset = 2;
};
class CustomAILevel
{
skillAI = 1;
precisionAI = 0.75;
};
};
version = 1;
blood = 1;
singleVoice = 0;
gamma = 1;
brightness = 1;
maxSamplesPlayed = 50;
sceneComplexity = 250000;
shadowZDistance = 25;
viewDistance = 2500;
preferredObjectViewDistance = 2500;
terrainGrid = 15;
volumeCD = 10;
volumeFX = 10;
volumeSpeech = 10;
volumeVoN = 0;
vonRecThreshold = 0.029999999;

Needless to display on the map this point I am disabled with a script, but if you press Shift + LMB, it will not be on the map, but it will still appear in the game, when you gather the map.

I am suffering with this for three days, help me please, I think I'm starting to go crazy.

Edited by VSD

Share this post


Link to post
Share on other sites

Posted (edited)

also having this problem.
Waypoints not appearing on map (what i want).. waypoints showing in 1st / 3rd person view, while playing (not what I want).

Looking around for a fix. I'm thinking of just disabling the creation of waypoints, fullstop.

Edit:
Fixed it. I created a custom version of these two functions and just commented out the _shift stuff. 
Now there's no markers. Lovely.
ExileClient_gui_map_event_onMouseButtonDown
ExileClient_gui_map_event_onMouseButtonUp

Spoiler

/**
 * ExileClient_gui_map_event_onMouseButtonDown
 *
 * Exile Mod
 * www.exilemod.com
 * © 2015 Exile Mod Team
 *
 * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
 * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
 */

private["_mapControl","_mouseButton","_shift","_ctrl","_alt","_stopPropagation"];
_mapControl = _this select 0;
_mouseButton = _this select 1;
//_shift = _this select 4;
_ctrl = _this select 5;
_alt = _this select 6;
_stopPropagation = false;
if (_mouseButton isEqualTo 1) then
{
    ExileClientLastMapDown = diag_tickTime;
};
_stopPropagation
 

 

Spoiler

/**
 * ExileClient_gui_map_event_onMouseButtonUp
 *
 * Exile Mod
 * www.exilemod.com
 * © 2015 Exile Mod Team
 *
 * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
 * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
 */

private["_mapControl","_mouseButton","_position","_shift","_ctrl","_alt","_stopPropagation","_maxLines","_control","_buttonControl","_statusControl","_colorDropdown","_render","_color","_renderPosition","_lines","_count","_text","_linesLabel","_linesStatus","_clickPosition","_display","_contextControl"];
_mapControl = _this select 0;
_mouseButton = _this select 1;
_position = [_this select 2,_this select 3];
//_shift = _this select 4;
_ctrl = _this select 5;
_alt = _this select 6;
_stopPropagation = false;
if (ExileClientMapPolyMode) then
{
    _maxLines = getNumber(missionConfigFile >> "CfgClans" >> "maximumPolyNode");
    _control = uiNamespace getVariable ["RscExileMapCreatePoly",controlNull];
    _buttonControl = _control controlsGroupCtrl 4002;
    _statusControl = _control controlsGroupCtrl 4001;
    _colorDropdown = _control controlsGroupCtrl 4000;
    if(_mouseButton isEqualTo 0)then
    {
        if((count ExileClientClanMapLineRenderArray) < _maxLines)then
        {
            if(!ExileClientClanMapLineCompleated)then
            {
                _render = [];
                _color = (_colorDropdown lbColor (lbCursel _colorDropdown));
                _renderPosition = _mapControl ctrlMapScreenToWorld _position;
                _renderPosition pushback 0;
                if(_renderPosition call ExileClient_gui_clan_polyAddMenu_isCompleatedPoly)then
                {
                    _buttonControl ctrlEnable true;
                    _buttonControl ctrlCommit 0;
                    _statusControl ctrlSetBackGroundColor [160/255, 223/255, 59/255, 1];
                    _statusControl ctrlCommit 0;
                    _render = [ExileClientLineLastRenderPos,((ExileClientClanMapLineRenderArray select 0) select 0),_color];
                    ExileClientClanMapLineRenderArray pushback _render;
                    ExileClientClanMapLineCompleated = true;
                }
                else
                {
                    if(ExileClientLineLastRenderPos isEqualTo [0,0,0])then
                    {
                        _colorDropdown ctrlEnable false;
                    }
                    else
                    {
                        _render = [ExileClientLineLastRenderPos,_renderPosition,_color];
                        ExileClientClanMapLineRenderArray pushback _render;
                    };
                    ExileClientLineLastRenderPos = _renderPosition;
                };
            };
        }
        else
        {
            _buttonControl ctrlEnable false;
            _buttonControl ctrlCommit 0;
        };
    }
    else
    {
        if(ExileClientLastMapDown + 0.1 > diag_tickTime)then
        {
            _lines = count ExileClientClanMapLineRenderArray;
            if(_lines > 0)then
            {
                if(ExileClientClanMapLineCompleated)then
                {
                    _buttonControl ctrlEnable false;
                    _buttonControl ctrlCommit 0;
                    _statusControl ctrlSetBackGroundColor [221/255, 38/255, 38/255, 1];
                    _statusControl ctrlCommit 0;
                    ExileClientClanMapLineCompleated = false;
                };
                if(count ExileClientClanMapLineRenderArray > 1)then
                {
                    ExileClientLineLastRenderPos = (ExileClientClanMapLineRenderArray select (_lines - 1)) select 0;
                }
                else
                {
                    _colorDropdown ctrlEnable true;
                    ExileClientLineLastRenderPos = [0,0,0];
                };
                ExileClientClanMapLineRenderArray deleteAt (_lines -1);
            };
        };
    };
    _count = count ExileClientClanMapLineRenderArray;
    _text = format ["%1/%2",_count,_maxLines];
    _linesLabel = _control controlsGroupCtrl 4004;
    _linesLabel ctrlSetText _text;
    _linesLabel ctrlCommit 0;
    _linesStatus = _control controlsGroupCtrl 4003;
    _linesStatus progressSetPosition (_count/_maxLines);
    _linesStatus ctrlCommit 0;
}
else
{
    switch (_mouseButton) do
    {
        case 0:
        {
            if (_shift) then
            {
        /*
                _clickPosition = _mapControl ctrlMapScreenToWorld _position;
                _clickPosition pushBack 0;
                ExileClientWaypoints pushBack _clickPosition;
                if ((count ExileClientWaypoints) > 5) then
                {
                    ExileClientWaypoints deleteAt 0;
                };
                _stopPropagation = true;
        */
            };
        };
        case 1:
        {
            if !(_shift || _alt || _ctrl) then
            {
                if(ExileClientLastMapDown + 0.1 > diag_tickTime)then
                {
                    _display = ctrlParent _mapControl;
                    if!(ExileClientClanInfo isEqualTo [])then
                    {
                        _contextControl = _display ctrlCreate ["RscExileMapContextMenu",24032];
                        _contextControl ctrlSetPosition _position;
                        _contextControl ctrlCommit 0;
                    };
                    ExileClientMapPositionClick = _mapControl ctrlMapScreenToWorld _position;
                    ExileClientMapScreenPos = _position;
                };
            };
            _stopPropagation = true;
        };
    };
};
_stopPropagation
 

 

Edited by tropt

Share this post


Link to post
Share on other sites
Advertisement

Waypoints are a core part of arma 3, seems they are altered by Exile code but showing the distance on markers is still a core part of Arma.

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.