马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
魔兽单位面板中,有移动、停止、保持原位、攻击、巡逻5个命令键。隐藏巡逻图标是:先在物体编辑器里把某一类单位的“攻击-显示ui”设置为false,腾出一个格子,然后把移动当成攻击、把巡逻当成移动。这样来隐藏巡逻图标的。
首先,用mpq工具打开war3.mpq,在units文件夹下找到CommandStrings.txt,以及CommandFunc.txt,右键分别“解压为”,这样就导出来了。
导出来的目的是为了修改这两个txt文件。修改后的文本如下,如果没有mpq工具,就直接新建txt,复制下面的东西,保存为对应的名字即可。
CommandFunc.txt——
[CmdMove]
Art=CommandMove
Buttonpos=3,0
[CmdAttack]
Art=CommandAttack
Buttonpos=3,0
[CmdAttackGround]
Art=CommandAttackGround
Buttonpos=3,1
[CmdBuild]
Art=CommandBasicStruct
Buttonpos=0,2
[CmdBuildHuman]
Art=CommandBasicStructHuman
Buttonpos=0,2
[CmdBuildOrc]
Art=CommandBasicStructOrc
Buttonpos=0,2
[CmdBuildNightElf]
Art=CommandBasicStructNightElf
Buttonpos=0,2
[CmdBuildUndead]
Art=CommandBasicStructUndead
Buttonpos=0,2
[CmdCancel]
Art=CommandCancel
ButtonPos=3,2
[CmdCancelBuild]
Art=CommandCancel
ButtonPos=3,2
[CmdCancelTrain]
Art=CommandCancel
ButtonPos=3,2
[CmdCancelRevive]
Art=CommandCancel
ButtonPos=3,2
[CmdHoldPos]
Art=CommandHoldPosition
Buttonpos=2,0
[CmdPatrol]
Art=CommandPatrol
Buttonpos=0,0
[CmdPurchase]
Art=CommandPurchase
Buttonpos=0,0
[CmdRally]
Art=CommandRally
Buttonpos=3,1
PlacementModel=UI\Feedback\RallyPoint\RallyPoint.mdl
[CmdSelectSkill]
Art=CommandNewSkill
Buttonpos=3,1
[CmdStop]
Art=CommandStop
Buttonpos=1,0
//[CmdUnivAgi]
//Art=
//Buttonpos=2,0
//[CmdUnivInt]
//Art=
//Buttonpos=1,0
//[CmdUnivStr]
//Art=
//Buttonpos=0,0
|