ghostfur Posted January 27, 2015 Report Share Posted January 27, 2015 Hi iam trying to put in custom markers to epoch altis but i dont know how i tryed couple of things but doesnt work at all! I putted this in my mission init.sqf // Markers [] execVM "scripts\custom_marker.sqf"; I've created a file named custom_marker.sqf this is what i putted in // TEST 1 MARKER _Tikhaya = createMarker ["_Tikhaya ", [23595.9,3.19,18002.4]]; _Tikhaya setMarkerText "Tikhaya City"; _Tikhaya setMarkerType "City"; _Tikhaya setMarkerColor "ColorRed"; _Tikhaya = _Tikhaya ; //TEST 2 MARKER _wreck = createMarker ["_wreck ", [23596.7,3.19,17999.2]]; _wreck setMarkerText "Junkyard"; _wreck setMarkerType "Depot"; _wreck setMarkerColor "ColorBlue"; _wreck = _wreck ; It was just for testing markers on map Nothing shows up tryed couple of things maby someone got a idee i just want to add some custom markers on different positions in map Greetings Michel Link to comment Share on other sites More sharing options...
0 itsatrap Posted February 21, 2015 Report Share Posted February 21, 2015 You have to put in an position ? Link to comment Share on other sites More sharing options...
0 nedfox Posted February 21, 2015 Report Share Posted February 21, 2015 IMO it's easier to use the mission.sqm from your mission.pbo and fill the {Markers} bit. Like this (make sure you use increasing numbers and put the proper number on top). class Item11 { position[]={4338.8359,101.17657,6317.54}; name="PlanicaTraders"; type="mil_circle"; colorName="ColorBlack"; }; class Item12 { position[]={2247.085,35.5191,9473.3262}; name="IslandVehiclePartsVendors"; type="mil_circle"; colorName="ColorBlack"; }; class Item13 { position[]={3804.6707,-1.1429843,7656.6055}; name="Boat2"; type="mil_circle"; colorName="ColorBlack"; }; Link to comment Share on other sites More sharing options...
0 tomasz73 Posted June 14, 2015 Report Share Posted June 14, 2015 IMO it's easier to use the mission.sqm from your mission.pbo and fill the {Markers} bit. Like this (make sure you use increasing numbers and put the proper number on top). class Item11 { position[]={4338.8359,101.17657,6317.54}; name="PlanicaTraders"; type="mil_circle"; colorName="ColorBlack"; }; class Item12 { position[]={2247.085,35.5191,9473.3262}; name="IslandVehiclePartsVendors"; type="mil_circle"; colorName="ColorBlack"; }; class Item13 { position[]={3804.6707,-1.1429843,7656.6055}; name="Boat2"; type="mil_circle"; colorName="ColorBlack"; }; M3 Editor if I have a position in the map coordinates 047068 x:4757.21m y:8474.98m z:324.429 how it enter correctly Link to comment Share on other sites More sharing options...
0 Suppe Posted June 14, 2015 Report Share Posted June 14, 2015 here: _position = [23595.9,3.19,18002.4]; _markername = format ["BLABLA"]; _marker = createMarker [_markername, _position]; _markertext = format ["NAMEONMAP"]; _markercolor = "ColorRed"; _marker setMarkerShape "ICON"; _marker setMarkerType "mil_triangle"; _marker setMarkerColor _markercolor; _marker setMarkerText _markertext; Link to comment Share on other sites More sharing options...
0 tomasz73 Posted June 14, 2015 Report Share Posted June 14, 2015 how do you count ? Can I use just that. and whether it will correctly . I ask because I have also other positions Link to comment Share on other sites More sharing options...
0 Tactical Anders Posted June 14, 2015 Report Share Posted June 14, 2015 I use this: MARKER1.SQF _marker = createMarker ["Marker1",[6188.77,16840.1,0]]; _marker setMarkerType "mil_objective"; "Marker1" setMarkerText "West Safezone"; "Marker1" setMarkerColor "ColorBlack"; "marker1" setMarkerSize [1,1] In init.sqf put: execVM "marker1.sqf"; Works like a charm, and as someone already said it can be done rather easily in the mission.sqm aswell! (Im not at all into scripting so maybe i messed up somwhere but i never was able to add two markers in the same script.. 3 markers = marker1, marker2 and marker3.sqf...) Link to comment Share on other sites More sharing options...
0 W4lly Posted June 15, 2015 Report Share Posted June 15, 2015 I dont understand a thing, the markers must be dynamic in random location or static .. that is always in the same coords on the map? cuz in the second case by opening the file mission.sqm with eliteness need 30 sec .. class Item26 { position[] = {947.996,0.756651,7475.45}; name = "radiationzone"; markerType = "ELLIPSE"; type = "Empty"; colorName = "ColorRed"; fillName = "Grid"; text = "Radiation Zone"; a = 500; b = 500; }; inside class markers .. NOTE . position in mission.sqm is X,Z,Y not X,Y,Z Link to comment Share on other sites More sharing options...
0 rhammer2003 Posted June 16, 2015 Report Share Posted June 16, 2015 Hello, I am trying to get my markers working also thru my Mission.sqm, I have the marker showing up fine but can not get my text to show up. everything looks correct to me. please look at my markers and let me know if any of you see an issue. the maker I am trying to show text is Item 3 could someone assist with this? class Markers { items = 4; class Item0 { position[] = {14939.934,0.053499073,15083.272}; name = "center"; type = "Empty"; }; class Item1 { position[] = {23600.639,3.19,18000.72}; name = "respawn_east"; type = "Empty"; }; class Item2 { position[] = {23600.611,3.19,18000.768}; name = "respawn_west"; type = "Empty"; }; class Item3 { position[] = {20871.3,0.0014143,19198}; name ="northfob"; text ="Military Vehicles"; markerType ="ELLIPSE"; type ="Empty"; colorName ="ColorRed"; fillName="Grid"; a = 300; b = 300; }; }; }; Link to comment Share on other sites More sharing options...
0 W4lly Posted June 16, 2015 Report Share Posted June 16, 2015 Text Only Icon markers will use this text. It will be displayed in small colored font directly east of the marker, irrespective of the marker's angle. put another marker in the same place and other color like this class Item4 { position[] = {20871.3,0.0014143,19198}; name = "MilVeh"; text = "Military Vehicles"; type = "mil_dot"; colorName = "ColorBlack"; }; Link to comment Share on other sites More sharing options...
0 Chainsaw Squirrel Posted September 12, 2015 Report Share Posted September 12, 2015 (edited) It was so easy in a2 with the editor .. just open the mission.sqm in the editor .. you can see all the markers, easy to see where you want it .. of course you can if you know exactly where you want ..just edit the mission.sqm in notepad++ , but now it seems it has gotten way to complicated wtf .. why do so many make newer more complicated .If you can still do this way I haven seen it mentioned .. maybe it is still doable ? Edited September 12, 2015 by Chainsaw Squirrel Link to comment Share on other sites More sharing options...
0 Richie Posted September 12, 2015 Report Share Posted September 12, 2015 It was so easy in a2 with the editor .. just open the mission.sqm in the editor .. you can see all the markers, easy to see where you want it .. of course you can if you know exactly where you want ..just edit the mission.sqm in notepad++ , but now it seems it has gotten way to complicated wtf .. why do so many make newer more complicated .If you can still do this way I haven seen it mentioned .. maybe it is still doable ?I still do mine via the mission.sqm, I know you can script them but mission.sqm has always worked. Link to comment Share on other sites More sharing options...
0 Chainsaw Squirrel Posted September 12, 2015 Report Share Posted September 12, 2015 (edited) I still do mine via the mission.sqm, I know you can script them but mission.sqm has always worked.GREAT to know .. Im just getting into a3 servers, held my feet in the sand with a2 for a while.. I know where I been lol .. a lot of it is so different than a2 .. or so I thought .. Im finding so much still the same .. just moved to new locations Edited September 12, 2015 by Chainsaw Squirrel Link to comment Share on other sites More sharing options...
0 SadBoy1981 Posted September 13, 2015 Report Share Posted September 13, 2015 i run it from init.sqfexample: [] execVM "marker_1_pos.sqf"; [] execVM "marker_1_name.sqf";marker_1_pos.sqf_this = createMarker ["each marker name must to be different", [3000.6, 10000.1, 0]]; _this setMarkerShape "ELLIPSE"; _this setMarkerColor "ColorRed"; _this setMarkerAlpha 0.9; _this setMarkerSize [100, 100];marker_1_name.sqf _this = createMarker ["each marker name must to be different", [3000.6, 10000.1, 0]]; _this setMarkerText "Text on Map"; _this setMarkerType "mil_dot"; _this setMarkerColor "ColorBlack"; Link to comment Share on other sites More sharing options...
0 Chainsaw Squirrel Posted September 15, 2015 Report Share Posted September 15, 2015 I was going to use the pos from m3editor, just paste in the location from the sqf such as 1942.93,12276.6,0 or does it need to be 12276.6,1942.93,0 ? , and thanks for the info Link to comment Share on other sites More sharing options...
0 Richie Posted September 15, 2015 Report Share Posted September 15, 2015 I was going to use the pos from m3editor, just paste in the location from the sqf such as 1942.93,12276.6,0 or does it need to be 12276.6,1942.93,0 ? , and thanks for the info If you run it from your mission.sqm height is the middle value, if you run it from .sqf then height is the last value. Link to comment Share on other sites More sharing options...
0 Chainsaw Squirrel Posted September 15, 2015 Report Share Posted September 15, 2015 I just tried one then the other the one listed in m3editor was the correct one just as it was listed solved that one :) Link to comment Share on other sites More sharing options...
0 Chainsaw Squirrel Posted September 30, 2015 Report Share Posted September 30, 2015 The Fill name for this way .. fillName="DiagGrid" like this _this setMarkerfillName "DiagGrid"; ?and for the angle would it be written as this _this setMarkerSize [500, 300, 27.28384]; ??Thankx fillName="DiagGrid"; a=500; b=300; angle=27.28384; Link to comment Share on other sites More sharing options...
Question
ghostfur
Hi iam trying to put in custom markers to epoch altis but i dont know how i tryed couple of things but doesnt work at all!
I putted this in my mission init.sqf
It was just for testing markers on map
Nothing shows up tryed couple of things maby someone got a idee i just want to add some custom markers on different positions in map
Greetings Michel
Link to comment
Share on other sites
17 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now