在魔兽世界中已有97,639项百科条目,如果你有任何可以分享的请。
资料版本 1.0,更新时间:2005年8月20日
来源地址
作者:
bfmt大家都知道shaman的技能特别多,默认的界面的格子常常不够用。而这其中占用最多的便是TOTEM了,有四个系,每个系又有五六种,所以我介绍一种用flexbar,打造属于shaman自己的UI界面的方法。
首先,我们来做一个金字塔形的“地图腾bar”,如图一,当鼠标悬停在中间那个格子时,其它图腾才会显示出来,而平时只显示一个图标,我们把最常用的图腾放在这个格子里,而把其它格子放不太常用的图腾。这个动作条的flexbar代码如下:
--------------------------------------------------------------------------------------------------
--earth
"group button=49-54 anchor=52",
"horizontalgroup group=52 height=2 padding=0",
"text button=49-54 text=’%d’",
"show button=49-54",
"ungroup group=52",
"MoveRel button=51 TrgBtn=52 dX=0 dY=76",
"MoveRel button=49 TrgBtn=52 dX=-18 dY=38",
"MoveRel button=53 TrgBtn=52 dX=18 dY=38",
"group button=49-54 anchor=52",
"show button=52",
"show group=52 on=’MouseEnterButton’ target=52",
"hide button=[49 50 51 53 54] on=’MouseLeaveGroup’ target=52",
"text button=52 text=’earth’"
-------------------------------------------------------------------------------------------------
然后我们用同样的方法分别做出火,水和气图腾的动作条,再用命令把它们都移动到合适的位置,如图二所示,现在我们就可以把各属性的图腾分别放入各动作条中了,如图三。
最后一步,我们把空的动作条隐藏起来,使它们看起来更美观。好了,现在我们就拥有了一个非常实用的“totem_bar”了,大家试试吧。
flexbar的官方下载地址是http://therealorang.com/mairsmods.htm 大家有机会一定要试试,一个非常强的UI工具。其它命令可以参看它的readme和论坛http://www.dorkmagic.com//forums/index.php
这是我的config,还是直接贴出来好了
totem_bar={
"text button=1-9 text=’%d’",
"text button=10-40 text=’%b’",
"show button=1-40",
"group button=1-40 anchor=1",
"verticalgroup group=1 width=20 padding=2.5",
"moveabs button=1 xx=5 yy=75",
--earth
"group button=49-54 anchor=52",
"horizontalgroup group=52 height=2 padding=0",
"text button=49-54 text=’%d’",
"show button=49-54",
"ungroup group=52",
"MoveRel button=51 TrgBtn=52 dX=0 dY=76",
"MoveRel button=49 TrgBtn=52 dX=-18 dY=38",
"MoveRel button=53 TrgBtn=52 dX=18 dY=38",
"group button=49-54 anchor=52",
"show button=52",
"show group=52 on=’MouseEnterButton’ target=52",
"hide button=[49 50 51 53 54] on=’MouseLeaveGroup’ target=52",
"text button=52 text=’earth’",
--fire
"group button=55-60 anchor=58",
"horizontalgroup group=58 height=2 padding=0",
"text button=55-60 text=’%d’",
"show button=55-60",
"ungroup group=58",
"MoveRel button=57 TrgBtn=58 dX=0 dY=76",
"MoveRel button=55 TrgBtn=58 dX=-18 dY=38",
"MoveRel button=59 TrgBtn=58 dX=18 dY=38",
"group button=55-60 anchor=58",
"show button=58",
"show group=58 on=’MouseEnterButton’ target=58",
"hide button=[55 56 57 59 60] on=’MouseLeaveGroup’ target=58",
"text button=58 text=’fire’",
--water
"group button=61-66 anchor=64",
"horizontalgroup group=64 height=2 padding=0",
"text button=61-66 text=’%d’",
"show button=61-66",
"ungroup group=64",
"MoveRel button=63 TrgBtn=64 dX=0 dY=76",
"MoveRel button=61 TrgBtn=64 dX=-18 dY=38",
"MoveRel button=65 TrgBtn=64 dX=18 dY=38",
"group button=61-66 anchor=64",
"show button=64",
"show group=64 on=’MouseEnterButton’ target=64",
"hide button=[61 62 63 65 66] on=’MouseLeaveGroup’ target=64",
"text button=64 text=’water’",
--air
"group button=67-72 anchor=70",
"horizontalgroup group=70 height=2 padding=0",
"text button=67-72 text=’%d’",
"show button=67-72",
"ungroup group=70",
"MoveRel button=69 TrgBtn=70 dX=0 dY=76",
"MoveRel button=67 TrgBtn=70 dX=-18 dY=38",
"MoveRel button=71 TrgBtn=70 dX=18 dY=38",
"group button=67-72 anchor=70",
"show button=70",
"show group=70 on=’MouseEnterButton’ target=70",
"hide button=[67 68 69 71 72] on=’MouseLeaveGroup’ target=70",
"text button=70 text=’air’",
"moveabs button=52 xx=305 yy=115",
"moveabs button=58 xx=385 yy=115",
"moveabs button=64 xx=465 yy=115",
"moveabs button=70 xx=545 yy=115",
}
config的使用方法,用记事本打开flexbar文件下的FlexBar_Config.lua,将以上代码复制粘贴到文本最后,在游戏中输入:/flexbar loadconfig config=’totem_bar’ 注意大小写(我的config里都是小写的)。
那个武器加buff的bar和图腾bar是一个原理,很简单,当鼠标悬停在最边上那个图标时,就显示,平时隐藏,因为我用的最多的是风怒武器,所以在那里放上风怒,可以随个人喜好更改。
补充一个个人认为十分有用的config,作用是当你的闪电盾消失时,在你鼠标所在位置立即弹出一个是普通格子1.5倍大小的闪电盾图标,让你很方便的去点击,重新加盾
---------------------------------------------------------------------------
ls={
"Show Button=96 On=’LoseBuff’ Target=’Lightning Shield’",
"Hide Button=96 On=’GainBuff’ Target=’Lightning Shield’",
"MoveToMouse button=96 dX=-19 dY=19 On=’LoseBuff’ Target=’Lightning Shield’",
"Scale Button=96 Scale=15",
"show button=96",
}
--------------------------------------------------------------------------------
你也可以做个宏,输入以下:
================================
/flexbar Show Button=96 On=’LoseBuff’ Target=’Lightning Shield’
/flexbar Hide Button=96 On=’GainBuff’ Target=’Lightning Shield’
/flexbar MoveToMouse button=96 dX=-19 dY=19 On=’LoseBuff’ Target=’Lightning Shield’
/flexbar Scale Button=96 Scale=15
=================================
我发现第一次用的时候,button96默认是隐藏的,要再后面加一句
/flexbar show button=96
可是宏的长度不够,所以可以做两个宏,或是直接在聊天窗口中打入。
运行这个宏之后,就会出现一个空的格子,从spellbook中拖出闪电盾图标,放入格子中,然后再拖动那个格子左上角的一个小把手(handle)到任意喜欢的位置就可以了(放在比较显眼的位置)。
也可以指定屏幕位置,宏中加入:
/flexbar moveabs button=96 xx=500 yy=300
应该是把你的屏幕分为1024×768的大小,xx和yy就是你把闪电盾认定的具体位置(此命令使图标位置位于500,300的位置,大概在屏幕正中吧),数值改到满意为止。
引用百科资源:多种方式引用本页 |
浏览引用了本页的网站/网页(495)
关闭
百科引用链使您能方便地在其他网页插入本资源的引用链接,让优秀的百科资源通过引用链对更多玩家造成帮助。越多的玩家通过您的引用链访问百科将为您带来更多的百科威望!
引用本页地址(点击复制到粘贴板) 粘贴到你想引用的网页。
HTML形式的传播:
论坛形式的传播:
关闭
本页有下列读者,字体越大、颜色越深的玩家阅读本页的次数越多。
*如果您的玩家名称未刊载于此,因为只有百科成员才能记录阅读体验。