📄 console.txt
字号:
cls Just clear the console text buffer. wait [<frames>] Wait a given amount of time. The unit is per 35th of second. Example: this will wait 5 seconds, then display 'ok!' wait 175;echo "ok!" WARNING: when the wait command is executed, all the following commands are delayed until wait has finished. Eg: if you enter 'wait 126000' (35 * 60seconds * 60 minutes), you will have to wait one hour before other commands can be excuted!!! toggle <varibale_name> [<value>] Without value parameter this toggle a varaible. Technicaly it put variable to the next possible value. With value parmeter this add value to the varible. This command is very usefull for use with bind. ex: bind ">" "toggle gr_fogdensity" bind "<" "toggle gr_fogdensity -1" so you can modify fogdensity without going in the console or menu ! [2-2] Console setup =================== con_backpic <0|1> 1 : use a console background picture, like in Quake. The background is opaque, thus it doesn't slowdown the display because the part of the view under the console is not drawn. 0 : use translucency for the console background : this one looks much better, somewhat like a LCD translucent screen. The drawback is that it is slower than the first method. con_height <0-100> Set how many %percent% of the total screen height the console will use. eg: con_height 50 (the default), will use half the screen height for displaying the console. con_speed <1-???> Set the speed at which the console comes down or moves out of the screen, when you press the console toggle key. The number is given as screen lines. con_hudtime <0-???> Set the number of seconds that the messages stay on the top of the screen. They are 5 message lines that scroll as soon as new messages arrive. eg: con_hudtime 5, which is the default, will make the messages stay for 5 seconds before disappearing. Set this to 0, and you will never see any messages out of the console (hud means heads-up messages). showmessages <0-2> This is like in the Options Menu, with one more setting: '0' means never show any messages on the screen, '1' means always show the messages, which is the default. There is one more setting, '2' that can only be entered at the console, it will show all messages except most of the 'picked up ...' style messages. Useful if you are tired of the 'picked up ammo', 'picked up health bonus', ect. messages. [2-3] Player setup ================== name2 Same as name but for splitscreen player. name <your name> Enter your name as a player, for network games. Your name will be seen when you send a message (chat key), and is displayed in the deathmatch rankings. Use "" if the name contains spaces, eg: name "dj fabbe" The name can be entered in the Multiplayer menu. color2 Same as color but for splitscreen player. color <0-10> Choose your color, for multiplayer games. The color can be entered in the Multiplayer menu. chatmacro <0-9> <"your chat message"> This very useful command allows to change the chat messages at any time during the game. They are saved to the config too! You can now quickly setup some circumstance messages at the start of a game. Press the chat key, then ALT plus a number key from 0 to 9 to send one of the chat messages. Well, just like it has always been for Doom. [2-4] Game controls =================== use_mouse2 <0|1> Enable/Desable use of the secondary mouse. You must read the legacy.txt before use this. use_mouse <0|1> Setting 'use_mouse' to '0' will disable the mouse. The next time you start the game, the mouse won't be detected. Set 'use_mouse' to '1' to search for a mouse, and activate it. use_joystick <0-xx> Enable joystick support with any value other than '0'. '0' will disable the joystick. Go to the Setup Controls menu, to set the joystick buttons to game controls (just press enter on a control, then push any joystick button). DOS VERSION: Type "help use_joystick" at the console for the list of supported joystick types (gamepad, analogic, Wingman Extreme, etc..) WIN32 VERSION: Type "use_joystick" alone to see the list of connected joysticks, type a number to choose one of them. Doom Legacy Launcher passes the full name of the joystick device instead of a number.|joystickfreelook <0|1>| Enable or desable freelook with the joystick. invertmouse2 <0|1> Same as invertmouse but for splitscreen player. invertmouse <0|1> Just like in the Options menu Set invertmouse to 1 to inverse the mouse y (up and down) axis. This is for freelook only, you will look up, when moving the mouse down (backward), and look down when moving mouse forward. autorun <0|1> Just like in the Options menu Set this to 1, to lock the 'run' key. You will always be running, without the need of pushing a key. alwaysmlook2 <0|1> like alwaysmlook but for splitscreenplayer alwaysmlook <0|1> Just like in the Options menu You can use the 'freelook' (ability to look up and down) in two modes : permanent or temporary. Setting 'alwaysmlook' to '1' will set the freelook permanent. When 'alwaysmlook' is '0', you will need to keep the 'freelook' key while moving the mouse up and down. When releasing the key, the view will always re-center. This is useful if you keep firing rockets at your feets. mousesens2 <0-???> Same as mousesens but for splitscreen player. mousesens <0-???> The Options menu allows a range of 0-39 values. If you are one of those people that used to change the mouse sensitivity in the game config because you felt it was not enough, you can now set it at the console to any value you like! mlooksens2 <0-???> Same as mlooksens2 but for splitscreen player. mlooksens <0-???> The Options menu allows a range of 0-39 values. Same note as the mousesens value. mousemove <0|1> Enable/Disable mouse Y-axis for forward/backward. crosshair <0-3> Just like in the Options menu. Choose whether to use a crosshair (1-3), or not (0). The values are 1,2,3 for white cross, green angle, and red point. originalweaponswitch <0|1> Choose whether to use the original weapon change method (1), or the new Preferred Weapons Order (0), see 'weaponpref' for more. With the original weapon switch, whenever you walk on a weapon, it will switch to that weapon, even if it is not as powerful as the one you are carrying. That can be sometimes very annoying, especially in fast deathmatches. weaponpref <"014576328"> The Preferred Weapons Order (tm) :) This works only if you have set 'originalweaponswitch' to '0'. You give a priority to each of the weapons, with a number digit from '0' to '9'. Several weapons can have the same priority. When you pickup a weapon that you don't already have, you will switch to that weapon ONLY AND ONLY IF that weapon's priority is greater that the one you are carrying. If you already had the weapon, you will pickup the ammo as usual, without changing weapon. The numbers are priority values, for each of the weapons, in the following order: Fist, Gun, Shotgun, Chaingun, Rocket launcher, Plasma, BFG, Chainsaw, Super Shotgun. Thus 'weaponpref "014576328"' means that the super shotgun has the highest priority (8), while the fist is lowest priority (0). After the double shotgun, in decreasing priority you have the rocket launcher (7), plasma gun (6), chaingun (5), shotgun (4), BFG (3), chainsaw (2), gun (1). Let's have another interesting example : 'weaponpref 333333333' Since all weapons have the same priority in this last example, you will in fact NEVER change weapon automatically, because no weapon has a priority higher than any other one. You might consider this as the 'manual' weapon change. autoaim <0|1> Just like in the Options menu. The original Doom used autoaiming for up and down, and a very little aim adjustment on left and right. Now that you can shoot up and down with the freelook, you can play like a 'pro' and set autoaim off (0). Note that the autoaim has been enhanced : if you are not aiming at something right in front of you, you will be able to shoot at any angle with the freelook. If something is to be aimed just in front of you, then the autoaim will adjust your shots like in the original Doom. This means that you can to some extent, predict a target's path, and shoot ahead, while in autoaim mode. NETWORK NOTE: in a multiplayer game, the SERVER can force the autoaim off for all players with the command 'allowautoaim', use with caution (don't get your friends angry :) And remember: you can have more control now with the enhanced Autoaim so it might not be necessary to force everybody to autoaim off. setcontrol2 <controlname> <keyname> [<2nd keyname>] same as setcontrol but for player 2 (splitscreen player). setcontrol <controlname> <keyname> [<2nd keyname>] Using the Setup Controls menu will be much simpler! This command associates a key/joystick/mouse button, to a game control (forward, fire, use ...). The second keyname is optional. You can set it, and have two keys attached to one game control. eg: have 'ARROW UP' and 'MOUSE2' for 'forward'. When a key does not have a name, it uses a name of the form 'KEYxxx' where xxx is the key code. To know the name of the keys/joystick/mouse buttons, look for them at the Setup Controls menu. The control names are "forward","backward","strafe", "straferight","strafeleft","speed","turnleft","turnright", "fire","use","lookup","lookdown","centerview","mouseaiming", "weapon1","weapon2", ... "weapon8","talkkey","scores", "jump","console". Note: some key names have spaces in it, use the "" around. Example: setcontrol forward "keypad 7" "up arrow" The following will use the windows95 'menu' key to toggle the console: setcontrol console menu controlperkey <1|2> When set to 2 (several) you can put more than one control per key else seting a key to a control will remove the key from other assignation. This option was introduise since from the begining we support several control per key, but everyone don't want it. overlay <"fhmak"> : status bar overlay Choose which information to show when in full screen mode. Each letter represent a type of information that will be shown. 'f' : show frags (only in deathmatch) 'h' : show health 'm' : show armor 'a' : show current weapon ammo 'k' : show keys| 'e' : show monsters kill| 's' : show secret found count| The default is 'fhmakes' which shows all kind of information| on the status bar overlay. Note that the ammo icon displays a graphics of the current weapon's type of ammo, so that if you play with 'playersprites' off, you know what weapon you have ready. We're still not happy with the statusbar overlay : there should (and will) be more arrangements of the overlay icons, to suit different people's likes (eg: not everyone might want the frags displayed on the top right..) Plus we will add other useful| information like owned weapons.. bind <keyname> <"command"> Bind commands to a key. Each time you push the key, the commands will be executed. Example : > bind s screenshot (each time you push the 's' key it will make a screenshot) mouse2port <1|2|3|4> Choose the port nomber of the secondary mouse for the splitscreenplayer between COM1 to COM4. [2-5] Game options ================== viewheight <16-56> Set the height of the view (the height of the eyes above the floor). The normal value for the Doom marine is 41. We have limited the range into acceptable values, to prevent cheating. turbo <10-255> : set turbo speed This is like the original -turbo game parameter, you can now set it anytime you want during the game. respawnitem <0|1>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -