Custom Makers For Chernarus

Ultra

Member
So can ive seen custom makers on dayz servers with like triangles at airfields marking barracks and things like that and map additions is there an easy way to add these in?
 
Hey so how excatly do i use the 3d editor? to add markers on my map if so would i be able to mark out the live map off all the additional buildings i have?
 
heres an example script to help get you started

in your init.sqf add this code at the very top
Code:
//Load Markers
[] execVM "custommarkers.sqf";

create a file called custommarkers.sqf and paste this into it
(save the file in same folder as init.sqf)
Code:
If (isServer) then{
_run = true;
while {_run} do
{
  //Sector FNG
   _sectorfng = createMarker ["sectorfng", [100.000, 100.000]];
   _sectorfng setMarkerText "THIS TEXT SHOWS UP ON MAP";
   _sectorfng setMarkerShape "RECTANGLE";  
   _sectorfng setMarkerType "Flag";
   _sectorfng setMarkerColor "ColorRed";
   _sectorfng setMarkerBrush "Solid";
   _sectorfng setMarkerSize [180, 180];
   sectorfng = _sectorfng;
   };

//JIP fix - updates markers for new players joining
sleep 25;
deleteMarker "sectorfng";
};
change 100.000, 100.000 to the X,Y of were you want the marker on the map
setMarkerShape - can be "ICON", "RECTANGLE" or "ELLIPSE".
setMarkerType - Marker List some wont work!
setMarkerColor "ColorRed"; Color List
setMarkerBrush "Solid"; Brush List
toadd more markers copy this part
Code:
{
  //Sector FNG
   _sectorfng = createMarker ["sectorfng", [100.000, 100.000]];
   _sectorfng setMarkerText "THIS TEXT SHOWS UP ON MAP";
   _sectorfng setMarkerShape "RECTANGLE";  
   _sectorfng setMarkerType "Flag";
   _sectorfng setMarkerColor "ColorRed";
   _sectorfng setMarkerBrush "Solid";
   _sectorfng setMarkerSize [180, 180];
   sectorfng = _sectorfng;
   };
paste above this
//JIP fix - updates markers for new players joining

make sure you change the sectorfng and _sectorfng with a new unique name
eg marker1, marker2 etc
 
Last edited:
all that code he posted is what the editor will create. just follow the rest of,the directions using the file you saved in the editor
 
Code:
_this = createMarker ["", [12793.061, 3599.8782, -2.6651433]];
_this setMarkerText "Bridge ";
_this setMarkerType "Move";
_this setMarkerColor "ColorBlack";
_this setMarkerBrush "Solid";
_marker_2 = _this;

_this = createMarker ["", [11889.778, 6452.6128, -48.562599]];
_this setMarkerText "CheckPoint";
_this setMarkerType "Defend";
_this setMarkerBrush "Solid";
_marker_3 = _this;

_this = createMarker ["", [4187.3989, 11013.798, -338.65747]];
_this setMarkerText "Barracks";
_this setMarkerType "Man";
_this setMarkerBrush "Solid";
_marker_4 = _this;

_this = createMarker ["", [11804.962, 12695.986, -158.97932]];
_this setMarkerText "Barracks";
_this setMarkerType "Man";
_this setMarkerBrush "Solid";
_marker_5 = _this;

_this = createMarker ["", [7670.4146, 4907.3896, -190.17796]];
_this setMarkerText "CheckPoint";
_this setMarkerType "Defend";
_this setMarkerBrush "Solid";
_marker_9 = _this;

_this = createMarker ["", [2121.7209, 3103.5405, -91.717323]];
_this setMarkerText "CheckPoint";
_this setMarkerType "Defend";
_this setMarkerBrush "Solid";
_marker_10 = _this;
So I Got That From Editing
So i Paste That in the a file named markers.sqf
Then add the line:
//Load Markers
[] execVM "custommarkers.sqf";

To The Top Of the init sqf file and is that all i needa to do
 
Code:
//Sector FNG
   _sectorfng = createMarker ["sectorfng", [12793.061, 3599.8782, -2.6651433]];
   _sectorfng setMarkerText "Bridge";
   _sectorfng setMarkerShape "Circle"; 
   _sectorfng setMarkerType "Move";
   _sectorfng setMarkerColor "ColorBlack";
   _sectorfng setMarkerBrush "Solid";
   _sectorfng setMarkerSize [180, 180];
   sectorfng = _sectorfng;
   };
  
