《德军总部》更多按键设置代码详解
admin
2023-02-05 19:10:37
0

翻阅assets.pk4内的文件时,发现一些开发时用的按键绑定。於是尝试加入到游戏设置文件中,发现部份可用。

将指令加入到C:\Documents and Settings\用户名称\Local Settings\Application Data\id Software\WolfSP\base\wolf.cfg中即可

按键绑定指令格式:

[Copy to clipboard] [ - ]CODE:
bind 按键 "功能"
例子(将M键绑定為上帝模式):
bind M "god"

以下為一些测试可用的功能(//后面為功能说明):

[Copy to clipboard] [ - ]CODE:
toggle pm_thirdperson //切换第三身视角(游戏只做了手部和枪的模型)
give all ammo //补充所有弹药
toggle ui_showgun //切换显示手部和枪的模型
god //上帝模式
screenshot //截图,生成TGA文件
sndshot //快速截图,据我的测试是没感觉出和截图功能有什麼差别
toggle con_noprint //切换显示系统讯息
notarget //不会被敌人攻击

未测试的功能:

[Copy to clipboard] [ - ]CODE:
r_showgbufferchannel 0 //0,1,2,3,4
toggle r_shadows //切换阴影显示?
toggle r_showsurfaceinfo 4
toggle g_showhud
toggle g_usepostprocesseffects
noclip
toggle r_skipspecular
toggle g_showdebughud 5
toggle r_showtris
toggle r_skipbump
help
fxeditor
toggle com_speeds
toggle r_showPortals
toggle r_showLights 6
toggle r_showShadows 3
toggle r_showBatchSize
toggle stream_slot_list
toggle g_stopTime
com_showFPS 1
g_enableHintGUIs 0
givePowers
toggle g_showentityinfo

[$HR getPages$]

cmd全列表(估计也可以绑定到按键上):

[Copy to clipboard] [ - ]CODE:
      aasStats              show AAS statistics
      activateAFs           activates idAFEntity based entities
      activateVehicles      activates physics on sdTransport based entities
      addarrow              adds a debug arrow
      addChatLine           internal use - core to game chat lines
      addline               adds a debug line
      addObituaryLine       internal use - core to add obituary lines
      addPerformanceQuery   Displays a new performance query
      admin                 perform administration commands
      benchmark             benchmark
      benchview             benchview
      bind                  binds a command to a key
      bindRagdoll           binds ragdoll at the current drag position
      blinkline             blinks a debug line
      buildFrequencies      build a frequency table for the fixed huffman compressor
      calcMinDist           calc required min dist given [prevmindist] [prevmaxdist] [distmult] [newmaxdist] [newdistmult]
      callvote              call a vote to change server settings, etc
      camera                Sets the current view to a named camera entity, or clear the camera if no name is given
      cameraNext            Sets the current view to the next camera found in the map
      cameraPrev            Sets the current view to the previous camera found in the map
      cancelPersonalWait    cancels the personal wait
      checkNewVersion       check if a game update is available
      checkRenderEntityHandles
      clear                 clears the console
      clearGlyphCache       clears the glyph cache
      clearLights           clears all lights
      clearPerformanceQueries Removes all performance queries
      clearToolTipCookies   clears all tooltip state cookies, so they will be played again
      clientClass           change your class
      clientDefaultSpawn    revert to default spawn
      clientMessageMode     ingame gui message mode
      clientQuickChat       plays a quickchat declaration
      clientspawn           spawns a game entity
      clientTeam            change your team
      clientWaitForDeploy   wait to be deployed
      clientWaitForMedic    wait to be revived
      clientWantSpawn       tap out
      collisionModelInfo    shows collision model info
      collisionTest         runs through all entityDefs and checks for erroneous collision data whilst generating cached models
      combineCubeImages     combines six images for roq compression
      commentOutDecls
      conDump               dumps the console text to a file
      connect               connects to a server
      crash                 causes a crash
      cubeToSkybox          converts a cubemap to a skybox (uses less memory than a full cubemap but only stores half a sphere)
      cutNetDemo            cuts a network demo if valid markers are set
      cvar_restart          restart the cvar system
      cvarAdd               adds a value to a cvar
      cvarMult

相关内容

热门资讯

下一个拉瑞安?曾经的俄罗斯小作... 你的下一部《质量效应》,为何不能是《苍穹浩瀚》 对于深耕硬核RPG领域的玩家而言,Owlcat Ga...
原创 低... 在王者荣耀中,有没有一个中低分段很好用的上分英雄呢?可能很多玩家都比较好奇这么一个角色,意思就是,我...
备战冠位从者特别挑战!《FGO... 《FGO》奏章4新版本上线后,除了全新主线剧情、限定从者、法庭裁定新玩法之外,还有一项容易被玩家忽略...
4月全球收入榜:王者蝉联Top... 5月7日,AppMagic发布2026年4月全球手游收入排行与增长榜。4月全球手游收入环比下降4.3...
「热门套路评测」中单惩击白起打... 这一篇文章我们来聊一下最近比较火热的中单白起带惩击的套路,所有的套路都是打一个信息差,当不存在信息差...
《朋友收集 梦想生活》简评:欢... 《朋友收集》系列在任天堂的游戏阵容中属于兼具奇葩色彩与独特魅力的作品,它没有传统意义上的主线剧情,也...
原创 异... 异环里藏有许多还没公开的隐藏成就等着大家来解锁,大家顺利完成对应条件后就可以获取各类稀有奖励,像是特...
不到12小时打通《红色沙漠》!... Pearl Abyss凭借自身在MMORPG开发上的深厚积累,精心打造出单机RPG佳作《红色沙漠》。...
考公大省照进江湖,燕云好客冬瓜... 知道咱们“烧冬瓜”的燕云十六声火,但真没想到能火到这个地步!如今开放世界赛道扎堆,而能突破圈层风靡全...
刚刚《尘白禁区》官宣:明日重新... 回来了。 文/修理 今日(5月7日),《尘白禁区》发布公告,确认游戏将于5月8日下午两点重新开服,并...
五月新版本进度冲刺!《FGO》... 五月新版本正式开启后,不少玩家都想快速冲刺《FGO》奏章4主线进度,早日解锁圣晶石奖励、五星玛修完整...
央视连播两集纪录片,重新认识中... 如果把时间倒回二十多年前,你告诉我游戏能登上央视,还能被连着点赞,那我大概率会让你洗洗睡了。毕竟在那...
APT破纪录、APL玩潮流、红... 2026年开年,亚洲竞技市场便进入了“神仙打架”的白热化阶段。各大赛事品牌不再满足于常规办赛,而是各...
王者星币商店别再乱换,哪吒联动... 大家好,今天,想聊聊哪吒联动比较重要的零氪奖励。 哪吒联动已经开启1周的时间,相信很多玩家都换到姜子...
HLE零封DNS拿下9连胜,K... 6号LCK常规赛循环赛第二轮的比赛中,HLE以2:0战胜DNS。两局比赛整体都呈现出激烈对攻的乱战局...
微软叫停了两年前公布的AI游戏... 两年前,微软正式向大众公开了自己新研发的AI游戏助手Gaming Copilot,当时官方曾拿自由度...
IGN、伯克利联合报告:逾六成... IT之家 5 月 6 日消息,一项新调查显示,在最活跃、投入度最高的电子游戏玩家中,62% 已经不再...
原创 T... LPL第二赛段常规赛已经来到后半程,眼看着组内赛只剩下最后两周就将落下帷幕,登峰组晋级名额的争夺也愈...
海外玩家玩到落泪!《燕云十六声... 有这么一款武侠开放世界游戏,海外上线开服40分钟就涌入了50多万玩家,Steam全球最高同时在线峰值...
《三国:百将牌》试玩报告:上个... “摸鱼优选” 对于游戏编辑而言,再优秀的游戏,往往也只是日常工作里的过眼云烟,游戏产品向来来得快去得...