創作內容

1 GP

[WOW]7.2.5 CVars蒐集&雜七雜八巨集

作者:。愔。│魔獸世界:軍臨天下│2016-08-09 14:33:09│巴幣:2│人氣:3790
有鑑於我大BLZ腦袋可能有點不正常
把6.0能設定的內建設定全部隱藏
導致廣大玩家哀聲連連

於是把網路上蒐集的一些全搬過來造福大家
感謝PTT及NGA的廣大玩家
(前面無/的地方請自行合成一行)




————————— 9.0 —————————

--座標巨集
/跑 p="player" c=C_Map u=c.GetBestMapForUnit(p) m=c.GetPlayerMapPosition(u,p) c.SetUserWaypoint(UiMapPoint.CreateFromCoordinates(u,m.x,m.y))SendChatMessage(format("%%t @%.1f,%.1f ",m.x*100,m.y*100)..c.GetUserWaypointHyperlink(),"CHANNEL",_,1)

9版寶庫巨集
/run LoadAddOn("Blizzard_WeeklyRewards"); WeeklyRewardsFrame:Show()

————————— 8.3 —————————

戰場比分欄移動位置
/run UIWidgetTopCenterContainerFrame:ClearAllPoints()UIWidgetTopCenterContainerFrame:SetPoint("TOP", 0, -70)

————————— 8.2 —————————

托巴拉德精兵的數量巨集
/run englishFaction,localizedFaction=UnitFactionGroup("player")
/run aN=5417 if englishFaction=="Horde"then aN=5418 end
/run print("托巴拉德精兵:"..GetStatistic(aN))

/run print("葛羅普家族的血脈:"..GetStatistic(5446))
/run print("岩石愛好者:"..GetStatistic(5449))

————————— 8.1 —————————

COMBAT_LOG_EVENT和COMBAT_LOG_EVENT_UNFILTERED事件將不會傳入任何事件參數。
為了得到跟之前一樣的訊息,請使用CombatLogGetCurrentEventInfo()

--技能名字(PvP天賦)
/施放 [pvptalent:X/X]豎著為1234,點進去為1-10,
組合是:豎著/點進去

