Thread Tools Display Modes
01-24-10, 03:53 PM   #1
khoinoor
Premium Member
 
khoinoor's Avatar
Join Date: Jul 2009
Posts: 38
Player Casting bar

Hello, was surfing all posts related to how move the player casting bar but didn't figured out how do that.

Any chance to move it a bit lower? at least to have it not standing on the exact center of the HUD? (it stand exactely on top of my character and this may be not the best in most occasion.. at least I love see my in action during fights and see what's going on in the immediate closely of me)

Thanks in advance for any kindly help.
I''ll appreciate that a lot ^^
 
01-24-10, 04:28 PM   #2
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
It definitely should not be in the center of the HUD, it should be the lower center. I wouldn't expect it to be covering you character unless you're on of those players who like to keep the camera zoomed in close.

In any event, you can move the casting bar by editing [ Interface > AddOns > nUI > Layouts > Default > HUD Layouts > {HUD Mode} > nUI_HUDSkin_{HUD mode}_Castar.lua ] and modifying the anchor for the casting bar itself -- that said, it may not be as simple as that since moving it will also impact things like the HOT/DOT bar, cooldown bar, etc.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
01-24-10, 07:10 PM   #3
khoinoor
Premium Member
 
khoinoor's Avatar
Join Date: Jul 2009
Posts: 38
Question

mhm, seems I can't find the file you told, or modifying those I found not produce any change.

Inside the HUDLayouts folder I found only "healthPower", Nobars", "NoHUD" and "PlayerTarget". Into "NoHUD" folder there is any {modname}_Cast.;ua file, and modifying all in other folders don't do nothing... or am I trying to modify the wrong part?

here the code part I was going to try to change:

["Casting"] =
{
anchor =
{
anchor_pt = "BOTTOM",
relative_to = nUI_HUDLAYOUT_HEALTHPOWER.."Bottom",
relative_pt = "TOP",
xOfs = 0,
yOfs = 130, <---- is this the value I have to change? and of how much about I have to reduce to bring the cast bar a bit lower?

Thanks again for your kindly help and sorry for my bad knowledge on coding
 
01-24-10, 07:16 PM   #4
khoinoor
Premium Member
 
khoinoor's Avatar
Join Date: Jul 2009
Posts: 38
Question another question...

Another question... I have also dowloaded and installed the "nUI_InfoPanel_Carbonite" pack because I use that addon as well. At beginning the Carbonite minimap worked great but after a game restart started to rest on top of all info panels even when I was swapping them. The only one the Carbonite minimap was not covering was the CarboniteInfo Panel

Any suggestions about this as well?

Thanks once more for your kindly help
 
01-24-10, 07:28 PM   #5
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,928
With the carbonite one, did you follow the instructions on how to set up to work with the infopanel system. The way the carbonite map works makes it awkward even if possible to automatically work. The front page of the addon download page here should give you full instructions on how to get it fit properly.

When I was testing it out for someone a while back I had the same problem but followed the instructions and it worked fine.
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
 
01-25-10, 05:10 AM   #6
khoinoor
Premium Member
 
khoinoor's Avatar
Join Date: Jul 2009
Posts: 38
I followed all instrunction and it worked great at beginning, but after a /nui rl due fix the player casting bar things in previous posts it simply started to overlap other infopanels

Logged in game again just now for daily dutyes and now it works perfect again even if I didn't changed nothing befor log out

Any suggestion about what can be happened? seems strange to me tbh but I'm completely unknowledged about addon coding
 
01-25-10, 05:14 AM   #7
spiel2001
nUI's Author
 
spiel2001's Avatar
AddOn Author - Click to view addons
Join Date: Jun 2008
Posts: 7,724
What I meant by {HUD mode} in my post was that if you are playing with the "Player/Target" HUD mode, then {HUD mode} = "PlayerTarget" and you would edit the file in [ Interface > AddOns > nUI > Layouts > Default > HUDLayouts > PlayerTarget > nUI_HUDSkin_PlayerTarget_Casting.lua ]

And yes, the "yOfs" is the vertical offset value.... making it smaller moves the casting bar down, bigger moves it up. Just experiment with it... change it from maybe 130 to 125 and then save the change to the file and do a '/nui rl' to see how much the casting bar moved.

If the bar still doesn't move at all, then maybe posting a screen shot here would be a good idea so we can see what it is that you're trying to move. You can do that just by scrolling down the "Reply to Thread" page until you see the "Manage Attachements" button -- you can use that to upload a screen shot with your reply.
__________________

What people don't get is that I am, ultimately, an artist at heart.
My brush has two colors, 1 and 0, and my canvas is made of silicon.



Official nUI Web Site: http://www.nUIaddon.com
Official nUI Support Forum: http://forums.nUIaddon.com
My day job: http://www.presidio.com/
 
 

WoWInterface » Featured Projects » nUI, MozzFullWorldMap and PartySpotter » Customization » nUI: Customizing Layouts » Player Casting bar


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off