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(
  "pm_mantle_tilt_mod",
  "1.0",
  CVAR_GAME | CVAR_FLOAT | CVAR_ARCHIVE,
  "The multiplier applied to the tilt view angle during a mantle",
  0.0f, 1.0f
);

(Patch based on r10036.)

Edit

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

mantle-tilt-mod-v1-r10036.diff

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!

rename-mantle-tilt-to-roll-v1-r10079.diff

  • 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.

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

    • 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.
      · 4 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
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...