{
  //CheckPoint
   _CheckPoint = createMarker ["CheckPoint", [11889.778, 6452.6128, -48.562599]];
   _CheckPoint setMarkerText "CheckPoint";
   _CheckPoint setMarkerShape "Circle"; 
   _CheckPoint setMarkerType "Defend";
   _CheckPoint setMarkerColor "ColorGreen";
   _CheckPoint setMarkerBrush "Solid";
   _CheckPoint setMarkerSize [180, 180];
   CheckPoint = _CheckPoint;
   };
  
  //CheckPoint1
   _CheckPoint1 = createMarker ["CheckPoint1", [7670.4146, 4907.3896, -190.17796]];
   _CheckPoint1 setMarkerText "CheckPoint";
   _CheckPoint1 setMarkerShape "Circle"; 
   _CheckPoint1 setMarkerType "Defend";
   _CheckPoint1 setMarkerColor "ColorGreen";
   _CheckPoint1 setMarkerBrush "Solid";
   _CheckPoint1 setMarkerSize [180, 180];
   CheckPoint1 = _CheckPoint1;
   };
  
  //CheckPoint2
   _CheckPoint2 = createMarker ["CheckPoint2", [2121.7209, 3103.5405, -91.717323]];
   _CheckPoint2 setMarkerText "CheckPoint";
   _CheckPoint2 setMarkerShape "Circle"; 
   _CheckPoint2 setMarkerType "Defend";
   _CheckPoint2 setMarkerColor "ColorGreen";
   _CheckPoint2 setMarkerBrush "Solid";
   _CheckPoint2 setMarkerSize [180, 180];
   CheckPoint2 = _CheckPoint2;
   };
  
  //Barracks
   _Barracks = createMarker ["Barracks", [2121.7209, 3103.5405, -91.717323]];
   _Barracks setMarkerText "Barracks";
   _Barracks setMarkerShape "Circle"; 
   _Barracks setMarkerType "Man";
   _Barracks setMarkerColor "ColorRed";
   _Barracks setMarkerBrush "Solid";
   _Barracks setMarkerSize [180, 180];
   Barracks = _Barracks;
   };
  
  //Barracks1
   _Barracks1 = createMarker ["Barracks1", [4187.3989, 11013.798, -338.65747]];
   _Barracks1 setMarkerText "Barracks";
   _Barracks1 setMarkerShape "Circle"; 
   _Barracks1 setMarkerType "Man";
   _Barracks1 setMarkerColor "ColorRed";
   _Barracks1 setMarkerBrush "Solid";
   _Barracks1 setMarkerSize [180, 180];
   Barracks1 = _Barracks1;
   };

Ive Attempted This My Self Is There Anything Wrong?
 
like this

Code:
If (isServer) then{
_run = true;
while {_run} do
{
   //Bridge 1
   _bridge1 = createMarker ["bridge1", [12793.061, 3599.8782]];
   _bridge1 setMarkerText "Bridge";
   _bridge1 setMarkerShape "Circle";
   _bridge1 setMarkerType "Move";
   _bridge1 setMarkerColor "ColorBlack";
   _bridge1 setMarkerBrush "Solid";
   _bridge1 setMarkerSize [180, 180];
   bridge1= _bridge1;

  //CheckPoint1
   _CheckPoint1 = createMarker ["CheckPoint1", [7670.4146, 4907.3896]];
   _CheckPoint1 setMarkerText "CheckPoint";
   _CheckPoint1 setMarkerShape "Circle";
   _CheckPoint1 setMarkerType "Defend";
   _CheckPoint1 setMarkerColor "ColorGreen";
   _CheckPoint1 setMarkerBrush "Solid";
   _CheckPoint1 setMarkerSize [180, 180];
   CheckPoint1 = _CheckPoint1;

  //CheckPoint2
   _CheckPoint2 = createMarker ["CheckPoint2", [2121.7209, 3103.5405]];
   _CheckPoint2 setMarkerText "CheckPoint";
   _CheckPoint2 setMarkerShape "Circle";
   _CheckPoint2 setMarkerType "Defend";
   _CheckPoint2 setMarkerColor "ColorGreen";
   _CheckPoint2 setMarkerBrush "Solid";
   _CheckPoint2 setMarkerSize [180, 180];
   CheckPoint2 = _CheckPoint2;

  //Barracks
   _Barracks = createMarker ["Barracks", [2121.7209, 3103.5405]];
   _Barracks setMarkerText "Barracks";
   _Barracks setMarkerShape "Circle";
   _Barracks setMarkerType "Man";
   _Barracks setMarkerColor "ColorRed";
   _Barracks setMarkerBrush "Solid";
   _Barracks setMarkerSize [180, 180];
   Barracks = _Barracks;

  //Barracks1
   _Barracks1 = createMarker ["Barracks1", [4187.3989, 11013.798]];
   _Barracks1 setMarkerText "Barracks";
   _Barracks1 setMarkerShape "Circle";
   _Barracks1 setMarkerType "Man";
   _Barracks1 setMarkerColor "ColorRed";
   _Barracks1 setMarkerBrush "Solid";
   _Barracks1 setMarkerSize [180, 180];
   Barracks1 = _Barracks1;

};

//JIP fix - updates markers for new players joining
sleep 25;
deleteMarker "bridge1";
deleteMarker "CheckPoint1";
deleteMarker "CheckPoint2";
deleteMarker "Barracks";
deleteMarker "Barracks1";
};

