搜索

《德军总部》更多按键设置代码详解

2009-08-26 09:03:35来源:游戏下载网

翻阅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

 
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
  &nbs

编辑: 有用(0人)
分享到:

德军总部

角色扮演

游戏平台:/PC/PS3/Xbox360/

发行时间:2009年8月18日

8.7

玩家指数

热门手游

换一批

    热门阅读

    未满18岁慎入!有人拍了《塞尔达传说》林克“裸照”

    未满18岁慎入!有人拍了《塞尔达传说》林克“裸照”

    资讯新闻 2018-05-25

    《地平线:西之绝境》评测:曙光之后依然绚烂

    《地平线:西之绝境》评测:曙光之后依然绚烂

    游戏评测 2022-02-28

    既叛逆又霸气!游戏史上25大反面英雄角色盘点

    既叛逆又霸气!游戏史上25大反面英雄角色盘点

    资讯新闻 2012-03-08

    Switch破解新进度!无需改机即可完美运行部分游戏

    Switch破解新进度!无需改机即可完美运行部分游戏

    业界动态 2018-05-15

    《永劫无间》内测版评测:解决了冷兵器吃鸡的核心痛点

    《永劫无间》内测版评测:解决了冷兵器吃鸡的核心痛点

    游戏评测 2021-04-27

    相关应用

    查看更多应用

    相关阅读

    德军总部新血脉豪华版奖励内容一览

    单机游戏攻略 2019-06-17

    德军总部新血脉预购各版本内容 发售时间及游戏简介

    单机游戏问答 2019-03-28

    《德军总部2:新巨人》各类型实用武器推荐 哪些武器比较好用?

    游戏技术心得 2017-12-23

    德军总部旧血脉手榴弹怎么用?手榴弹手柄使用方法

    单机游戏问答 2017-12-23

    《德军总部2》全地区收集要素视频攻略 有哪些地方可以收集

    单机游戏攻略 2017-11-20