Jump to content
The Dark Mod Forums

[Resolved] Setting for mantle tilt view amount

Daft Mugi

Recommended Posts

One thing that was uncomfortable for me when I started playing The Dark Mod was how much the view tilted during a mantle. This is similar to the amount of head bob.

For those who are sensitive to motions like that as well, I've attached a patch.

I hope it or a variation of it will be accepted into the main The Dark Mod codebase, since it'll help those players.

The new cvar "pm_mantle_tilt_mod" is a value between 0.0 and 1.0. The default is 1.0, which means no change from the traditional tilt view angle. A value of 0.0 is no tilt. I personally prefer 0.1, which tilts the view only 10% of the traditional amount.

idCVar cv_pm_mantle_tilt_mod(
  "The multiplier applied to the tilt view angle during a mantle",
  0.0f, 1.0f

(Patch based on r10036.)


The finalized version present in TDM 2.11.

"pm_mantle_roll_mod"  default:"1.0"                                                              
The multiplier applied to the roll view angle during a mantle


Edited by Daft Mugi
add note about pm_mantle_roll_mod
  • Like 1
Link to comment
Share on other sites

I have to admit. I had the same thought after I added yet another cvar. :)

I'd keep the cvars, so there's always that fine grained option.

But, yeah, having something really simple in the menu would likely be welcomed.

Maybe something like: [no motion] [slight motion] [normal]
Or: [reduced motion] [normal]

Shortly after I started playing The Dark Mod, I reduced the head bob and tilt view angle. Otherwise, it's been pretty great!

  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...

Hi @stgatilov (cc @nbohr1more)

After some more thought, I really do think "pm_mantle_roll_mod" is a better cvar name, because it matches "pm_bobroll" and other "pm_*" naming. If someone learns about "pm_bobroll" and changes it for head bobbing, they may also search for other "roll" cvars. This will make it easier for them to find "pm_mantle_roll_mod".

I've attached a patch, making it easy to rename the cvar before 2.11 is released.

Thank you!


  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 5 months later...
On 7/25/2022 at 8:18 AM, stgatilov said:

I wonder if we should just have one mega-var, which would disable all kind of camera deviations?
Maybe even attach it to a checkbox in main menu gameplay settings...

So, if I understand this right, this would be an optional setting which is not activated by default, right?

I like the mantling the way it is.

Link to comment
Share on other sites

  • Daft Mugi changed the title to [Resolved] Setting for mantle tilt view amount
5 hours ago, chakkman said:

So, if I understand this right, this would be an optional setting which is not activated by default, right?

I like the mantling the way it is.

Yes, optional. There is no change unless you change the "pm_mantle_roll_mod" cvar.

By default, it is set to 1.0, which means no change.

1.0 is 100% the same.
0.5 is 50% of the original.
0.1 is 10% of the original.

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.

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

    • MayheM

      Hello, Since this track is originally from TDM,i think it's better to ask here than TTLG. Do you guys have the full version of this ambient track?
      · 2 replies
    • DeTeEff

      Bachelor Mapping Challenge!
      The girlfriend will be away to her mum's place for almost a week, which means more mapping time for me! I'm planning a speed build. Hope it will go my way
      I'm starting by downloading 2.11. Don't know if I'm going to use any fancy new stuff. Just want to crack those itching map muscles that has gone dry and dead since almost a year's worth of no-mapping
      · 4 replies
    • kano

      The cool part of Canonical's Snap, is that my machine can now ray-trace an entire (simple) scene faster than it takes the web browser to start!
      · 5 replies
    • datiswous

      Fm idea (braindump)
      "Experience the life of a mission builder"
      Esentially there are finnished elements placed somewhere in storage in the game and you have to place them in the correct places, build some walls here and there, add guard routes, give them their correct speech lines, etc. Decorate the places.. all in-game. lots of fun.. 😉
      If you do it right in the end you can play the mission.
      (would be even cooler if a thief-ai could play the mission, making it some kind of tower-defence game)
      This first started as an idea for an aquarium builder mission where-in you have to fill an empty aquarium with sand, waterplants, castles water and swimming fish. But above idea is more fun.
      · 4 replies
    • JackFarmer

      Dear ChatGPT, What are The Builders in the Dark Mod?
      The Builders is a popular game mode in the video game community called "Dark Mod," which is a fan-made tribute to the classic "Thief" series of stealth games. In this game mode, players assume the role of builders who construct structures in a dark and ominous environment while trying to avoid detection by patrolling guards.
      The Builders game mode is unique in that it offers players the opportunity to create and design their own levels using the in-game tools and resources provided. Players can experiment with different building materials, construct intricate traps and puzzles, and create their own unique gameplay experiences.
      While The Builders game mode is not an official part of the Dark Mod, it has become one of the most popular and well-loved aspects of the game, thanks to its emphasis on creativity, strategy, and stealth.
      You guys did not know that, did you?
      · 2 replies
  • Create New...