注册 | 登录

游侠NETSHOW论坛





查看: 9407|回复: 8
打印 上一主题 下一主题

[原创] 《德軍總部》更多按鍵設置 [复制链接]

退一步海阔天空
混亂善良 紅龍 寰宇主宰
阿爾貝利希十三世·天人合一
#2 Benz SLR McLaren
★★★★★★★

精华勋章版主勋章活跃勋章荣誉勋章资深版主勋章

帖子
19242
精华
22
积分
17011
金钱
33849
荣誉
299
人气
1
评议
0
跳转到指定楼层
楼主
发表于 2009-8-24 18:53:02 |只看该作者 |倒序浏览
翻閱assets.pk4內的文件時,發現一些開發時用的按鍵綁定。於是嘗試加入到遊戲設置文件中,發現部份可用。

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

按鍵綁定指令格式:
  1. bind 按鍵 "功能"
  2. 例子(將M鍵綁定為上帝模式):
  3. bind M "god"
复制代码


以下為一些測試可用的功能(//後面為功能說明):
  1. toggle pm_thirdperson //切換第三身視角(遊戲只做了手部和槍的模型)
  2. give all ammo //補充所有彈藥
  3. toggle ui_showgun //切換顯示手部和槍的模型
  4. god //上帝模式
  5. screenshot //截圖,生成TGA文件
  6. sndshot //快速截圖,據我的測試是沒感覺出和截圖功能有什麼差別
  7. toggle con_noprint //切換顯示系統訊息
  8. notarget //不會被敵人攻擊
复制代码


未測試的功能:
  1. r_showgbufferchannel 0 //0,1,2,3,4
  2. toggle r_shadows //切換陰影顯示?
  3. toggle r_showsurfaceinfo 4
  4. toggle g_showhud
  5. toggle g_usepostprocesseffects
  6. noclip
  7. toggle r_skipspecular
  8. toggle g_showdebughud 5
  9. toggle r_showtris
  10. toggle r_skipbump
  11. help
  12. fxeditor
  13. toggle com_speeds
  14. toggle r_showPortals
  15. toggle r_showLights 6
  16. toggle r_showShadows 3
  17. toggle r_showBatchSize
  18. toggle stream_slot_list
  19. toggle g_stopTime
  20. com_showFPS 1
  21. g_enableHintGUIs 0
  22. givePowers
  23. toggle g_showentityinfo
复制代码


cmd全列表(估計也可以綁定到按鍵上):
  1.       aasStats              show AAS statistics
  2.       activateAFs           activates idAFEntity based entities
  3.       activateVehicles      activates physics on sdTransport based entities
  4.       addarrow              adds a debug arrow
  5.       addChatLine           internal use - core to game chat lines
  6.       addline               adds a debug line
  7.       addObituaryLine       internal use - core to add obituary lines
  8.       addPerformanceQuery   Displays a new performance query
  9.       admin                 perform administration commands
  10.       benchmark             benchmark
  11.       benchview             benchview
  12.       bind                  binds a command to a key
  13.       bindRagdoll           binds ragdoll at the current drag position
  14.       blinkline             blinks a debug line
  15.       buildFrequencies      build a frequency table for the fixed huffman compressor
  16.       calcMinDist           calc required min dist given [prevmindist] [prevmaxdist] [distmult] [newmaxdist] [newdistmult]
  17.       callvote              call a vote to change server settings, etc
  18.       camera                Sets the current view to a named camera entity, or clear the camera if no name is given
  19.       cameraNext            Sets the current view to the next camera found in the map
  20.       cameraPrev            Sets the current view to the previous camera found in the map
  21.       cancelPersonalWait    cancels the personal wait
  22.       checkNewVersion       check if a game update is available
  23.       checkRenderEntityHandles
  24.       clear                 clears the console
  25.       clearGlyphCache       clears the glyph cache
  26.       clearLights           clears all lights
  27.       clearPerformanceQueries Removes all performance queries
  28.       clearToolTipCookies   clears all tooltip state cookies, so they will be played again
  29.       clientClass           change your class
  30.       clientDefaultSpawn    revert to default spawn
  31.       clientMessageMode     ingame gui message mode
  32.       clientQuickChat       plays a quickchat declaration
  33.       clientspawn           spawns a game entity
  34.       clientTeam            change your team
  35.       clientWaitForDeploy   wait to be deployed
  36.       clientWaitForMedic    wait to be revived
  37.       clientWantSpawn       tap out
  38.       collisionModelInfo    shows collision model info
  39.       collisionTest         runs through all entityDefs and checks for erroneous collision data whilst generating cached models
  40.       combineCubeImages     combines six images for roq compression
  41.       commentOutDecls
  42.       conDump               dumps the console text to a file
  43.       connect               connects to a server
  44.       crash                 causes a crash
  45.       cubeToSkybox          converts a cubemap to a skybox (uses less memory than a full cubemap but only stores half a sphere)
  46.       cutNetDemo            cuts a network demo if valid markers are set
  47.       cvar_restart          restart the cvar system
  48.       cvarAdd               adds a value to a cvar
  49.       cvarMultiply          multiplies a value to a cvar
  50.       cycle                 cycles a cvar
  51.       damage                apply damage to an entity
  52.       declBaf               finishes the build process
  53.       declMemoryReport      provides a memory report for loaded decls
  54.       deleteSelected        deletes selected entity
  55.       demoShot              writes a screenshot for a demo
  56.       devmap                loads a map in developer mode
  57.       dir                   lists a folder
  58.       dirtree               lists a folder with subfolders
  59.       disasmScript          disassembles script
  60.       disconnect            disconnects from a game
  61.       dotRenderPrograms     dots render programs
  62.       dumpCollisionModelStats
  63.       dumpCVars             writes out all cvars to base/cvars_<date/time>.txt
  64.       dumpMonolithicInfo
  65.       dumpTextureInfo       Writes out resident texture info
  66.       dumpToolTips          dumps out all the tooltips to tooltips.txt
  67.       echo                  prints text
  68.       envshot               takes an environment shot
  69.       error                 causes an error
  70.       exec                  executes a config file
  71.       exit                  exits the game
  72.       exportmodels          exports models
  73.       exportScript          exports scripts to a compilable format
  74.       findFreeString        finds the next free string id
  75.       finishBuild           finishes the build process
  76.       fireteam              perform fireteam related commands
  77.       focusTool             activates the specified tool, or the first active tool if none is specified
  78.       freeze                freezes the game for a number of seconds
  79.       game_memory           displays game class info
  80.       gameCrash             cause a crash in the game module (dev purposes)
  81.       gameError             causes a game error
  82.       generateNetDemoKeyFrames generate a keyframe file for a network demo
  83.       getAtmosphereLightDetails Get atmosphere light details
  84.       getviewpos            prints the current view position (x y z) yaw pitch roll
  85.       gfxInfo               show graphics info
  86.       give                  gives one or more items
  87.       givereward            give reward to all players
  88.       giveToAllPlayers      gives one or more items to all players
  89.       god                   enables god mode
  90.       gpuPerformanceQueries Add a standard set of gpu performance queries (this needs an instrumented nvidia driver)
  91.       halfSphereToCube      converts spheremap to cubemap
  92.       halfSphereToSkybox    converts spheremap to a skybox
  93.       heightToNormal        does stuff with height maps
  94.       hideSurface
  95.       hitch                 hitches the game
  96.       htmlCVars             write out the cvars to cvars.html
  97.       imposter              renders imposter maps
  98.       in_restart            restarts the input system
  99.       invert                toggles controller up down axis
  100.       keepTestModel         keeps the last test model in the game
  101.       keyFrameNext          advances to the next key frame while playing back a network demo
  102.       keyFramePrev          reverses to the previous key frame while playing back a network demo
  103.       kill                  kills the player
  104.       killAllBots           causes all bots on the server to suicide and respawn
  105.       killClass             removes all entities of 'class'
  106.       killMenus
  107.       killMoveables         removes all moveables
  108.       killRagdolls          removes all ragdolls
  109.       killTransports        removes all transports
  110.       killType              removes all entities of 'type'
  111.       listActiveEntities    lists active game entities
  112.       listAF                lists articulated figures
  113.       listAnims             lists all animations
  114.       listBinaryDecls       lists the contents of a binary decl file
  115.       listBinds             lists key bindings
  116.       listClasses           lists game classes
  117.       listClientEntities    lists Client Entities
  118.       listCmds              lists commands
  119.       listCollisionModels   lists collision models
  120.       listControllers       lists connected controllers and their unique hashes
  121.       listCVars             lists cvars
  122.       listDecals            lists decal types
  123.       listDecls             lists all decls
  124.       listDictKeys          lists all keys used by dictionaries
  125.       listDictValues        lists all values used by dictionaries
  126.       listEffects           lists effects systems
  127.       listEntities          lists game entities
  128.       listEntityDefs        lists entity defs
  129.       listEvents            lists all active events
  130.       listGameCmds          lists game commands
  131.       listGUIs              lists all allocated GUIs
  132.       listGUIThemes         lists GUI themes
  133.       listImages            lists images
  134.       listLines             lists all debug lines
  135.       listLocStrs           lists localization strings
  136.       listMaterials         lists materials
  137.       listMedia             lists all models
  138.       listModelDefs         lists model defs
  139.       listModels            lists all models
  140.       listModes             lists all video modes
  141.       listOutOfLevelDecls   lists all decls which were parsed outside of level load
  142.       listPerformanceQueries Lists the available performance queries
  143.       listRenderBindings    lists render bindings
  144.       listRenderEntityDefs  lists the entity defs
  145.       listRendererCmds      lists renderer commands
  146.       listRenderLightDefs   lists the light defs
  147.       listRenderPrograms    lists render programs
  148.       listScriptObjects     lists script objects
  149.       listSkins             lists skins
  150.       listSoundCmds         lists sound commands
  151.       listSoundDecoders     list active sound decoders
  152.       listSounds            lists all sounds
  153.       listSoundShaders      lists sound shaders
  154.       listSoundUsage        lists all sound shader usage
  155.       listSpawnArgs         list the spawn args of an entity
  156.       listStuffTypes        lists stuff types
  157.       listSurfaceTypes      lists surface types
  158.       listSystemCmds        lists system commands
  159.       listTables            lists tables
  160.       listTemplates         lists templates
  161.       listTexUsage          lists model texture usage
  162.       listThreads           lists script threads
  163.       listToolCmds          lists tool commands
  164.       listVehicleScripts    lists vehicle scripts
  165.       listVertexCache       lists vertex cache
  166.       listVotes
  167.       loadtool              loads a tool DLL
  168.       makeAmbientMap        makes an ambient map
  169.       makeEnvMaps           Recreates the environment maps for the level
  170.       makeMegaTexture       processes giant images
  171.       makePerlin            makes perlin nose maps
  172.       map                   loads a map
  173.       mapshot               Takes an environment shot.
  174.       memoryDump            creates a memory dump
  175.       memoryDumpCompressed  creates a compressed memory dump
  176.       memoryDumpPerClass    creates a memory dump per class
  177.       memoryReport          creates a memory report
  178.       modulateLights        modifies shader parms on all lights
  179.       networkSpawn          spawns a game entity during a network game
  180.       nextAnim              shows next animation on test model
  181.       nextFrame             shows next animation frame on test model
  182.       nextMap               change to the next map
  183.       noclip                disables collision detection for the player
  184.       nodeActive            sets a node to active, or inactive
  185.       nodeAdd               adds a vehicle nav node to the map for the bots
  186.       nodeDel               deletes the nearest node.
  187.       nodeFlags             sets a node's flags. 0 = NORMAL, 1 = WATER
  188.       nodeLink              create a link from the last node to this one and back.
  189.       pass 'oneway' to make it a one way link.  pass 'clear' to start a new chain of links.
  190.       nodeName              renames the nearest node (handy for script access).  argument: <newName>
  191.       nodeRadius            sets the radius for the nearest node.  argument: <radius>
  192.       nodeTeam              changes the team the nearest node is associated with. team: <strogg|gdf|none>
  193.       nodeView              view a node
  194.       notarget              disables the player as a target
  195.       parse                 prints tokenized string
  196.       path                  lists search paths
  197.       pauseGame             pauses the game
  198.       pauseNetDemo          toggles pause while playing back a network demo
  199.       placeDemoCutEndMarker places end marker for demo cutting
  200.       placeDemoCutStartMarker places start marker for demo cutting
  201.       playJumpStartDemo     plays back a jump start demo
  202.       playNetDemo           plays back a network demo
  203.       popLight              removes the last created light
  204.       popPerformanceQuery   Removes a performance query
  205.       prevAnim              shows previous animation on test model
  206.       prevFrame             shows previous animation frame on test model
  207.       printAF               prints an articulated figure
  208.       printDecal            prints a decal type
  209.       printEffects          prints an effects system
  210.       printEntityDef        prints an entity def
  211.       printGuiProperty      Prints a property in the named gui
  212.       printGuiStats         Prints statistics for a gui
  213.       printLocStr           prints a localization string
  214.       printMaterial         prints a material
  215.       printModel            prints model info
  216.       printModelDefs        prints a model def
  217.       printSkin             prints a skin
  218.       printSoundShader      prints a sound shader
  219.       printStuffType        prints a stuff type
  220.       printSurfaceType      prints a surface type
  221.       printTable            prints a table
  222.       printTemplate         prints a template
  223.       printVehicleScripts   prints a vehicle script
  224.       quit                  quits the game
  225.       quitToSP              returns to SP
  226.       rcon                  sends remote console command to server
  227.       reconnect             reconnect to the last server we tried to connect to
  228.       recordNetDemo         records a network demo
  229.       reexportModels        reexports models
  230.       regenerateWorld       regenerates all interactions
  231.       reloadAnims           reloads animations
  232.       reloadDecls           reloads decls
  233.       reloadEngine          reloads the engine down, including the file system
  234.       reloadGlyphSpecials   relaods the glyph specials
  235.       reloadGuiGlobals      reloads gloabal gui properties
  236.       reloadImages          reloads images
  237.       reloadLanguage        reload language dictionaries
  238.       reloadModels          reloads models
  239.       reloadScript          reloads scripts
  240.       reloadSounds          reloads all sounds
  241.       reloadSurface         reloads the decl and images for selected surface
  242.       reloadTools           shuts down all tools and rescans the fs_toolPaths
  243.       reloadTunables        reload tunable stats dict
  244.       reloadUserGroups      reloads user groups
  245.       remove                removes an entity
  246.       removeline            removes a debug line
  247.       removeRedundantDeclText
  248.       renderbump            renders a bump map
  249.       renderbumpFlat        renders a flat bump map
  250.       renderLight           bakes light
  251.       rendermapshot         takes an environment shot
  252.       renderNetDemo         plays back a network demo, capturing frames to disk
  253.       reparseDecls          reparses decls
  254.       reportAnimState       Reports the entity number's current animation state
  255.       reportEffectUsage
  256.       reportImageDuplication checks all referenced images for duplications
  257.       reportPakChecksums    reports a set of MD5 hashes for pak files
  258.       reportSurfaceAreas    lists all used materials sorted by surface area
  259.       reset                 resets a cvar
  260.       resetAllBotsGoals     causes all bots to dump their current goals and start fresh
  261.       s_restart             restarts the sound system
  262.       saveMoveables         save all moveables to the .map file
  263.       saveNodes             saves the nav nodes to <mapname>.nav
  264.       saveRagdolls          save all ragdoll poses to the .map file
  265.       saveSelected          saves the selected entity to the .map file
  266.       say                   text chat
  267.       sayFireteam           fireteam text chat
  268.       sayTeam               team text chat
  269.       screenshot            takes a screenshot
  270.       serverInfo            shows server info
  271.       serverMapRestart      restart the current game
  272.       serverStartDemos      forces all clients to start recording demos
  273.       set                   sets a cvar
  274.       seta                  sets a cvar and flags it as archive
  275.       setAtmosphere         Set the atmosphere for the current area
  276.       setGuiProperty        Sets a property in the named gui
  277.       setimageviewpos
  278.       setLightInfo
  279.       setMachineSpec        detects system capabilities and sets com_machineSpec to appropriate value
  280.       setp                  sets a cvar and flags it as archive and profile
  281.       sets                  sets a cvar and flags it as server info
  282.       sett                  sets a cvar and flags it as tool
  283.       setu                  sets a cvar and flags it as user info
  284.       setviewpos            sets the current view position (x y z) yaw pitch roll
  285.       shaderPerformance     Export some shader performance info
  286.       showDictMemory        shows memory used by dictionaries
  287.       showFPSBandings       shows breakdown of fps
  288.       showInteractionMemory shows memory used by interactions
  289.       showStringMemory      shows memory used by strings
  290.       showSurface
  291.       showSurfaces
  292.       showTriSurfMemory     shows memory used by triangle surfaces
  293.       sizeDown              makes the rendered view smaller
  294.       sizeUp                makes the rendered view larger
  295.       spawn                 spawns a game entity
  296.       spawnServer           spawns a server
  297.       startBuild            prepares to make a build
  298.       stats                 stats debugging tool
  299.       stopNetDemo           stops network demo recording
  300.       superScreenShot       takes a big screenshot
  301.       takeViewNote
  302.       teleport              teleports the player to an entity location
  303.       testAnim              tests an animation
  304.       testBlend             tests animation blending
  305.       testDamage            tests a damage def
  306.       testDeath             tests death
  307.       testDecls             runs through all decls and checks for broken/defaulted ones
  308.       testDumpLocalStats
  309.       testDumpStats
  310.       testGiveXP
  311.       testGUI               Replace the main menu with a test gui.
  312.       testImage             displays the given image centered on screen
  313.       testIncSvStat
  314.       testLight             tests a light
  315.       testLoadLocalStats
  316.       testmap               tests a map
  317.       testModel             tests a model
  318.       testmodelsound
  319.       testParticleStopTime  tests particle stop time on a test model
  320.       testPointLight        tests a point light
  321.       testPrecache          Precaches an entitydef, then spawns it, to check for any additional unprecached media
  322.       testProficiency
  323.       testPurchase
  324.       testSetSvStat
  325.       testShaderParm        sets a shaderParm on an existing testModel
  326.       testSIMD              test SIMD code
  327.       testSkin              tests a skin on an existing testModel
  328.       testSound             tests a sound
  329.       teststats
  330.       testUnlock
  331.       testVoip
  332.       testWarning           test warnings!
  333.       timeNetDemo           times a network demo
  334.       timeServer            time a server
  335.       toggle                toggles a cvar
  336.       toggleNetDemo         toggles demo recording status
  337.       touch                 touches a decl
  338.       touchCollision
  339.       touchFile             touches a file
  340.       touchFileList         touches a list of files
  341.       touchModel            touches a model
  342.       trigger               triggers an entity
  343.       unbind                unbinds any command from a key
  344.       unbindall             unbinds any commands from all keys
  345.       unbindRagdoll         unbinds the selected ragdoll
  346.       unPauseGame           unpauses the game
  347.       useWeapon             switch to the named inventory item. this is looked up from the player's team def
  348.       validateModel         validates a model
  349.       vid_restart           resizes/fullscreens the game window
  350.       vote                  send your vote response
  351.       vstr                  inserts the current value of a cvar as command text
  352.       wait                  delays remaining buffered commands one or more frames
  353.       where                 prints the current view position (x y z) yaw pitch roll
  354.       wikiClassPage         dumps wiki formatted entity class information
  355.       wikiClassTree         dumps wiki formatted entity class information
  356.       wikiCVars             write out the cvars to cvars.txt, suitable for pasting into wiki
  357.       wikiEventInfo         dumps wiki formatted script event information
  358.       wikiFormatCode        dumps wiki formatted versions of the script files
  359.       wikiScriptClassPage   dumps wiki formatted script object information
  360.       wikiScriptFileList    dumps wiki formatted script file list
  361.       wikiScriptTree        dumps wiki formatted script object hierarchy
  362.       win                   Sets the winning team to allied or axis and ends game
  363.       writeConfig           writes a config file
  364.       writeImage            writes the given image to disk
  365.       writeJumpStartDemo    writes a jump start demo file, allows you to start further in a demo
  366.       writePrecache         writes precache commands
  367.       zoomInCommandMap      zoom in the command map
  368.       zoomOutCommandMap     zoom out the command map
复制代码

[ 本帖最后由 NC86 于 2009-8-24 19:23 编辑 ]
已有 1 人评分金钱 收起 理由
BF1942 + 15 文章不错,继续努力!

总评分: 金钱 + 15   查看全部评分

使用道具 举报

帖子
119
精华
0
积分
59
金钱
448
荣誉
0
人气
0
评议
0
沙发
发表于 2009-8-24 19:27:14 |只看该作者
很期待第三視角阿!!!  版大厲害阿!

但是我卻用不出來  =       = 汗水

我在文件上加入一排

bind P "oggle pm_thirdperson"


可是按 P 鍵卻按不出來   是方法錯誤???

使用道具 举报

退一步海阔天空
混亂善良 紅龍 寰宇主宰
阿爾貝利希十三世·天人合一
#2 Benz SLR McLaren
★★★★★★★

精华勋章版主勋章活跃勋章荣誉勋章资深版主勋章

帖子
19242
精华
22
积分
17011
金钱
33849
荣誉
299
人气
1
评议
0
板凳
发表于 2009-8-24 19:33:06 |只看该作者
少了個t
toggle pm_thirdperson

使用道具 举报

帖子
87
精华
0
积分
44
金钱
82
荣誉
0
人气
0
评议
0
地板
发表于 2009-8-25 10:44:04 |只看该作者
LZ太强悍了,支持中

使用道具 举报

帖子
119
精华
0
积分
59
金钱
448
荣誉
0
人气
0
评议
0
5#
发表于 2009-8-25 13:45:20 |只看该作者
好厲害!

真的變成了第三視角耶!  超屌!



但是怎麼只有手勒??  會不會出官方全身MOD呀 XDDD

『  總之版主厲害!!  

使用道具 举报

帖子
209
精华
0
积分
105
金钱
465
荣誉
0
人气
0
评议
0
6#
发表于 2009-8-26 11:49:41 |只看该作者
哪个代码是锁能量的啊???????哪个代码是锁能量的啊???????哪个代码是锁能量的啊???????哪个代码是锁能量的啊???????哪个代码是锁能量的啊???????

找不到![伤心啊]

使用道具 举报

活跃勋章

帖子
10877
精华
0
积分
5503
金钱
6250
荣誉
5
人气
41
评议
0

7#
发表于 2009-8-26 19:57:47 |只看该作者
太厉害了,要顶一下······

使用道具 举报

帖子
179
精华
0
积分
90
金钱
1182
荣誉
0
人气
0
评议
0
8#
发表于 2009-8-26 21:47:53 |只看该作者
好厉害,佩服,佩服。

使用道具 举报

帖子
138
精华
0
积分
69
金钱
291
荣誉
0
人气
0
评议
0
9#
发表于 2009-8-29 16:32:23 |只看该作者
太强大了!!! 我想换第三人称的。。。本来心里正在打鼓。。。结果真的只有枪和胳膊。。。。那还是第一人称慢慢虐吧

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

手机版|Archiver|游侠NETSHOW论坛 ( 苏ICP备2023007791号 )

GMT+8, 2025-9-22 08:22 , Processed in 0.375387 second(s), 13 queries , Gzip On, Memcache On.

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

分享到