Jump to content
The Dark Mod Forums

Setting for mantle tilt view amount


Daft Mugi
 Share

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

mantle-tilt-mod-v1-r10036.diff

Edited by Daft Mugi
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!

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

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

 Share

  • Recent Status Updates

    • nbohr1more

      Anyone have any luck with light.setShader( string ) ? It seems to make whichever light you apply it to full-bright on the initial invoke?
      · 0 replies
    • thebigh

      I'm starting to think we need another mapping contest.
      · 4 replies
    • kano

      Don't you hate it when there's a quality discussion on a forum somewhere online about something, but then two disagreeing users derail and transform it into a back-and-forth poo slinging competition at one another?
      · 8 replies
    • Diego

      Oh look the status updates are back! 
      · 2 replies
    • JackFarmer

      After watching the first three and a half episodes of "The Sandman" last night, I realize once again that overly imaginative narratives are not for me. Also, the main actor looks like he has a toothache.
      Which makes me wonder, is there a Dark Mod mission with a medieval dentist?
      · 4 replies
×
×
  • Create New...