Frontliner 9 Report post Posted September 11, 2015 Simple Player Marker System: Create a init.sqf, Place the following into your init:[] execVM "PlayerMarker.sqf";Create a file named: PlayerMarker.sqf, place the following code into your file:if(hasInterface)then{ [] spawn { waitUntil{uiSleep 0.2;!isNil "ExileClientPlayerScore"};//wait for player to load _playerPos = createMarkerLocal ["PlayerPOS", position player];//create marker "PlayerPOS" setMarkerTextLocal "You"; "PlayerPOS" setMarkerTypeLocal "hd_destroy"; "PlayerPOS" setMarkerColorLocal "ColorRed"; while{true}do{ waitUntil {uiSleep 0.2;visibleMap};//update marker only while map is open "PlayerPOS" setMarkerPosLocal position player; }; }; };Save it and place them into your mp mission folder. First of all: i did not created this script, Im just sharing it, If i knew the orginal creator i would have placed his name on top of this topic.Second: These BE filters are ment for Epoch, And im to lazy to investigate wich filters i add'd to prevent kicking.Third: I noticed there was a similar script release on the old exile forum.(not quite similar it had a green dot, Instead of a red cross) A quick and easy way for adding the filters yourself. (Tha Nooby way, But it works! )When gettings kicked:05.04.2015 21:14:08: Frontliner (IP of your server.) (your guid or player guid) - #26 "player;player forceAddUniform"U_O_PilotCoveralls";player addBackpack "B_Carryall_mcamo";player addHeadGear "H_Bandanna_mcamo";"A second .txt file is created in your battleeye filter folder, In this case its my script.txt file.In script.txt always count +2 on the kick number you recieve, In this case its #26, Add +2 so its line 28, Then add the following line to 28:!="player;player forceAddUniform"U_O_PilotCoveralls";player addBackpack "B_Carryall_mcamo";player addHeadGear "H_Bandanna_mcamo";"Note: Dont forget the != Im not pro in creating filters, There is a easy way for this, If you want to learn how to, Use google or Read: Share this post Link to post Share on other sites
Meragon_GER 8 Report post Posted September 12, 2015 can i See my friends/party member in this script, too? Share this post Link to post Share on other sites
ReMuS 3 Report post Posted September 12, 2015 with this you see your group: /*playerMarker.sqf*/private["_markers","_members"];_markers = [];_members = [];while {true} do { sleep 0.5; if(visibleMap) then { _members = units (group player); //Create markers { _marker = createMarkerLocal [format["%1_marker",_x],visiblePosition _x]; _marker setMarkerColorLocal "ColorRed"; _marker setMarkerTypeLocal "Mil_dot"; _marker setMarkerTextLocal format["%1", _x getVariable["realname",name _x]]; _markers pushBack [_marker,_x]; } foreach _members; while {visibleMap} do { { private["_marker","_unit"]; _marker = _x select 0; _unit = _x select 1; if(!isNil "_unit") then { if(!isNull _unit) then { _marker setMarkerPosLocal (visiblePosition _unit); }; }; } foreach _markers; if(!visibleMap) exitWith {}; sleep 0.02; }; {deleteMarkerLocal (_x select 0);} foreach _markers; _markers = []; _members = []; };}; 3 Share this post Link to post Share on other sites
Meragon_GER 8 Report post Posted September 12, 2015 @ReMuS Thank you! Share this post Link to post Share on other sites
xtr3m3 19 Report post Posted September 12, 2015 (edited) Sorry i have to ask..With the Script from ReMus, can i see my own player when i'm not in a group?Do i need both scripts for my marker and the group marker or only the one from ReMus and see me and my Group on the map?Thx.€dit: I tested the Script from ReMus. It shows the own player and the players of the group! Works great! Thx! Edited September 13, 2015 by xtr3m3 1 Share this post Link to post Share on other sites
Eck the Viking 29 Report post Posted September 12, 2015 Thanks for posting this Frontline, it's a useful addition especially on bigger maps.For those interested, you can change the style of the displayed information and colour as well;"PlayerPOS" setMarkerColorLocal "ColorRed";This is the colour of the marker and you can make this what you like within reason - I prefered green - so it changes to "ColorGreen""PlayerPOS" setMarkerTypeLocal "hd_destroy";This is the type of marker used - I prefer a dot - so "hd_destroy" would be "dot"Although the CFG marker information is mainly related to A2, most of it applies to A3 and can be found here. Share this post Link to post Share on other sites
simon1603 7 Report post Posted September 13, 2015 Sorry i have to ask..With the Script from ReMus, can i see my own player when i'm not in a group?Do i need both scripts for my marker and the group marker or only the one from ReMus and see me and my Group on the map?Thx.€dit: I tested the Script from ReMus. It shows the own player and the players of the group! Works great! Thx!Hi, sorry I too have to ask, tried a few ways to add this but not getting any markers, any possibility that you could explain what you did, normally dont have any issues, but I can't get it working. Share this post Link to post Share on other sites
xtr3m3 19 Report post Posted September 13, 2015 (edited) Hi!Create a init.sqf in your root of the mpmissions folder.Paste this in the file:[] execVM "custom\playermarker.sqf";Then create a folder: custom in the root dir of the mpmissions folder.There you create a file with the name: playermarker.sqfPaste this in the file:/* playerMarker.sqf */ private["_markers","_members"]; _markers = []; _members = []; while {true} do { sleep 0.5; if(visibleMap) then { _members = units (group player); //Create markers { _marker = createMarkerLocal [format["%1_marker",_x],visiblePosition _x]; _marker setMarkerColorLocal "ColorGreen"; _marker setMarkerTypeLocal "Mil_dot"; _marker setMarkerTextLocal format["%1", _x getVariable["realname",name _x]]; _markers pushBack [_marker,_x]; } foreach _members; while {visibleMap} do { { private["_marker","_unit"]; _marker = _x select 0; _unit = _x select 1; if(!isNil "_unit") then { if(!isNull _unit) then { _marker setMarkerPosLocal (visiblePosition _unit); }; }; } foreach _markers; if(!visibleMap) exitWith {}; sleep 0.02; }; {deleteMarkerLocal (_x select 0);} foreach _markers; _markers = []; _members = []; }; };Thats all i did. Repack the mpmissions file and start the server. Do you use, BE or/and Infistar, maybe you must add some filters. Edited September 13, 2015 by xtr3m3 3 Share this post Link to post Share on other sites
simon1603 7 Report post Posted September 13, 2015 Many thanks xtr3m3, that is basically what I had except i did not have it in a custom folder, but it works perfect now, Maybe I had a one of those moments lol. Again much appreciated 1 Share this post Link to post Share on other sites
weallplay 21 Report post Posted September 13, 2015 UP! Now on 1 more Server! Great Work! Share this post Link to post Share on other sites