DrScandalous Posted February 26, 2015 Report Share Posted February 26, 2015 Would it be possible to add ATM locators on the map? So wherever the server owner places an ATM, it'll automatically show up on the map? Even if it's just a colored dot.... Link to comment Share on other sites More sharing options...
prone Posted February 26, 2015 Report Share Posted February 26, 2015 You could add map markers to your mission file? You can get the coords out of the config.cpp Link to comment Share on other sites More sharing options...
DrScandalous Posted February 26, 2015 Author Report Share Posted February 26, 2015 So there's no way to essentially link the ATM locations to create markers, like the dynamic traders do? Link to comment Share on other sites More sharing options...
prone Posted February 26, 2015 Report Share Posted February 26, 2015 Not that i have found out, but i'm still learning and don't know everything. Maybe someone else will chime in Link to comment Share on other sites More sharing options...
Darth_Rogue Posted February 26, 2015 Report Share Posted February 26, 2015 I'm sure there's a way to do it with a script. private["_ATM"]; _ATM = ["ATM_covered", "ATM_uncovered", "Phonebooth_clean", "Phonebooth_tagged"]; //NOT actual classnames forEach "_ATM" do { "some cool code to get all the ATM positions on the map"; createMarker ["ATM" , ["_xposATM","_yposATM"]]; setMarkerShape "ICON"; setMarketType "DOT"; }; I'm no coder, but that's the basic idea. Should be doable. Link to comment Share on other sites More sharing options...
Friendly Posted February 26, 2015 Report Share Posted February 26, 2015 Why not spawn your players with a portable ATM? I think that is just too overkill, you want people to have to leave base to go do things. Link to comment Share on other sites More sharing options...
Nic Posted February 26, 2015 Report Share Posted February 26, 2015 I used { _obj = str _x; if ({(_obj find _x) != -1} count ["atm_01_f.p3d","phonebooth_01_f.p3d","phonebooth_02_f.p3d","atm_02_f.p3d"] > 0) then { _marker = createMarkerLocal [_obj, position _x]; _marker setMarkerShapeLocal "ICON"; _marker setMarkerTypeLocal "mil_dot"; _marker setMarkerColorLocal "ColorGreen"; _marker setMarkerSizeLocal [0.7,0.7]; }; } count nearestObjects[player, [], (worldName call BIS_fnc_mapSize)]; to make some maps, seen in the editor, but I imagine you could adapt this to make it work on a players map on the server. Note: this only works where the atms/phonebooths are included on the default map (i.e. Altis) and won't work on custom ones added. Link to comment Share on other sites More sharing options...
auzgamer Posted March 2, 2015 Report Share Posted March 2, 2015 i done it like this //Elektro _this = createMarker ["atm3", [8168.665, 9027.165, -0.072704464]]; _this setMarkerText "ATM"; _this setMarkerType "Dot"; _this setMarkerBrush "Solid"; _marker_1300 = _this; //Guglovo _this = createMarker ["ATM2", [5759.5435, 7466.9927, -0.069170587]]; _this setMarkerText "ATM"; _this setMarkerType "Dot"; _this setMarkerBrush "Solid"; _marker_1700 = _this; place this in your init [] execVM "Buildings\markers.sqf"; Link to comment Share on other sites More sharing options...
happydayz Posted March 3, 2015 Report Share Posted March 3, 2015 Warning if you do this with all the icons now on the 0.3 release map your map will be a clutterfest.... Would be cooler if there was code that would add things to a personal map if you came across them - say the maps empty at the start of a fresh spawn but as you locate things they add markers on such as traders and atms. Or if it was optional for players to remove certain icons from their map if they didn't want the clutter Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now