Custom Settings for Players: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
objective menu hotkey doesn't work yet
Line 26: Line 26:
*"Health Potion"
*"Health Potion"


To create a hotkey that will automatically call the Objectives menu, use,
To create a hotkey that will create a screenshot, use


* '''bind "[button] "_impulse19"'''
* '''bind "[button]" "screenshot"'''


== Other ==
== Other ==

Revision as of 19:06, 17 October 2008

This page lists various settings that users can modify to make their game experience more to their liking.

There are two ways to adjust these settings. You can find and modify them inside your doomconfig.cfg file, or you can pull down the console (~) while the game is running and type the value directly into the console.

Toggles

  • seta in_toggleCrouch If set to "1", causes the crouch button to act as a toggle. Defaults to "0"
  • seta in_toggleRun If set to "1", causes the run button to act as a toggle. Defaults to "0"
  • seta in_alwaysRun If set to "1", causes the player to always run. (probably not useful in a stealth game). Defaults to "0"
  • seta pm_lean_toggle If set to "1" causes leaning to work as a toggle. Defaults to "0"

Making Hotkeys

To set hotkeys for inventory items, add the following line(s) to your doomconfig.cfg file, or type them into the console.

  • bind "[button]" "inventory_hotkey [item]"

For example, bind "F1" "inventory_hotkey Flashbomb" will automatically select your flashbomb in inventory when you press F1.

Note that you can use the Controls Menu to set a hotkey for the compass, lantern, (under Weapons) and maps (under Other).

The other inventory objects you may wish to create a hotkey for are:

  • "Spyglass"
  • "Breath Potion"
  • "Health Potion"

To create a hotkey that will create a screenshot, use

  • bind "[button]" "screenshot"

Other

  • tdm_frob_ammo_selects_weapon If set to "1" weapons are automatically selected when the respective arrows are frobbed.
  • tdm_weapon_next_on_empty If set to "1" weapons will automatically cycle to the next weapon when you run out (in other words, after you fire your last water arrow you will immediately equip your fire arrows--generally not a good idea.
  • seta tdm_door_auto_open_on_unlock Default setting makes doors swing open automatically when they are unlocked. Set to "0" to make doors stay closed until you frob them.


See also Console Useful Controls


Spawning Objects

You want to spawn ammo_* (hit tab in the console and it will auto-complete it for you). For example, spawn ammo_waterarrow_small. Some of them are bugged to give you more than one for some reason (we should fix this). This spawns the arrows and you can frob them to pick them up. You may have to noclip up into the air before spawning to make sure they don't spawn partially buried in the ground.