Page 1 of 2

About CMap

Posted: Sat Jul 22, 2017 10:35 am
by emegale
Hi. I like the customization of the interface, but I have a problem with this addon, the label zone is behind my image panel. Can drag this text bring to foreground, or moving zone area text and others elements on mini map?
https://1drv.ms/i/s!AuspsHJ6TWcnsTThMQCRx6zA6HHD

Re: About CMap

Posted: Sat Jul 22, 2017 10:49 pm
by wdesu
I don't know which version of CMap you use, since mine (latest version downloaded from Idrinth's site) looks different. I can only tell you how i would do it. Here's how to move area text if you like doing it the long way (use cmap slash commands otherwise):
Spoiler:
To change default settings (you will have to delete current settings or use new profile to apply these):
In file CMap.lua find function CMapWindow.CMapGetSettings(), find a line that is about area name, for example, mine:

Code: Select all

CMapWindow.VisSettings[AREANAME] = {visible=true,point="bottom",rpoint="bottom",rto=AWName,x=0,y=-10,type=TYPEWINDOW}
By changing point, rpoint, x and y you can move it anywhere.

To change current settings (for a new profile or if you delete those, you'll have to modify it again):
Log out to character screen or exit the game. Open SavedVariables.lua in user\settings\Martyrs Square\charactername\profilename\CMap, find a chunk that represents area name and change x, y, point and rpoint to whatever you want.

Code: Select all

AreaNameText = 
{
	visible = true,
	x = 0,
	point = "bottom",
	type = 1,
	rpoint = "bottom",
	y = -10,
	rto = "CMapWindowMapDisplay",
}
To override everything:
paste modified line

Code: Select all

CMapWindow.VisSettings[AREANAME] = {visible=true,point="bottom",rpoint="bottom",rto=AWName,x=0,y=-10,type=TYPEWINDOW}

into first line of function CMapWindow.CMapUseSettings() or CMapWindow.Initialize()

Re: About CMap

Posted: Sat Jul 22, 2017 10:52 pm
by sullemunk
cmap has slash commands for moving the labels but I can't check them atm (on vecation)

Re: About CMap

Posted: Sat Jul 22, 2017 11:11 pm
by wdesu
Oh, it does actually. Can't figure out how to use them though lol
EDIT:
nvm
/cmap AreaNameText x 10
/cmap AreaNameText point bottom
etc

Re: About CMap

Posted: Sat Jul 22, 2017 11:14 pm
by sullemunk
Can check tomorrow

Re: About CMap

Posted: Sat Jul 22, 2017 11:15 pm
by emegale
Yes, when he was in settings of this addon and they worked, but not here. Thanks, I'll dig into the code :)

Re: About CMap

Posted: Sun Jul 23, 2017 10:54 am
by emegale
Using slash commands, you can manipulate many settings for addon if you enable /cmap showwindowconfig true,but all commands are entered in the chat :( as well it is impossible to change the size of the text and icons. Thanks for the help and hope that someone else will fix the graphics display addon options
https://1drv.ms/i/s!AuspsHJ6TWcnsTutFx91_v0SkBWy

Re: About CMap

Posted: Sun Jul 30, 2017 3:28 pm
by sullemunk
the problem lies in the layers;
Since the label you want to overlay the Effigy picture is on the same naitive layer as c map (wich is behind the effigy picture label) this will be an issue

Re: About CMap

Posted: Thu Jul 26, 2018 4:16 pm
by Mistweaver
Anyone know how to change scenario parties with this addon? The icon doesn't come up for me

Re: About CMap

Posted: Sat Jul 28, 2018 12:45 pm
by Mistweaver
nvm sorted it. I had the original ui map hidden. As soon as I unhid it and placed it behind the map the flag appeared