--隨機使用爐石
#showtooltip 爐石
/run local a={6948,162973,163045,165669,165670,64488} rhs=rhs or CreateFrame("Button","rhs",nil,"SecureActionButtonTemplate") rhs:SetAttribute("type","item") rhs:SetAttribute("item",GetItemInfo(a[random(#a)]))
/click rhs

爐石物品ID:
6948 爐石
162973 冬天爺爺的爐石
163045 無頭騎士的爐石
165669 月亮長者的爐石(春節)
165670 傳播者充滿愛的爐石
64488 旅店老闆的女兒
93672 黑暗之門
54452 虛靈之門
142542 城鎮傳送門

--隨機使用玩具
/run local f,t=RnT or CreateFrame("Button","RnT",nil,"SecureActionButtonTemplate") f:SetAttribute("type","item") t=GetItemInfo(C_ToyBox.GetToyFromIndex(random(10))) f:SetAttribute("item",t) print("Casting toy:",t)
/click RnT

————————— 8.0 —————————

--座標巨集
/run px,py=C_Map.GetPlayerMapPosition(C_Map.GetBestMapForUnit("player"),"player"):GetXY()
/run DEFAULT_CHAT_FRAME:AddMessage(format("[ %s ] %.1f , %.1f",GetZoneText(),px*100,py*100))

--一鍵切天賦<https://nga.178.com/read.php?tid=15082916&_ff=7>
在巨集名稱改成天賦數字<例:3212221>
/run local s=string.sub(string.match(GetMacroInfo(GetRunningMacro()),"%d+"),1,7),h do h=function(i,j) PlayerTalentFrameTalents["tier"..i]["talent"..j]:Click()end for i=1,#s do h(i,string.sub(s,i,i))end end

--切第一天賦
/run SetSpecialization(1)

--洗特質
/run UIParentLoadAddOn("Blizzard_AzeriteRespecUI")ShowUIPanel(AzeriteRespecFrame)

8版船上桌子
/script ShowGarrisonLandingPage(9)

————————— 7.3 —————————

--清記憶體巨集
/run local o,m,c,f,p=0,0,0,format,print for i=1,GetNumAddOns() do if IsAddOnLoaded(i) then m=f('%.2f',GetAddOnMemoryUsage(i)/1024) p(f('%-20s---- %5s',({GetAddOnInfo(i)})[1],m..'mb')) c=c+m+0 end end p('Total: '..c..'mb\n') collectgarbage('collect')

--7.3內置控制台(可按ESC關閉)
/控制臺 DeveloperConsole.EditBox:HookScript("OnEscapePressed",function()DeveloperConsole:Hide()end)
--改成lua
SlashCmdList.DEV = function(msg)
UIParentLoadAddOn("Blizzard_Console")
DeveloperConsole:Toggle() -- esc to exit
end
SLASH_DEV1 = "/dev"

--顯示table內容
TableAttributeDisplay:InspectTable(SOUNDKIT)
TableAttributeDisplay:Show()

————————7.2 卡GCD————————

解決方法1:
/console SpellQueueWindow X(X請替換成數字)
※注意:X可以設置為略高於你的世界延遲,比如世界延遲20,那可以設置25-30
解決方法2:
裝UI - AdvancedInterfaceOptions(AIO)
https://mods.curse.com/addons/wow/advancedinterfaceoptions

恢復延遲預設值:
/run SetCVar("SpellQueueWindow",GetCVarDefault("SpellQueueWindow"))

—————————7.0 點地板技能—————————

◎以玩家腳下為中心直接施法
/cast [@player]技能名稱

◎滑鼠游標所在點直接施法
/cast [@cursor]技能名稱

◎取消選取的綠圈
/stopspelltarget

7版大廳桌子
/script ShowGarrisonLandingPage(3)

————————特效/狀態————————

◎延遲載入遊戲模組:這是藍帖給出的7.0卡藍條解決方法,延遲載入遊戲模組,進入遊戲後再讀取;這可以加快藍條速度
/console worldPreloadNonCritical 0
◎顯示狀態數值,0=只在滑鼠移過時顯示狀態數字,1=永遠顯示
/跑 SetCVar("statusText", 0)
◎鏡頭不晃動
/console actionCam off
◎關閉全螢幕泛光效果(喝醉狀態)
/console ffxGlow 0
/跑 SetCVar("ffxGlow", "0")
◎降低天氣效果(最低0最大3)
/console weatherDensity 0
◎鏡頭跟隨地形,爬坡時往上,下坡時往下
SetCVar("cameraTerrainTilt", 0)

————————滑鼠————————

◎更大的滑鼠游標:這個值代表選項,值-1為自動,0=32*32,1=48*48,2=64*64
/console cursorsizepreferred 2
◎啟用魔獸世界滑鼠
/console rawMouseEnable 1
◎啟用魔獸世界滑鼠的滑鼠加速,預設1開
/console rawMouseAccelerationEnable 1
USB反應速率,預設125
/console rawMouseRate 125
DPI,預設400
/console rawMouseResolution 400

————————技能————————

◎Tab最近的目標(解決 7.0 Tab 會標到奇怪的地方)※三種方法擇一
/跑 SetCVar("Targetnearestuseold", 1)
/console targetnearestuseold 1
/run SetCVar("TargetPriorityAllowAnyOnScreen",0) SetCVar("Targetnearestuseold",1)

◎開啟動作條上的技能說明
/console UberTooltips 1
◎技能說明顯示(解決技能提示錯亂)※二種方法擇一
/console set SpellTooltip_DisplayAvgValues "1"
/console SpellTooltip_DisplayAvgValues 1

◎切換技能時觸發保險(避免誤按),1開
/跑 SetCVar("secureAbilityToggle", 1)
◎按下按鍵時施放技能,1開,預設開啟
/跑 SetCVar("ActionButtonUseKeyDown", 1)
◎施法隊列,開了才能用自定延遲,1開
/跑 SetCVar("reducedLagTolerance", 1)
◎施法隊列,可設定的範圍是0~400
/跑 SetCVar("SpellQueueWindow", 250)
◎自定延遲值,現在預設應該是0,可設定的範圍是0~400
/跑 SetCVar("maxSpellStartRecoveryOffset", 100)

————————頭像————————

◎隱藏自身頭像&目標頭像
/跑 PlayerFrame:Hide();TargetFrame:Hide()
◎顯示自身頭像&目標頭像
/跑 PlayerFrame:Show();TargetFrame:Show()

◎目標頭像下顯示所有DeBuff(7.0內建只顯示自己的)
/run SetCVar("noBuffDebuffFilterOnTarget",1)
◎恢復原本狀態
/run SetCVar("noBuffDebuffFilterOnTarget",GetCVarDefault("noBuffDebuffFilterOnTarget"))

◎在目標頭像上顯示連擊點
/跑 SetCVar("comboPointLocation",1)
◎頭像上不顯示即將到來的治療,這個設定要重載才會生效
/跑 SetCVar("predictedHealth", 0)
◎顯示仇恨百分比,1開
SetCVar("threatShowNumeric", 1)
◎顯示目標的目標,1開,這是介面裡就有的選項
SetCVar("showTargetOfTarget", 1)

◎隱藏競技場框架上的數字
/run NamePlateDriverFrame:UnregisterEvent("UNIT_AURA");NameplateBuffLOLremove=nil;NameplateBuffLOLremove=
function()return false;end;NameplateBuffContainerMixin.ShouldShowBuff=NameplateBuffLOLremove;

◎隱藏寵物框架上的數字
/run PetFrameHealthBar.lockShow=0;PetFrameManaBar.lockShow=0;PetFrameHealthBar.cvar=nil;PetFrameManaBar.cvar=nil;HideTextStatusBarText(PetFrameHealthBar);HideTextStatusBarText(PetFrameManaBar);


—————————玩家資源—————————

--[[ 玩家自身姓名板 ]]--
◎只能固定垂直方向的位置,當視角拉近時還是會水平偏移
/跑 SetCVar ("nameplateSelfTopInset", .6)
/跑 SetCVar ("nameplateSelfBottomInset", .2)
◎縮放,默認是1
/跑 SetCVar("nameplateSelfScale", 1)
◎個人資源上的閃光動畫效果,0關
/跑 SetCVar("showSpenderFeedback", 1)


--[[顯示條件:可以選擇非戰鬥時隱藏]]--
◎總是顯示個人資源,預設是1開
SetCVar("nameplatePersonalShowAlways", 0)
若關閉上一項,進階使用這三項:
◎戰鬥中顯示,平時隱藏,1開
SetCVar("nameplatePersonalShowInCombat", 1)
◎有目標時顯示,平時隱藏,1開
SetCVar("nameplatePersonalShowWithTarget", 1)
◎淡出消失的時間,數值是秒
SetCVar("nameplatePersonalHideDelaySeconds", 3)


——————血條/姓名板/名條——————

--[[ 在介面選項裡可以勾選"啟用大型名條"來使用預設的樣式 ]]--
--#姓名板職業染色,1開  --名條寬高設定:預設是1,啟用大型名條後,預設是是1.39寬2.7高
/run SetCVar("ShowClassColorInNameplate", 1)
--數值可以自訂,如下例:改成1寬3高
/run SetCVar("NamePlateHorizontalScale", 1)
/run SetCVar("NamePlateVerticalScale", 3)
--#顯示名條的最遠距離:legion默認是60,以前是40
/run SetCVar("nameplateMaxDistance", 40)

◎血條改回40碼外不顯示
/run SetCVar("nameplateMaxDistance",40)SetCVar("nameplateOtherTopInset",-1)SetCVar("nameplateOtherBottomInset",-1)
--恢復血條設置
/run for k,v in pairs({"nameplateMaxDistance","nameplateOtherTopInset","nameplateOtherBottomInset"})do SetCVar(v,GetCVarDefault(v))end

不讓血條飄移、亂動
/run SetCVar("nameplateOtherTopInset", -1)SetCVar("nameplateOtherBottomInset", -1)
--恢復血條設置
/run SetCVar("nameplateOtherTopInset",GetCVarDefault("nameplateOtherTopInset"))SetCVar("nameplateOtherBottomInset",GetCVarDefault("nameplateOtherBottomInset"))

———————浮動戰鬥文字———————
--隱藏頭像傷害
/run PlayerHitIndicator:Hide() PlayerHitIndicator.Show=function()end
--#浮動戰鬥文字逗點,1是有逗點
  SetCVar("breakUpLargeNumbers", 0)

◎顯示戰鬥數字
  SET floatingCombatTextCombatDamage "0" --傷害數字,把0改成1
  SET floatingCombatTextCombatHealing "0" --治療數字,把0改成1
--戰鬥數字<遊戲內>
/console floatingCombatTextCombatDamage 0/1 --開關戰鬥文字
/console floatingCombatTextCombatHealing 0/1 --開關治療文字

◎開啟滾動戰鬥信息的時候關閉綠字
/run local t=COMBAT_TEXT_TYPE_INFO;t.HEAL.show=nil;t.HEAL_CRIT.show=nil;t.PERIODIC_HEAL.show=nil;t.PERIODIC_HEAL_CRIT=nil;
--恢復顯示綠字
/run local t=COMBAT_TEXT_TYPE_INFO;t.HEAL.show=1;t.HEAL_CRIT.show=1;t.PERIODIC_HEAL.show=1;t.PERIODIC_HEAL_CRIT=1;

<需調用 WTF\Account\你的帳號\chat-cache.txt>
--[[ 要在遊戲裡更改這些CVar,必需處於非戰鬥狀態 ]]--
   --*新的浮動戰鬥文字運動方式,1往上2往下3弧形
   SetCVar("floatingCombatTextFloatMode", 1)
   --舊的動戰鬥文字運動方式,0關;使用這項,浮動戰鬥文字就會垂直往上,如同過去
   SetCVar("floatingCombatTextCombatDamageDirectionalScale", 0)

--[[ 如果要關閉浮動戰鬥文字只要使用這兩項 ]]--
   --對目標傷害,0關;如果要關閉傷害數字,使用這項
   SetCVar("floatingCombatTextCombatDamage", 0)
   --對目標治療,0關;如果要關閉治療數字,使用這項
   SetCVar("floatingCombatTextCombatHealing", 0)

--[[ 如果要調整細部(以前的子項目)再使用這些 0=關 1=開 ]]--
   --寵物對目標傷害
   SetCVar("floatingCombatTextPetMeleeDamage", 0)
   SetCVar("floatingCombatTextPetSpellDamage", 0)
   --目標盾提示
   SetCVar("floatingCombatTextCombatHealingAbsorbTarget", 0)
   --自身得盾/護甲提示
   SetCVar("floatingCombatTextCombatHealingAbsorbSelf", 0)

--[[ 進階設定自己的浮動戰鬥文字 ]]--
   --*閃招
   SetCVar("floatingCombatTextDodgeParryMiss", 0)
   --*傷害減免
   SetCVar("floatingCombatTextDamageReduction", 0)
   --周期性傷害
   SetCVar("floatingCombatTextCombatLogPeriodicSpells", 0)
   --*法術警示
   SetCVar("floatingCombatTextReactives", 1)
   --他人的糾纏效果(例如 誘補(xxxx-xxxx))
   SetCVar("floatingCombatTextSpellMechanics", 1)
   --*聲望變化
   SetCVar("floatingCombatTextRepChanges", 0)
   --*友方治療者名稱
   SetCVar("floatingCombatTextFriendlyHealers", 0)
   --*進入/離開戰鬥文字提示
/console floatingCombatTextCombatState 1
   SetCVar("floatingCombatTextCombatState", 1)
   --*低MP/低HP文字提示,預設是1開
   SetCVar("floatingCombatTextLowManaHealth", 0)
   --*連擊點
   SetCVar("floatingCombatTextComboPoints", 0)
   --*能量獲得
   SetCVar("floatingCombatTextEnergyGains", 0)
   --*周期性能量
   SetCVar("floatingCombatTextPeriodicEnergyGains", 0)
   --*榮譽擊殺
   SetCVar("floatingCombatTextHonorGains", 0)
   --*光環
   SetCVar("floatingCombatTextAuras", 0)

—————————————————————
來源:NGA&以前挖到的資訊



引用網址:https://home.gamer.com.tw/TrackBack.php?sn=3283371
Some rights reserved. 姓名標示-非商業性 2.5 台灣

相關創作

同標籤作品搜尋:WOW 魔獸世界|魔獸世界|9.0

留言共 0 篇留言

我要留言提醒:您尚未登入,請先登入再留言

1喜歡★diana0622tw 可決定是否刪除您的留言,請勿發表違反站規文字。

前一篇:[WOW]世界事件 的相... 後一篇:[WOW]標記巨集...

追蹤私訊切換新版閱覽

作品資料夾

lemonade1120大家
歡迎來逛逛看看我寫的奇幻小說喔~ :)看更多我要大聲說昨天22:23


face基於日前微軟官方表示 Internet Explorer 不再支援新的網路標準,可能無法使用新的應用程式來呈現網站內容,在瀏覽器支援度及網站安全性的雙重考量下,為了讓巴友們有更好的使用體驗,巴哈姆特即將於 2019年9月2日 停止支援 Internet Explorer 瀏覽器的頁面呈現和功能。
屆時建議您使用下述瀏覽器來瀏覽巴哈姆特:
。Google Chrome(推薦)
。Mozilla Firefox
。Microsoft Edge(Windows10以上的作業系統版本才可使用)

face我們了解您不想看到廣告的心情⋯ 若您願意支持巴哈姆特永續經營,請將 gamer.com.tw 加入廣告阻擋工具的白名單中,謝謝 !【教學】