步骤1:在游戏目录\left4dead2\cfg里新建cfg文件(比如0BJ.cfg),然后用notepad++打开,输入你想要的指令,比如:
sv_cheats 1
give pistol
give pistol
give rifle
give pipe_bomb
give first_aid_kit
give pain_pills
sb_give pistol
sb_give pistol
sb_give rifle
sb_give pipe_bomb
sb_give first_aid_kit
sb_give pain_pills
输入完成后保存。
步骤2:用notepad++打开游戏目录\left4dead2\cfg里的config.cfg文件,添加(这里以键盘上的英文句号“.”绑定0BJ.cfg为例):
bind "." "exec 0BJ.cfg"
输入完成后保存
用控制台建图进地图后直接按“.”即可获得所有你输入的指令效果