you had a few }; in wrong place and missed the server only part and the "run" loop which updates the markers every 25 seconds for when new players join in

name the file custommarkers.sqf

Then add the line:
//Load Markers
[] execVM "custommarkers.sqf";

To The Top Of the init sqf file
 
Code:
# me: Karmabit"
11:28:11 "get: STRING (76561198096766604), sent: STRING (76561198096766604)"
11:28:11 "DISCONNECT: Karmabit (76561198096766604) Object: B 1-1-E:1 (Karmabit) REMOTE, _characterID: 110 at loc [9834.71,2380.71,0.00231934]"
11:28:11 Client: Remote object 5:0 not found
11:28:11 Client: Remote object 5:17 not found
11:28:11 Client: Remote object 5:18 not found
11:28:11 Client: Remote object 5:19 not found
11:28:13 [DZMS]: (DZMSUnitsMinor) 6 AI Spawned, 12 units in mission.
11:28:16 [DZMS]: (DZMSUnitsMinor) Waiting for 12/12 Units or Less to be Alive and a Player to be Near the Objective.
11:28:20 Error: Bone leftshoulder doesn't exist in some skeleton
11:28:20 Error: Bone rightshoulder doesn't exist in some skeleton
11:28:20 Error: Bone rightshoulder doesn't exist in some skeleton
11:28:20 Error: Bone leftshoulder doesn't exist in some skeleton
11:28:20 Error: Bone rightshoulder doesn't exist in some skeleton
11:28:20 Error: Bone leftshoulder doesn't exist in some skeleton
11:28:20 Error: Bone rightshoulder doesn't exist in some skeleton
11:28:20 Error: Bone leftshoulder doesn't exist in some skeleton
11:28:20 Error: Bone rightshoulder doesn't exist in some skeleton
11:28:20 Error: Bone leftshoulder doesn't exist in some skeleton
11:28:20 Error: Bone rightshoulder doesn't exist in some skeleton
11:28:20 Error: Bone leftshoulder doesn't exist in some skeleton
11:28:20 Error: Bone leftshoulder doesn't exist in some skeleton
11:28:20 Error: Bone rightshoulder doesn't exist in some skeleton
11:28:20 Error: Bone leftshoulder doesn't exist in some skeleton
11:28:20 Error: Bone rightshoulder doesn't exist in some skeleton
11:28:37 "infiSTAR.de PlayerDisconnected: _uid: 76561198136758099 _name: [APG] UltraEliteGG"
11:28:37 "get: STRING (76561198136758099), sent: STRING (76561198136758099)"
11:28:37 "DISCONNECT: [APG] UltraEliteGG (76561198136758099) Object: B 1-1-D:1 ([APG] UltraEliteGG) REMOTE, _characterID: 102 at loc [11685.4,12711.1,0.00143433]"
11:28:37 Client: Remote object 7:0 not found
11:28:37 Client: Remote object 7:18 not found
11:28:37 Client: Remote object 7:19 not found
11:28:37 Client: Remote object 7:20 not found
11:28:49 "WAI: [Mission:[Hero] Weapon Cache]: Starting... [11415.6,7130.31,0]"
11:28:50 "WAI: Spawned a group of 4 AI (Bandit) at [11415.6,7130.31,0]"
11:28:51 "WAI: Spawned a group of 4 AI (Bandit) at [11415.6,7130.31,0]"
11:28:51 "WAI: Spawned a group of 4 AI (Bandit) at [11415.6,7130.31,0]"
11:28:52 "WAI: Spawned a group of 4 AI (Bandit) at [11415.6,7130.31,0]"
11:28:52 "WAI: Spawned in 2 M2StaticMG"
11:29:11 [DZMS]: Running Major Mission SM4.
11:29:15 [DZMS]: (DZMSUnitsMajor) 6 AI Spawned, 6 units in mission.
11:29:21 [DZMS]: (DZMSUnitsMajor) 4 AI Spawned, 10 units in mission.
11:29:26 [DZMS]: (DZMSUnitsMajor) 4 AI Spawned, 14 units in mission.
11:29:32 [DZMS]: (DZMSUnitsMajor) 4 AI Spawned, 18 units in mission.
11:29:37 [DZMS]: (DZMSUnitsMajor) Waiting for 18/18 Units or Less to be Alive and a Player to be Near the Objective.
11:30:34 "infiSTAR.de PlayerConnected: ["76561198136758099","[APG] UltraEliteGG"]"
11:30:39 "WAI: [Mission:[Bandit] Armed Vehicle]: Starting... [12363.3,7068.61,0]"
11:30:40 "WAI: Spawned a group of 3 AI (Hero) at [12363.3,7068.61,0]"
11:30:41 "WAI: Spawned a group of 3 AI (Hero) at [12363.3,7068.61,0]"
11:30:41 "WAI: Spawned a group of 3 AI (Hero) at [12363.3,7068.61,0]"
11:30:42 "WAI: Spawned in 1 KORD_high_TK_EP1"
11:31:23 "infiSTAR.de PlayerConnected: ["76561198096766604","Karmabit"]"
11:31:23 Server: Object 9:12 not found (message 70)
11:31:33 NetServer::SendMsg: cannot find channel #446205657, users.card=2
11:31:33 NetServer: users.get failed when sending to 446205657
11:31:33 Message not sent - error 0, message ID = ffffffff, to 446205657 ([APG] UltraEliteGG)
11:31:33 "infiSTAR.de PlayerDisconnected: _uid: 76561198136758099 _name: [APG] UltraEliteGG"
11:31:33 "get: STRING (76561198136758099), sent: STRING (76561198136758099)"
11:31:33 "DISCONNECT: [APG] UltraEliteGG (76561198136758099) Object: B 1-1-D:1 ([APG] UltraEliteGG) REMOTE, _characterID: 102 at loc [11675.2,12732.7,0.00193787]"

