xvm.config 파일 메모장으로 열어서 수정하는건 다들 아실꺼에요.
우선 메모장을 여시고
ctrl+f (찾기) 누르셔서 circle 검색!
2번정도 하시면
"major": [
{ "enabled": true, "distance": 445, "thickness": 0.6, "alpha": 90, "color": "0xFF6600" }, // 445 max disclosure distance
{ "enabled": false, "distance": 500, "thickness": 0.6, "alpha": 50, "color": "0xFF0000" },
{ "enabled": false, "distance": 600, "thickness": 0.6, "alpha": 40, "color": "0x3366FF" },
{ "enabled": true, "distance": 50, "thickness": 0.6, "alpha": 50, "color": "0xFFFFFF" }
],
// Special circles dependent on vehicle type.
이 문구를 찾으실 수 있을겁니다.
여기서 445미터짜리 원을 보이게 하겟다하면
{ "enabled": true, "distance": 445, "thickness": 0.6, "alpha": 90, "color": "0xFF6600" }
이 부분에서 true를 하시면 보이고, true를 지우고 false를 하시면 안보이게 됩니다.
그다음 thickness 값은 두께겠죠. 두껍게하고싶으면 1이나 1.5정도??
alpha는 모르겟어요. 진하게 하는건가?(도움기다릴게여 ㅠ)
color는 색이겟죠. 네이버에서 색상표 치시고 마음에 드시는 걸로 ㄱㄱ
이런식으로 아래 다양한 거리의 원도 표시하거나 안하게 바꿀 수 있고, 다른것도 내맘대로 해봅시다.
그리고 다음은 선이겟죠.
마찬가지로 ctrl+f (찾기단축키) 누르시고 line 을 쳐줍니다.
3번정도 쳐주시면(맞나?)
"mapBackgroundImageAlpha": 100,
"enabled": true,
"lines": {
"enabled": true,
"camera": [
{
"enabled": true,
"color": 15597636,
"to": 100,
"inmeters": true,
"alpha": 60,
"from": 50,
"thickness": 2
},
{
"enabled": true,
"color": 15597636,
"to": 300,
"inmeters": true,
"alpha": 45,
"from": 200,
"thickness": 1.5
},
{
"enabled": true,
"color": 15597636,
"to": 445,
"inmeters": true,
"alpha": 30,
"from": 350,
"thickness": 1
}
],
"vehicle": [
{
"enabled": true,
"color": 4517444,
"to": 100,
"inmeters": true,
"alpha": 60,
"from": 50,
"thickness": 2
},
{
"enabled": true,
"color": 4517444,
"to": 300,
"inmeters": true,
"alpha": 45,
"from": 200,
"thickness": 1.5
},
{
"enabled": true,
"color": 4517444,
"to": 445,
"inmeters": true,
"alpha": 30,
"from": 350,
"thickness": 1
}
],
"traverseAngle": [
{
"enabled": true,
"color": 16777215,
"to": 100,
"inmeters": true,
"alpha": 60,
"from": 50,
"thickness": 2
},
{
"enabled": true,
"color": 16777215,
"to": 300,
"inmeters": true,
"alpha": 45,
"from": 200,
"thickness": 1.5
},
{
"enabled": true,
"color": 16777215,
"to": 445,
"inmeters": true,
"alpha": 30,
"from": 350,
"thickness": 1
}
]
},
"selfIconAlpha": 100,
"cameraAlpha": 100
이문구를 찾을 수 있을 거에요.
맨위 "camara"가 내가 바라보는 방향
다음 "vehicle"이 포신방향
다음 "traverseAngle"이 포각인것 같네요.
카메라(바라보는방향)로 살펴보죠.
"camera": [
{
"enabled": true,
"color": 15597636,
"to": 100,
"inmeters": true,
"alpha": 60,
"from": 50,
"thickness": 2
},
{
"enabled": true,
"color": 15597636,
"to": 300,
"inmeters": true,
"alpha": 45,
"from": 200,
"thickness": 1.5
},
{
"enabled": true,
"color": 15597636,
"to": 445,
"inmeters": true,
"alpha": 30,
"from": 350,
"thickness": 1
}
],
이렇게 되있는데, 같은게 거리만 바뀌어서 여러개가 있네요.
겜에서 미니맵을 보니 점선을 표시할때 저렇게 되있는 것 같아요.
근데 우리가 자주 쓰던 길게 한줄만 하려면 아랫부분은 다 지워버리고
"camera": [
{
"enabled": true,
"color": 15597636,
"to": 100,
"inmeters": true,
"alpha": 60,
"from": 50,
"thickness": 2
}
],
이렇게 만듭니다. 그후에
"from" : 50 을 1로
"to" : 100 이부분을 100을 한 2000 정도 하시면 미니맵 끝까지 쭉 뻣는 선을 볼 수 있어요.
"thickness": 1 는 마찬가지로 굵기겟죠. 원하는데로 굵게하고싶으면 1.5 나 2로 하면되겟죠.
다른 것도 이런식으로 변경하시구여. ㅎ
아래는 적용하니 아래와같이 나오네요.
다른분들이 올리는게 마음에 들지 않을 수 있으니 자신이 원하는데로 바꿔보아요.
자료게시판이니 제가 수정한거 올려놓을게요. 귀찮으시면 받으세요.