Jump to content
The Dark Mod Forums

Difficulty Settings in Darkmod


uyvie

Recommended Posts

 

I'm looking for the setting that controls the number of difficulty levels in the options menu.

The current "hardcore" setting is not challenging enough for me, and I'd like to make it more difficult, like this one for thief.

I can edit the Darkmod.cfg file and would like to know if I can create a separate *.pk4 file with this file, removing everything unnecessary except the parameters I need. Will the game load the default settings from the game root and the additional data from my file?

Of course, it would be better if you could tell me how to create an additional difficulty setting. I've searched through all the archives and couldn't find what I need.

Thank you for your help.

 

 

  • Like 1
Link to comment
Share on other sites

Posted (edited)

I found this file: mainmenu_settings_gameplay.gui

It contains the following settings:

choiceDef AIVision
{
    rect       SETTINGS_X_OFFSET, 0, 80, MM_LINE_H
    choices     "#str_07323"   // Nearly Blind;Forgiving;Challenging;Hardcore
    values      "0;1;2;3"
}

 

Can you please help me find where the parameters choices and values are referenced?

Edited: Maybe I shouldn't have rushed...
I was able to register a new difficulty setting using
english.lang
But I still can’t find where they are addressed for difficulty levels(

Edited by uyvie
Link to comment
Share on other sites

Try the following: set the npcs' reaction to noise higher via the console by entering tdm_ai_sndvol 2 or 3. i recommend to use not higher than 3, cause if the value is too high, the npcs will hear you from much further away, which could brake the game. with this setting you need to move slowly more often and running around like a beheaded chick is no more. it somehow works for me.

 

maybe u want it harder, then make the movement a bit slower with these settings. e.g: 
pm_mantle_fastMediumObstacleHeight 0
pm_fastLowObstacles 0
pm_creepmod 0.75
pm_runmod 2.00
pm_walkspeed 60
pm_mantle_push_msecs 1200
pm_mantle_hang_msecs 1125
pm_mantle_pushNonCrouched_msecs 825

 

hf

  • Like 1
Link to comment
Share on other sites

Well, I don't know about adding new difficulties, that seems like a lot of work. A hack way of getting the same effect, and which I use, is to create a simple .cfg file with the required changes and then execute it in-game (e.g. a text file called brutal.cfg then, in-game "exec brutal"). You could redefine the modifiers for, say, the hardcore difficulty, which are usually tdm_ai_hearing_hardcore "1.5" & tdm_ai_vision_hardcore "1.005" to something higher, although I don't know if they are capped or how to interpret those values. There are other cvars that might be useful, but I have never tried them. tdm_ai_sndvol  seems useful.

You'd have to test the changes in-game, probably in the Sound & Blackjacking map. For this, there are some very useful commands to see the sound direction, propagation, and values, but I can't remember them right now.

There's an important caveat here, and why messing around with this stuff should be done at your own risk. I have found that some cvars go back to their default values as soon as you load or die, while others seem to stick around. Modifiers to the player's height (like pm_normalviewheight), revert to default if you load, but modifiers to the player's speed (pm_walkspeed) don't. And I know this because I have a .cfg file named halfling.cfg, and you can imagine what it does. To avoid this, I have a "default" cfg to restore the game to the normal values if (or when) something goes wrong (it's basically a copy of the Darkmod.cfg, but with a different name, and I only use it for this purpose.)

 

  • Like 1
Link to comment
Share on other sites

50 minutes ago, xlm said:

Well, I don't know about adding new difficulties, that seems like a lot of work. A hack way of getting the same effect, and which I use, is to create a simple .cfg file with the required changes and then execute it in-game (e.g. a text file called brutal.cfg then, in-game "exec brutal"). You could redefine the modifiers for, say, the hardcore difficulty, which are usually tdm_ai_hearing_hardcore "1.5" & tdm_ai_vision_hardcore "1.005" to something higher, although I don't know if they are capped or how to interpret those values. There are other cvars that might be useful, but I have never tried them. tdm_ai_sndvol  seems useful.

You'd have to test the changes in-game, probably in the Sound & Blackjacking map. For this, there are some very useful commands to see the sound direction, propagation, and values, but I can't remember them right now.

There's an important caveat here, and why messing around with this stuff should be done at your own risk. I have found that some cvars go back to their default values as soon as you load or die, while others seem to stick around. Modifiers to the player's height (like pm_normalviewheight), revert to default if you load, but modifiers to the player's speed (pm_walkspeed) don't. And I know this because I have a .cfg file named halfling.cfg, and you can imagine what it does. To avoid this, I have a "default" cfg to restore the game to the normal values if (or when) something goes wrong (it's basically a copy of the Darkmod.cfg, but with a different name, and I only use it for this purpose.)

 

Thank you! I'll try all of this 

Link to comment
Share on other sites

  • 1 month later...
On 3/15/2024 at 12:53 AM, Hooded Lantern said:

Try the following: set the npcs' reaction to noise higher via the console by entering tdm_ai_sndvol 2 or 3. i recommend to use not higher than 3, cause if the value is too high, the npcs will hear you from much further away, which could brake the game. with this setting you need to move slowly more often and running around like a beheaded chick is no more. it somehow works for me.

 

maybe u want it harder, then make the movement a bit slower with these settings. e.g: 
pm_mantle_fastMediumObstacleHeight 0
pm_fastLowObstacles 0
pm_creepmod 0.75
pm_runmod 2.00
pm_walkspeed 60
pm_mantle_push_msecs 1200
pm_mantle_hang_msecs 1125
pm_mantle_pushNonCrouched_msecs 825

 

hf

What do I do with those settings, do I just paste it into the end of the darkmod.cfg or autoexec.ini?

Edited by TheUnbeholden
Link to comment
Share on other sites

At the end of darkmod.cfg. like what xlm posted.

or do a "seta" in the console, like "seta mysetting value" 

According this site, you can also to change some def files.

https://doom.fandom.com/wiki/Doom_3

(See header "difficulty)

A link to Info about A.I (what xlm posted earlier)

https://wiki.thedarkmod.com/index.php?title=Cvars_in_The_Dark_Mod#AI

Edited by freyk
  • Thanks 1

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • nbohr1more

      Was checking out old translation packs and decided to fire up TDM 1.07. Rightful Property with sub-20 FPS areas yay! ( same areas run at 180FPS with cranked eye candy on 2.12 )
      · 2 replies
    • taffernicus

      i am so euphoric to see new FMs keep coming out and I am keen to try it out in my leisure time, then suddenly my PC is spouting a couple of S.M.A.R.T errors...
      tbf i cannot afford myself to miss my network emulator image file&progress, important ebooks, hyper-v checkpoint & hyper-v export and the precious thief & TDM gamesaves. Don't fall yourself into & lay your hands on crappy SSD
       
      · 5 replies
    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 7 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
×
×
  • Create New...