11:31:33 Client: Remote object 8:0 not found
11:31:33 Client: Remote object 8:17 not found
11:31:33 Client: Remote object 8:18 not found
11:31:33 Client: Remote object 8:19 not found
11:31:33 "TIME SYNC: Local Time set to [2013,8,3,10,31]"
11:31:46 Server: Object 9:20 not found (message 70)
11:32:22 "infiSTAR.de Log: Karmabit(76561198096766604) - Left SafeZone @098129"
11:33:29 Server: Object 10:13 not found (message 70)
11:33:29 "infiSTAR.de PlayerConnected: ["76561198136758099","[APG] UltraEliteGG"]"
11:34:24 "infiSTAR.de PlayerDisconnected: _uid: 76561198136758099 _name: [APG] UltraEliteGG"
11:34:24 "get: STRING (76561198136758099), sent: STRING (76561198136758099)"
11:34:24 "DISCONNECT: [APG] UltraEliteGG (76561198136758099) Object: B 1-1-E:1 ([APG] UltraEliteGG) REMOTE, _characterID: 102 at loc [11672.6,12745.3,0.00160217]"
11:34:24 Client: Remote object 10:0 not found
11:34:24 Client: Remote object 10:17 not found
11:34:24 Client: Remote object 10:18 not found
11:34:24 Client: Remote object 10:19 not found
11:34:47 "infiSTAR.de Log: Karmabit (76561198096766604) | Dialog opened - Ids found: [-1,0,8,12,18,24,46,55,63,70,106,129,3,49]"
11:34:47 "["PVAHR_0_l3N1r9T2j6r4J5i1x8j4k",["Karmabit","76561198096766604","SLOG_EC",[68,105,97,108,111,103,32,111,112,101,110,101,100,32,45,32,73,100,115,32,102,111,117,110,100,58,32,91,45,49,44,48,44,56,44,49,50,44,49,56,44,50,52,44,52,54,44,53,53,44,54,51,44,55,48,44,49,48,54,44,49,50,57,44,51,44,52,57,93]]]"

Hmm I did what you asked and when i try to login it keeps getting me stuck on loading screen but other players can join weird thats somthing local probably But players report no markers to be seen on the map RPT Above
 
Discard Those Two Errors Fixed Them Now but everytime i get map markers installed properly its gets me stuck on the Dayz Loading Screen
 
