Custom Settings for Players: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(21 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 <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.
=== Cvars ===


== Toggles ==
== Toggles ==


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


== Inventory Related ==
== Making Hotkeys ==


To set hotkeys for inventory items, add the following line(s) to your doomconfig.cfg file, or type them into the console.
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.


*'''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:


"Spyglass"
*"Spyglass"
"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"


* '''tdm_frob_ammo_selects_weapon''' (default is "1"): Set this to 1 to have the weapons automatically selected when the respective arrows are frobbed.
== Other ==


*'''seta tdm_door_auto_open_on_unlock "1"'''
* '''tdm_frob_weapon_selects_weapon''' If set to '''"1"''' weapons are automatically selected when the respective arrows are frobbed.
If set to "1" doors swing open automatically when they are unlockedSet to "0" to make doors stay closed until you frob them.
* '''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.


=== Cvars ===
*'''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).


== Objectives ==
* '''_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