Lazarus 10 Posted July 1, 2009 On some servers I have observed that not only do your players icons show on the map they also show the players name as well. I am assuming this is a config setting of some sort. Could anybody tell me what setting needs to be changed in order to get this to work. Thanx in advance Laz Share this post Link to post Share on other sites
binkster 0 Posted July 1, 2009 this is scripting for that mission that is played.. If your wanting to use this for your own mission I suggest opening up the mission that you played that had this and find the script and see if you can use it. Share this post Link to post Share on other sites
maronkoman 10 Posted July 2, 2010 I would like this feature as well. Like the one in domination with the player names on the map. But in the domination pbo file there are over 500 script files. It would certainly be a lot easier if someone knew something about this. Ie. wich files to check in, or prefferably a script. Any pointers would be appreciated :) Share this post Link to post Share on other sites
CarlGustaffa 4 Posted July 3, 2010 Not a config scripting issue, but a mission scripting issue, and setMarkerText is the command you're looking for. Other relevant commands are name and format. The script to look for in Domination is x_client\x_marker.sqf, but kinda complex due to all the options available. Share this post Link to post Share on other sites
maronkoman 10 Posted July 3, 2010 Ok, thanks CarlGustaffa! I will try to read up on the subject Share this post Link to post Share on other sites
maronkoman 10 Posted July 4, 2010 Ok, i have read the links you gave me CarlGustaffa but im still pretty lost. Is it hard to compile a MP script that shows player names on the map? Im making my own version of the domination script and one of the few things im missing is player markers with names :) Have searched up and down for it but no luck Share this post Link to post Share on other sites
Karlo 10 Posted January 7, 2012 On some servers I have observed that not only do your players icons show on the map they also show the players name as well. I am assuming this is a config setting of some sort. Could anybody tell me what setting needs to be changed in order to get this to work.Thanx in advance Laz The code below will attach the players nik next to the players name on the map on a dedicated/multiplayer server but, the 1st time that you die and respawn, it wont work anymore and I am trying to get it to work after respawn. ;//This code places the players nik next to the player position on the map. hint "code started"; _unit = p2; _pos = getPos _unit; _markertxt = format [" - %1", name(_unit)]; _markerstr = createMarker [_markertxt,_pos]; _markerstr setMarkerShape "ICON"; _markerstr setMarkerType "mil_dot"; _markerstr setMarkerSize [0.5,0.5]; _markerstr setMarkerColor "ColorRed"; _markerstr setMarkerText _markertxt; ;// Loop with 1 sec delay while updating the player map marker position #loop ~1 _markerstr setMarkerPos getPos _unit; ? !(alive _unit) : goto "end"; hint "loop updating"; goto "loop" #end hint "loop ended"; Share this post Link to post Share on other sites