stanced

Player Positions on map

5 posts in this topic

I have recently attempted to launch a Exile server on Tanoa but the problem is that when I launch it it regular difficulty there's players on the map and when I launch in veteran there aren't but you don't have third person. If anyone has a fix so that there is no player positions on map and also third person please comment!

Share this post


Link to post
Share on other sites

Ok first off all look in Exile server files there you find a config.cfg and a basic.cfg look in to that and there you have your answer..


        // do NOT use custom difficulties!
        // Use either ExileRegular or ExileHardcore
        // or you will break Exile!
        difficulty = "ExileRegular";

 

Greets Mike

Share this post


Link to post
Share on other sites
Advertisement
2 hours ago, Mike Nan said:

Ok first off all look in Exile server files there you find a config.cfg and a basic.cfg look in to that and there you have your answer..


        // do NOT use custom difficulties!
        // Use either ExileRegular or ExileHardcore
        // or you will break Exile!
        difficulty = "ExileRegular";

 

Greets Mike

This is not the answer at all, all this tells you is where to change your difficulty and not what the op has asked. For a start there is nothing in the Exile difficulty settings regarding to the location on the map.

class CfgDifficultyPresets {
	class Veteran;	// External class reference
	defaultPreset = "ExileRegular";
	
	class ExileRegular : Veteran {
		BleedingRate = 0.0005;
		displayName = "Regular Exile";
		
		class Options {
			reducedDamage = 0;
			groupIndicators = 0;
			friendlyTags = 0;
			enemyTags = 0;
			detectedMines = 0;
			commands = 0;
			waypoints = 0;
			weaponInfo = 0;
			stanceIndicator = 0;
			staminaBar = 0;
			weaponCrosshair = 1;
			visionAid = 0;
			thirdPersonView = 1;
			cameraShake = 1;
			scoreTable = 0;
			deathMessages = 0;
			vonID = 0;
			squadRadar = 0;
			mapContent = 0;
			autoReport = 0;
			multipleSaves = 0;
		};
	};
	
	class ExileHardcore : Veteran {
		BleedingRate = 0.005;
		displayName = "Hardcore Exile";
		
		class Options {
			reducedDamage = 0;
			groupIndicators = 0;
			friendlyTags = 0;
			enemyTags = 0;
			detectedMines = 0;
			commands = 0;
			waypoints = 0;
			weaponInfo = 0;
			stanceIndicator = 0;
			staminaBar = 0;
			weaponCrosshair = 0;
			visionAid = 0;
			thirdPersonView = 0;
			cameraShake = 1;
			scoreTable = 0;
			deathMessages = 0;
			vonID = 0;
			squadRadar = 0;
			mapContent = 0;
			autoReport = 0;
			multipleSaves = 0;
		};
	};
};

The only difference is that with ExileHardcore you don't have a cross hair or third person view.

To remove the player location on the map you have to edit ExileClient_gui_map_event_onDraw.sqf (add it to your overwrites in config.cpp and then save a copy of the file from @exile to your mission file)

Currently i am trying to get the marker to only show if you have a GPS but im not sure why its not working at present.

This code removes the icon but if you have a GPS it still does not show it

/**
 * ExileClient_gui_map_event_onDraw
 *
 * 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["_marker","_partyUnits","_clanMembers","_control"];
{
	deleteMarkerLocal _x;
}
forEach ExileClientPartyMapMarkers;
ExileClientPartyMapMarkers = [];
if (ExileClientPartyID isEqualTo -1) then
{
	if ("ItemGPS" in (assignedItems _x) AND "ItemGPS" in (assignedItems player)) then //added
	{//added
		_marker = createMarkerLocal ["ExilePartyMarker0", getPosVisual player];
		_marker setMarkerShapeLocal "ICON";
		_marker setMarkerTypeLocal "ExilePlayer";
		_marker setMarkerDirLocal (getDirVisual player);
		_marker setMarkerAlphaLocal 0.75;
		_marker setMarkerColorLocal "ColorBlue";
		ExileClientPartyMapMarkers pushBack _marker;
	};//added
}
else
{
	_partyUnits = units (group player);
	{
		if (isPlayer _x) then 
		{
			_marker = createMarkerLocal [format ["ExilePartyMarker%1", _forEachIndex], getPosVisual _x];
			_marker setMarkerShapeLocal "ICON";
			_marker setMarkerTypeLocal "ExilePlayer";
			_marker setMarkerDirLocal (getDirVisual _x);
			_marker setMarkerAlphaLocal 0.75;
			if (_x isEqualTo player) then 
			{
				_marker setMarkerColorLocal "ColorBlue";
			}
			else 
			{
				_marker setMarkerColorLocal "ColorGreen";
				_marker setMarkerTextLocal (name _x);
			};
			ExileClientPartyMapMarkers pushBack _marker;
		};
	}
	forEach _partyUnits;
};
if!(ExileClientClanInfo isEqualTo [])then
{
	_clanMembers = ExileClientClanInfo call ExileClient_util_clan_getClanMembers;
	{
		if!(_x in _partyUnits)then
		{
			_marker = createMarkerLocal [format ["ExileClanMarker%1", _forEachIndex], getPosVisual _x];
			_marker setMarkerShapeLocal "ICON";
			_marker setMarkerTypeLocal "ExilePlayer";
			_marker setMarkerDirLocal (getDirVisual _x);
			_marker setMarkerAlphaLocal 0.75;
			_marker setMarkerColorLocal "ColorRed";
			_marker setMarkerTextLocal (name _x);
			ExileClientPartyMapMarkers pushBack _marker
		};
	}
	forEach _clanMembers;
};
if!(ExileClientWaypoints isEqualTo [])then
{
	_control = _this select 0;
	{
		_control drawIcon 
		[
			"\a3\ui_f\data\Map\MapControl\custommark_CA.paa",
			[1, 1, 1, 1],
			ExileClientWaypoints select _forEachIndex,
			16,
			16,
			0,
			"",
			0,
			0,
			"PuristaMedium"
		];
	}
	forEach ExileClientWaypoints;
};

 

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.