Custom Settings for Players: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
This page lists various settings that users can modify to make their game experience more to their liking.
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.
There are two ways to adjust these settings.  You can find and modify them inside your <s>doomconfig.cfg</s> Darkmod.cfg file, or you can pull down the console ({{key|CTRL}} + {{key|ALT}} + {{key|~}}, always the key under the {{key|ESC}} key) while the game is running and type the value directly into the console.


== Toggles ==
== Toggles ==


* '''in_toggleCrouch''' If set to '''"1"''', causes the crouch button to act as a toggle.
* '''seta in_toggleCrouch''' If set to '''"1"''', causes the crouch button to act as a toggle. Defaults to "0"
* '''in_toggleRun''' If set to '''"1"''', causes the run button to act as a toggle.
* '''seta in_toggleRun''' If set to '''"1"''', causes the run button to act as a toggle. Defaults to "0"
* '''in_alwaysRun''' If set to '''"1"''', causes the player to always run. (probably not useful in a stealth game)
* '''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_togggle'''  If set to '''"1"''' causes leaning to work as a toggle
* '''seta pm_lean_toggle'''  If set to '''"1"''' causes leaning to work as a toggle.  Defaults to "0"


== Making Hotkeys ==


== Inventory Related ==
To set hotkeys for inventory items, add the following line(s) to your <s>doomconfig.cfg</s> Darkmod.cfg file, or type them into the console.
 
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]"'''
*'''bind "[button]" "inventory_hotkey [item]"'''


For example, '''bind "F1" "inventory_hotkey Flashbomb"''' will automatically select your flashbomb in inventory when you press F1.
For example, '''bind "F1" "inventory_hotkey Flashbomb"''' will automatically select your flashbomb in inventory when you press {{key|F1}}.


Note that you can use the Controls Menu to set a hotkey for the compass, lantern, and maps.
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:
The other inventory objects you may wish to create a hotkey for are:
Line 26: Line 25:
*"Breath Potion"
*"Breath Potion"
*"Health Potion"
*"Health Potion"
You can bind the bow zoom to a hot key with:
bind [button] "toggle g_fov 90 45"


== Other ==
== Other ==


* '''tdm_frob_ammo_selects_weapon'''  If set to "1" weapons are automatically selected when the respective arrows are frobbed.
* '''tdm_frob_weapon_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.
*'''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.


*'''Disable Bow Zoom'''  In script/tdm_weapon_arrow.script there is a line "#define ARROW_ZOOMAMOUNT    60". Changing it to "#define ARROW_ZOOMAMOUNT    90" will disable the bow zoom. If you are using a different fov as 90°, you'll have to set it to the specific number. To apply this change, extract the file from the pk4 (can be opened like a zip file, as they are zips) and put it in a script folder in your darkmod installation (you have to create said folder). Alter the file there. This file will than override the one in the pk4 (literally).


* '''_impulse19''' shows/hides the objectives screen.


See also [[Console Useful Controls]]
See also [[Console Useful Controls]]


{{general}}
{{general}}
[[Category:Gameplay]]
[[Category:Gameplay concepts and settings]]

Latest revision as of 15:58, 24 April 2024

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 Darkmod.cfg file, or you can pull down the console (CTRL + ALT + ~, always the key under the ESC key) 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 Darkmod.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"

You can bind the bow zoom to a hot key with: bind [button] "toggle g_fov 90 45"

Other

  • tdm_frob_weapon_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.
  • Disable Bow Zoom In script/tdm_weapon_arrow.script there is a line "#define ARROW_ZOOMAMOUNT 60". Changing it to "#define ARROW_ZOOMAMOUNT 90" will disable the bow zoom. If you are using a different fov as 90°, you'll have to set it to the specific number. To apply this change, extract the file from the pk4 (can be opened like a zip file, as they are zips) and put it in a script folder in your darkmod installation (you have to create said folder). Alter the file there. This file will than override the one in the pk4 (literally).


See also Console Useful Controls