《德军总部》更多按键设置代码详解
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

相关内容

热门资讯

彻底告别LPL,曾是Chovy... 大家好,S16赛季的比赛已经正式开始了,相信绝大多数的玩家都关注了最近一段时间的对抗,各大赛区的比赛...
原创 i... 随着LPL第三赛段的逐渐进行,截止目前季后赛阶段的比拼即将迎来尾声,而今天LPL败者组迎来了万众瞩目...
任天堂《塞尔达传说:时之笛》重... IT之家 9 月 8 日消息,任天堂今天在新一期直面会公布《塞尔达传说:时之笛》重制版游戏的实机演示...
AG老板菲姐开播回应,长生不会... KPL季后赛精彩赛事依旧在火热进行中,目前只剩下最后的决赛了,狼队对阵TTG,这场对决确实很让人期待...
资讯:IG零封LGD花絮公开!... 根据雷竞技娱乐记者第一手资讯:IG以3比0横扫LGD,不仅闯入了败者组决赛,更重要的是锁定了冒泡赛胜...
那些年你养过的旅行青蛙,要离开... IT之家 9 月 8 日消息,《旅行青蛙 · 中国之旅》手游今日发布停运公告,由于 IP 授权合作到...
600万人试玩,5天近千万流水... 暑期档余热未消,一个超级小众的赛道,又迎来了小爆款。 一款名为《BOMBANANA》的三人语音合作...
《三国志14 威力加强传承版》... 《三国志14 威力加强传承版》是为纪念《三国志》系列40周年,由天津光荣特库摩工作室负责开发的作品。...
原创 王... 你好,我是小酒。 王者万象棋即将于9月10日正式上线。今天也正式公布了代言人,他就是邓超。 为了庆...
Rookie通宵排位备战LGD... LPL季后赛精彩赛事依旧在火热进行中,今天的一场大战,网友们都期待已久了,IG的生死战,IG对阵LG...
类暗黑撤离ARPG《收割者:诸... 9月8日消息,Wolcen Studio今日宣布,新作《收割者:诸神已死(Gods, Death &...
有颜有料《剑侠世界4:无限》武... 气剑纵横,伞琴济世。西山居剑侠世界系列收官之作《剑侠世界4:无限》10月15日全平台公测,今日正式曝...
原创 9... 9月9日王者正式服更新,信息量极大,一起来看看都有哪些内容吧。 重点活动 万象棋联动福利 这个活动...
马克龙宣布设立电子游戏节:游戏... 法国总统马克龙在法国当地时间9月7日在法国圣保罗·德旺斯举办的卢米埃尔峰会上宣布法国将设立一个国际游...
昔日爆款手游《旅行青蛙·中国之... 快科技9月8日消息,还记得当年刷屏朋友圈的《旅行青蛙》吗? 这款手游在2018年问世后迅速成为现象级...
《TBH: 塔斯克巴·英雄》瘟... Nugem Studio工作室制作并发行,放置玩法的肉鸽动作RPG《TBH: 塔斯克巴·英雄》瘟疫之...
《最终幻想7:启示》全员可快速... 《最终幻想7:启示录》将调整FITS系统的职业解锁方式。游戏开始约5至6小时后,所有队伍成员均可使用...
从现象级爆款到正式停服,现象级... 今日,《旅行青蛙·中国之旅》官方宣布,因IP授权合作到期,游戏将于2026年12月8日正式停止运营。...
梦幻西游手游微变服,云梦西游9... 云梦西游微变版本,99%物品全部都能白嫖金币可买游戏中95%材料,全方位提升毕业 累充每日充值奖励,...
原创 旭... 旭旭宝宝尝试玩CF,直播间人气爆表,却因晕3D吐到下播,说起旭旭宝宝,游戏圈里基本没人会陌生,从当年...