Update : Yeah I can Load in But I Cant See The Map Markers
RPT:
Code:
MoveName: amovpercmrunsnonwbindf_rfl
23:43:26 "DayZ Epoch: PRELOAD Functions\init [[<No group>:0 (FunctionsManager)],any]"
23:43:26 "DayZ Epoch: MPframework inited"
23:43:26 "Loading Server Options"
23:43:26 "Server Options Loaded"
23:43:28 "infiSTAR.de - Waiting for BIS_fnc_init..."
23:43:31 Strange convex component93 in zero_buildings\models\mil_house_i.p3d:geometryView
23:43:31 Strange convex component94 in zero_buildings\models\mil_house_i.p3d:geometryView
23:43:31 Strange convex component95 in zero_buildings\models\mil_house_i.p3d:geometryView

23:47:33 "CRASHSPAWNER: Starting spawn logic for Crash Spawner"
23:47:33 "CRASHSPAWNER: 99% chance to spawn 'Crashed UH-1Y' with loot table 'HeliCrash' in 3260.1 seconds"
23:47:33 "HIVE: WRITE: "CHILD:388:155544766111368135:""
23:47:33 "CUSTOM: Selected "632""
23:47:33 "PUBLISH: Created RHIB with ID "155544766111368135""
23:47:33 "HIVE: WRITE: "CHILD:388:381611117890177:""
23:47:33 "CUSTOM: Selected "631""
23:47:33 "HIVE: WRITE: "CHILD:388:591811026080114:""
23:47:33 "CUSTOM: Selected "627""
23:47:33 "HIVE: WRITE: "CHILD:388:12207188052057:""
23:47:33 "CUSTOM: Selected "630""
23:47:33 "HIVE: WRITE: "CHILD:388:36474247220162:""
23:47:33 "CUSTOM: Selected "629""
23:47:33 "DEBUG VEIN: Too many objects at [1650.39,5599.49]"
23:47:33 "HIVE: WRITE: "CHILD:388:3544425247024:""
23:47:33 "CUSTOM: Selected "628""
23:47:33 "PUBLISH: Created Pickup_PK_TK_GUE_EP1_DZE with ID "381611117890177""
23:47:33 "PUBLISH: Created LandRover_CZ_EP1 with ID "591811026080114""
23:47:33 "PUBLISH: Created UH1H_DZE with ID "12207188052057""
23:47:33 "PUBLISH: Created Ikarus_TK_CIV_EP1 with ID "36474247220162""
23:47:33 "PUBLISH: Created hilux1_civil_1_open with ID "3544425247024""
23:47:33 "WAI: AI Config File Loaded"
23:47:33 "WAI: Initialising missions"
23:47:34 "WAI: AI Monitor Started"
23:47:38 Server: Object 3:14 not found (message 94)
23:47:38 "TIME SYNC: Local Time set to [2013,8,3,10,47]"
23:48:32 [DZMS]: Starting DayZ Mission System.
23:48:32 [DZMS]: Relations not found! Using DZMS Relations.
23:48:32 [DZMS]: Currently Running Version: 1.1FIN
23:48:32 [DZMS]: Mission and Extended Configuration Loaded!
23:48:32 [DZMS]: chernarus Detected. Map Specific Settings Adjusted!
23:48:32 [DZMS]: DayZ Epoch Detected! Some Scripts Adjusted!
23:48:32 [DZMS]: Loading ExecVM Functions.
23:48:32 [DZMS]: Loading Compiled Functions.
23:48:32 [DZMS]: Loading All Other Functions.
23:48:32 [DZMS]: Mission Functions Script Loaded!
23:48:32 [DZMS]: Mission Marker Loop for JIPs Starting!
23:48:32 [DZMS]: Minor Mission Clock Starting!
23:48:32 [DZMS]: Major Mission Clock Starting!
23:49:05 "infiSTAR.de PlayerDisconnected: _uid: 76561198136758099 _name: [APG] UltraEliteGG"
23:49:05 "get: STRING (76561198136758099), sent: STRING (76561198136758099)"
23:49:05 "DISCONNECT: [APG] UltraEliteGG (76561198136758099) Object: B 1-1-C:1 ([APG] UltraEliteGG) REMOTE, _characterID: 102 at loc [7119.8,8388.29,0.00140381]"
23:50:03 "RUNNING EVENT: ikea on [2015,6,6,10,50]"
23:50:03 Warning Message: Script z\addons\dayz_server\modules\ikea.sqf not found

23:48:32 [DZMS]: Mission Marker Loop for JIPs Starting!

I Thought That Line Meant IT Was all g but its was for DZMS
 
Back
Top