Jump to content
  • 0

Map Markers ?


Skin

Question

Hi There

 

This is driving me mad !!  Please can someone help.....

 

I would like to add a simple map marker on Altis s when you press M it shows on there... Would someone please have a look and see what I have done wrong, it should work ?

 

In epoch.altis.pbo  is custom\markers.sqf

 

// Sector H
_sector_h  = createMarker ["sector_h", [8455.46, 25144.9]];
_sector_h  setMarkerShape  "ICON";
_sector_h  setMarkerType "DOT";
_sector_h  setMarkerColor "ColorRed";

 

And in my init,sqf is

 

[] execVM "custom\markers.sqf";

 

and when I join the server I get this in my rpt and a cfg.bin error ?

 

14:06:10 Warning Message: No entry 'bin\config.bin/CfgMarkers.DOT'.
14:06:10 Warning Message: No entry '.icon'.
14:06:10 Warning Message: '/' is not a value
14:06:10 Warning Message: No entry '.size'.
14:06:10 Warning Message: '/' is not a value
14:06:10 Warning Message: No entry '.color'.
14:06:10 Warning Message: Size: '/' not an array
14:06:10 Warning Message: Size: '/' not an array
14:06:10 Warning Message: No entry 'bin\config.bin/CfgMarkers.DOT'.
14:06:10 Warning Message: No entry '.color'.
14:06:10 Warning Message: Size: '/' not an array
14:06:10 Warning Message: Size: '/' not an array
14:06:10 Warning Message: No entry 'bin\config.bin/CfgMarkers.DOT'.
14:06:10 Warning Message: No entry '.icon'.
14:06:10 Warning Message: '/' is not a value
14:06:10 Warning Message: No entry '.size'.
14:06:10 Warning Message: '/' is not a value

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

There seems to be 2 versions of dot:

https://community.bistudio.com/wiki/cfgMarkers

 

What the RPT is telling you that DOT class does not exist, thus is missing the rest of required inheritances/defines.

 

try one of these:

_sector_h  setMarkerType "hd_dot"; // HD version
_sector_h  setMarkerType "mil_dot"; // normal version
Link to comment
Share on other sites

  • 0

 

There seems to be 2 versions of dot:

https://community.bistudio.com/wiki/cfgMarkers

 

What the RPT is telling you that DOT class does not exist, thus is missing the rest of required inheritances/defines.

 

try one of these:

_sector_h  setMarkerType "hd_dot"; // HD version
_sector_h  setMarkerType "mil_dot"; // normal version

Thank you raymix, that worked perfectly

 

Cheers

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...