魔兽争霸如何修改快捷键

1、设置改键方案,如下图
在这里插入图片描述
使用这种顺序排列的改键方案之后,快捷键就会变成 qwerasdfzxcv,如下图
在这里插入图片描述
2、修改英雄物品栏快捷键
打开C:\Users\用户名\Documents\Warcraft III\War3Preferences.txt,找到 Inventory Hotkeys(物品栏快捷键),如下图(懒得自己动手的,可以自己用文章后面我的配置)
在这里插入图片描述
================(敲黑板啦!!!

  • 重点说明1,Hotkey是键盘码,比如A的键盘码是65,参考下图
    在这里插入图片描述
  • 重点说明2,MetaKeyState对应功能键(CTRL、SHIFT、ALT),其中: 1=SHIFT, 2=CTRL, and
    4=ALT,0=不设置,那么,如果你想把物品栏第二行第一格设置成CTRL +
    D,那么你就要改MetaKeyState=2,同时Hotkey=68
[Inventory Hotkeys 2]
HeroOnly=0
Hotkey=68
MetaKeyState=2
QuickCast=0
  • 重点说明3,程序员的世界里第一个元素的位置是0,因此 Inventory Hotkeys 0 表示物品栏第一行左边一格,
    Inventory Hotkeys 1代表物品栏第一行右边一格,以此类推

最后附上我的快捷键设置,物品栏分别是CTRL+Q、CTRL+W、CTRL+D、CTRL+F、CTRL+Z、CTRL+X

[Commandbar Hotkeys 00]
HeroOnly=0
Hotkey=81
MetaKeyState=0
QuickCast=0

[Commandbar Hotkeys 01]
HeroOnly=0
Hotkey=87
MetaKeyState=0
QuickCast=0

[Commandbar Hotkeys 02]
HeroOnly=0
Hotkey=69
MetaKeyState=0
QuickCast=0

[Commandbar Hotkeys 03]
HeroOnly=0
Hotkey=82
MetaKeyState=0
QuickCast=0

[Commandbar Hotkeys 10]
HeroOnly=0
Hotkey=65
MetaKeyState=0
QuickCast=0

[Commandbar Hotkeys 11]
HeroOnly=0
Hotkey=83
MetaKeyState=0
QuickCast=0

[Commandbar Hotkeys 12]
HeroOnly=0
Hotkey=68
MetaKeyState=0
QuickCast=0

[Commandbar Hotkeys 13]
HeroOnly=0
Hotkey=70
MetaKeyState=0
QuickCast=0

[Commandbar Hotkeys 20]
HeroOnly=0
Hotkey=90
MetaKeyState=0
QuickCast=0

[Commandbar Hotkeys 21]
HeroOnly=0
Hotkey=88
MetaKeyState=0
QuickCast=0

[Commandbar Hotkeys 22]
HeroOnly=0
Hotkey=67
MetaKeyState=0
QuickCast=0

[Commandbar Hotkeys 23]
HeroOnly=0
Hotkey=86
MetaKeyState=0
QuickCast=0

[Custom Hotkeys 0]
FromHotkey=0
FromKeyEnabled=0
FromMetaKeyState=0
HeroOnly=0
ToHotkey=0
ToKeyEnabled=0
ToMetaKeyState=0

[Custom Hotkeys 1]
FromHotkey=0
FromKeyEnabled=0
FromMetaKeyState=0
HeroOnly=0
ToHotkey=0
ToKeyEnabled=0
ToMetaKeyState=0

[Custom Hotkeys 2]
FromHotkey=0
FromKeyEnabled=0
FromMetaKeyState=0
HeroOnly=0
ToHotkey=0
ToKeyEnabled=0
ToMetaKeyState=0

[Custom Hotkeys 3]
FromHotkey=0
FromKeyEnabled=0
FromMetaKeyState=0
HeroOnly=0
ToHotkey=0
ToKeyEnabled=0
ToMetaKeyState=0

[Custom Hotkeys 4]
FromHotkey=0
FromKeyEnabled=0
FromMetaKeyState=0
HeroOnly=0
ToHotkey=0
ToKeyEnabled=0
ToMetaKeyState=0

[Custom Hotkeys 5]
FromHotkey=0
FromKeyEnabled=0
FromMetaKeyState=0
HeroOnly=0
ToHotkey=0
ToKeyEnabled=0
ToMetaKeyState=0

[Custom Hotkeys 6]
FromHotkey=0
FromKeyEnabled=0
FromMetaKeyState=0
HeroOnly=0
ToHotkey=0
ToKeyEnabled=0
ToMetaKeyState=0

[Custom Hotkeys 7]
FromHotkey=0
FromKeyEnabled=0
FromMetaKeyState=0
HeroOnly=0
ToHotkey=0
ToKeyEnabled=0
ToMetaKeyState=0

[Gameplay]
allyFilter=0
ammmaphashes=
ammmapprefs=
ammrace=32
ammstyles=
ammtype=0
autosaveReplay=0
coloredhealthbars=0
creepFilter=1
customfilter=0
customkeys=2
custommask=0
displayapm=0
displayfps=0
displayping=0
formations=0
formatiοntοggle=1
gamespeed=2
healthbars=0
herobar=1
heroframes=1
herolevel=1
multiboardon=1
netgameport=6112
numericCooldown=0
occlusion=0
schedrace=32
subgrouporder=0
terrainFilter=1
tooltips=1

[Input]
confinemousecursor=2
keyscroll=50
mousescroll=50
mousescrolldisable=0
reducemouselag=0

[Inventory Hotkeys 0]
HeroOnly=0
Hotkey=81
MetaKeyState=2
QuickCast=0

[Inventory Hotkeys 1]
HeroOnly=0
Hotkey=87
MetaKeyState=2
QuickCast=0

[Inventory Hotkeys 2]
HeroOnly=0
Hotkey=68
MetaKeyState=2
QuickCast=0

[Inventory Hotkeys 3]
HeroOnly=1
Hotkey=70
MetaKeyState=2
QuickCast=0

[Inventory Hotkeys 4]
HeroOnly=0
Hotkey=90
MetaKeyState=2
QuickCast=0

[Inventory Hotkeys 5]
HeroOnly=0
Hotkey=88
MetaKeyState=2
QuickCast=0

[Map]
battlenet_V0=
battlenet_V1=
lan_V0=
lan_V1=
skirmish_V0=
skirmish_V1=

[Misc]
bnetGateway=
chatsupport=0
clickedad=0
clickedclan=0
clickedladder=0
clickedtourn=0
hd=1
legacylinkreminder=0
offlineavatar=p045
profanity=1
seenintromovie=1
settingsversion=2
subtitles=1
teen=0

[Mouse Mid Button Down]
HeroOnly=0
ToHotkey=0
ToKeyEnabled=0
ToMetaKeyState=0

[Mouse Wheel Down]
HeroOnly=0
ToHotkey=0
ToKeyEnabled=0
ToMetaKeyState=0

[Mouse Wheel Up]
HeroOnly=0
ToHotkey=0
ToKeyEnabled=0
ToMetaKeyState=0

[Sound]
ambient=1
assetmode=0
donotusewaveout=0
environmental=1
movement=1
music=1
musicvolume=18
nosoundwarn=1
outputsounddev=-1
outputspeakermode=-1
positional=1
sfx=1
sfxvolume=40
unit=1
windowfocus=0

[String]
userbnet=
userlocal=

[Video]
adapter=0
antialiasing=0
backgroundmaxfps=60
colordepth=32
foliagequality=0
gamma=30
lightingquality=0
maxfps=200
particles=0
previouswindowmode=0
refreshrate=60
resetdefaults=0
resheight=1080
reswidth=1920
shadowquality=0
spellfilter=0
texquality=0
vsync=0
windowheight=780
windowmode=2
windowwidth=1440
windowx=240
windowy=130

最后的最后,提醒一下不要设置CTRL+S,因为这是开关游戏声音的快捷键

评论 16
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

sleeper01

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值