快吧单机 攻略列表 《德军总部》更多按键设置代码详解

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

作者: 佚名 2013-01-17 17:05 官方网站
翻阅assets.pk4内的文件时,发现一些开发时用的按键绑定。於是尝试加入到游戏设置文件中,发现部份可用。 将指令加入到c:documents and settings用户名称local settingsapplication dataid softwarewolfspbasewolf.cfg中即可 按键绑定指令格式: [copy to clipboard] [ - ]code: bind 按键 "功能" 例子(将m键绑定為上帝模式): bind m "god" 以下為一些测试可用的功能(//后面為功能说明): [co ...

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 a vailable
      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
      cvarmultiply          multiplies a value to a cvar
      cycle                 cycles a cvar
      damage                apply damage to an entity
      declbaf               finishes the build process
      declmemoryreport      provides a memory report for loaded decls
      deleteselected        deletes selected entity
      demoshot              writes a screenshot for a demo
      devmap                loads a map in developer mode
      dir                   lists a folder
      dirtree               lists a folder with subfolders
      disas mscript          disassembles script
      disconnect            disconnects from a game
      dotrenderprograms     dots render programs
      dumpcollisionmodelstats
      dumpcvars             writes out all cvars to base/cvars_.txt
      dumpmonolithicinfo
      dumptextureinfo       writes out resident texture info
      dumptooltips          dumps out all the tooltips to tooltips.txt
      echo                  prints text
      envshot               takes an environment shot
      error                 causes an error
      exec                  executes a config file
      exit                  exits the game
      exportmodels          exports models
      exportscript          exports scripts to a compilable format
      findfreestring        finds the next free string id
      finishbuild           finishes the build process
      fireteam              perform fireteam related commands
      focustool             activates the specified tool, or the first active tool if none is specified
      freeze                freezes the game for a number of seconds
      game_memory           displays game class info
      gamecrash             cause a crash in the game module (dev purposes)
      gameerror             causes a game error
      generatenetdemokeyframes generate a keyframe file for a network demo
      getatmospherelightdetails get atmosphere light details
      getviewpos            prints the current view position (x y z) yaw pitch roll
      gfxinfo               show graphics info
      give                  gives one or more items
      givereward            give reward to all players
      givetoallplayers      gives one or more items to all players
      god                   enables god mode
      gpuperformancequeries add a standard set of gpu performance queries (this needs an instrumented nvidia driver)
      halfspheretocube      converts spheremap to cubemap
      halfspheretoskybox    converts spheremap to a skybox
      heighttonormal        does stuff with height maps
      hidesurface
      hitch                 hitches the game
      htmlcvars             write out the cvars to cvars.html
      imposter              renders imposter maps
      in_restart            restarts the input system
      invert                toggles controller up down axis
      keeptestmodel         keeps the last test model in the game
      keyframenext          advances to the next key frame while playing back a network demo
      keyframeprev          reverses to the previous key frame while playing back a network demo
      kill                  kills the player
      killallbots           causes all bots on the server to suicide and respawn
      killclass             removes all entities of ’class’
      killmenus
      killmoveables         removes all moveables
      killragdolls          removes all ragdolls
      killtransports        removes all transports
      killtype              removes all entities of ’type’
      listactiveentities    lists active game entities
      listaf                lists articulated figures
      listanims             lists all animations
      listbinarydecls       lists the contents of a binary decl file
      listbinds             lists key bindings
      listclasses           lists game classes
      listcliententities    lists client entities
      listcmds              lists commands
      listcollisionmodels   lists collision models
      listcontrollers       lists connected controllers and their unique hashes
      listcvars             lists cvars
      listdecals            lists decal types
      listdecls             lists all decls
      listdictkeys          lists all keys used by dictionaries
      listdictvalues        lists all values used by dictionaries
      listeffects           lists effects systems
      listentities          lists game entities
      listentitydefs        lists entity defs
      listevents            lists all active events
      listgamecmds          lists game commands
      listguis              lists all allocated guis
      listguithemes         lists gui themes
      listimages            lists images
      listlines             lists all debug lines
      listlocstrs           lists localization strings
      listmaterials         lists materials
      listmedia             lists all models
      listmodeldefs         lists model defs
      listmodels            lists all models
      listmodes             lists all video modes
      listoutofleveldecls   lists all decls which were parsed outside of level load
      listperformancequeries lists the a vailable performance queries
      listrenderbindings    lists render bindings
      listrenderentitydefs  lists the entity defs
      listrenderercmds      lists renderer commands
      listrenderlightdefs   lists the light defs
      listrenderprograms    lists render programs
      listscriptobjects     lists script objects
      listskins             lists skins
      listsoundcmds         lists sound commands
      listsounddecoders     list active sound decoders
      listsounds            lists all sounds
      listsoundshaders      lists sound shaders
      listsoundusage        lists all sound shader usage
      listspawnargs         list the spawn args of an entity
      liststufftypes        lists stuff types
      listsurfacetypes      lists surface types
      listsystemcmds        lists system commands
      listtables            lists tables
      listtemplates         lists templates
      listtexusage          lists model texture usage
      listthreads           lists script threads
      listtoolcmds          lists tool commands
      listvehiclescripts    lists vehicle scripts
      listvertexcache       lists vertex cache
      listvotes
      loadtool              loads a tool dll
      makeambientmap        makes an ambient map
      makeenvmaps           recreates the environment maps for the level
      makemegatexture       processes giant images
      makeperlin            makes perlin nose maps
      map                   loads a map
      mapshot               takes an environment shot.
      memorydump            creates a memory dump
      memorydumpcompressed  creates a compressed memory dump
      memorydumpperclass    creates a memory dump per class
      memoryreport          creates a memory report
      modulatelights        modifies shader parms on all lights
      networkspawn          spawns a game entity during a network game
      nextanim              shows next animation on test model
      nextframe             shows next animation frame on test model
      nextmap               change to the next map
      noclip                disables collision detection for the player
      nodeactive            sets a node to active, or inactive
      nodeadd               adds a vehicle na v node to the map for the bots
      nodedel               deletes the nearest node.
      nodeflags             sets a node’s flags. 0 = normal, 1 = water
      nodelink              create a link from the last node to this one and back.
      pass ’oneway’ to make it a one way link.  pass ’clear’ to start a new chain of links.
      nodename              renames the nearest node (handy for script access).  argument:
      noderadius            sets the radius for the nearest node.  argument:
      nodeteam              changes the team the nearest node is associated with. team:
      nodeview              view a node
      notarget              disables the player as a target
      parse                 prints tokenized string
      path                  lists search paths
      pausegame             pauses the game
      pausenetdemo          toggles pause while playing back a network demo
      placedemocutendmarker places end marker for demo cutting
      placedemocutstartmarker places start marker for demo cutting
      playjumpstartdemo     plays back a jump start demo
      playnetdemo           plays back a network demo
      poplight              removes the last created light
      popperformancequery   removes a performance query
      prevanim              shows previous animation on test model
      prevframe             shows previous animation frame on test model
      printaf               prints an articulated figure
      printdecal            prints a decal type
      printeffects          prints an effects system
      printentitydef        prints an entity def
      printguiproperty      prints a property in the named gui
      printguistats         prints statistics for a gui
      printlocstr           prints a localization string
      printmaterial         prints a material
      printmodel            prints model info
      printmodeldefs        prints a model def
      printskin             prints a skin
      printsoundshader      prints a sound shader
      printstufftype        prints a stuff type
      printsurfacetype      prints a surface type
      printtable            prints a table
      printtemplate         prints a template
      printvehiclescripts   prints a vehicle script
      quit                  quits the game
      quittosp              returns to sp
      rcon                  sends remote console command to server
      reconnect             reconnect to the last server we tried to connect to
      recordnetdemo         records a network demo
      reexportmodels        reexports models
      regenerateworld       regenerates all interactions
      reloadanims           reloads animations
      reloaddecls           reloads decls
      reloadengine          reloads the engine down, including the file system
      reloadglyphspecials   relaods the glyph specials
      reloadguiglobals      reloads gloabal gui properties
      reloadimages          reloads images
      reloadlanguage        reload language dictionaries
      reloadmodels          reloads models
      reloadscript          reloads scripts
      reloadsounds          reloads all sounds
      reloadsurface         reloads the decl and images for selected surface
      reloadtools           shuts down all tools and rescans the fs_toolpaths
      reloadtunables        reload tunable stats dict
      reloadusergroups      reloads user groups
      remove                removes an entity
      removeline            removes a debug line
      removeredundantdecltext
      renderbump            renders a bump map
      renderbumpflat        renders a flat bump map
      renderlight           bakes light
      rendermapshot         takes an environment shot
      rendernetdemo         plays back a network demo, capturing frames to disk
      reparsedecls          reparses decls
      reportanimstate       reports the entity number’s current animation state
      reporteffectusage
      reportimageduplication checks all referenced images for duplications
      reportpakchecksums    reports a set of md5 hashes for pak files
      reportsurfaceareas    lists all used materials sorted by surface area
      reset                 resets a cvar
      resetallbotsgoals     causes all bots to dump their current goals and start fresh
      s_restart             restarts the sound system
      sa vemoveables         sa ve all moveables to the .map file
      sa venodes             sa ves the na v nodes to.na v
      sa veragdolls          sa ve all ragdoll poses to the .map file
      sa veselected          sa ves the selected entity to the .map file
      say                   text chat
      sayfireteam           fireteam text chat
      sayteam               team text chat
      screenshot            takes a screenshot
      serverinfo            shows server info
      servermaprestart      restart the current game
      serverstartdemos      forces all clients to start recording demos
      set                   sets a cvar
      seta                  sets a cvar and flags it as archive
      setatmosphere         set the atmosphere for the current area
      setguiproperty        sets a property in the named gui
      setimageviewpos
      setlightinfo
      setmachinespec        detects system capabilities and sets com_machinespec to appropriate value
      setp                  sets a cvar and flags it as archive and profile
      sets                  sets a cvar and flags it as server info
      sett                  sets a cvar and flags it as tool
      setu                  sets a cvar and flags it as user info
      setviewpos            sets the current view position (x y z) yaw pitch roll
      shaderperformance     export some shader performance info
      showdictmemory        shows memory used by dictionaries
      showfpsbandings       shows breakdown of fps
      showinteractionmemory shows memory used by interactions
      showstringmemory      shows memory used by strings
      showsurface
      showsurfaces
      showtrisurfmemory     shows memory used by triangle surfaces
      sizedown              makes the rendered view s maller
      sizeup                makes the rendered view larger
      spawn                 spawns a game entity
      spawnserver           spawns a server
      startbuild            prepares to make a build
      stats                 stats debugging tool
      stopnetdemo           stops network demo recording
      superscreenshot       takes a big screenshot
      takeviewnote
      teleport              teleports the player to an entity location
      testanim              tests an animation
      testblend             tests animation blending
      testdamage            tests a damage def
      testdeath             tests death
      testdecls             runs through all decls and checks for broken/defaulted ones
      testdumplocalstats
      testdumpstats
      testgivexp
      testgui               replace the main menu with a test gui.
      testimage             displays the given image centered on screen
      testincsvstat
      testlight             tests a light
      testloadlocalstats
      testmap               tests a map
      testmodel             tests a model
      testmodelsound
      testparticlestoptime  tests particle stop time on a test model
      testpointlight        tests a point light
      testprecache          precaches an entitydef, then spawns it, to check for any additional unprecached media
      testproficiency
      testpurchase
      testsetsvstat
      testshaderparm        sets a shaderparm on an existing testmodel
      testsimd              test simd code
      testskin              tests a skin on an existing testmodel
      testsound             tests a sound
      teststats
      testunlock
      testvoip
      testwarning           test warnings!
      timenetdemo           times a network demo
      timeserver            time a server
      toggle                toggles a cvar
      togglenetdemo         toggles demo recording status
      touch                 touches a decl
      touchcollision
      touchfile             touches a file
      touchfilelist         touches a list of files
      touchmodel            touches a model
      trigger               triggers an entity
      unbind                unbinds any command from a key
      unbindall             unbinds any commands from all keys
      unbindragdoll         unbinds the selected ragdoll
      unpausegame           unpauses the game
      useweapon             switch to the named inventory item. this is looked up from the player’s team def
      validatemodel         validates a model
      vid_restart           resizes/fullscreens the game window
      vote                  send your vote response
      vstr                  inserts the current value of a cvar as command text
      wait                  delays remaining buffered commands one or more frames
      where                 prints the current view position (x y z) yaw pitch roll
      wikiclasspage         dumps wiki formatted entity class information
      wikiclasstree         dumps wiki formatted entity class information
      wikicvars             write out the cvars to cvars.txt, suitable for pasting into wiki
      wikieventinfo         dumps wiki formatted script event information
      wikiformatcode        dumps wiki formatted versions of the script files
      wikiscriptclasspage   dumps wiki formatted script object information
      wikiscriptfilelist    dumps wiki formatted script file list
      wikiscripttree        dumps wiki formatted script object hierarchy
      win                   sets the winning team to allied or axis and ends game
      writeconfig           writes a config file
      writeimage            writes the given image to disk
      writejumpstartdemo    writes a jump start demo file, allows you to start further in a demo
      writeprecache         writes precache commands
      zoomincommandmap      zoom in the command map
      zoomoutcommandmap     zoom out the command map


精选单机游戏推荐