Jump to content
The Dark Mod Forums

Recommended Posts

Posted

Hi!

I play The Dark Mod on Linux and I prefer to use a controller for most games, so for games that lack native support I use a program called  AntiMicroX to map gamepad buttons from my Xbox One controller to keyboard keys. It works pretty well, and I've enjoyed using an identical setup for Thief, Thief 2, and TDM. I was pretty excited when TDM added native gamepad support, but for reasons I still prefer my setup with AntiMicroX. So I completely cleared my "DarkmodPadbinds.cfg", threw in"unbindPad" to completely disable the native controller bindings, and everything was fine.

Either that was a fluke, or one of the most recent updates changed something, because I'm now finding that "unbindPad" no longer unbinds the control sticks in TDM. I can confirm this by running TDM with my config file and without running AntiMicroX; with a controller plugged in, the control stick bindings still function both on the menu and during gameplay. Some of the button bindings also still function in the menu.

So my questions are:

1) Is it possible to completely unbind the gamepad (including the control sticks) in DarkmodPadbinds.cfg using "unbindPad" or another command?

2) Is it possible to add rebinding of the control sticks in a future update? (I realize this is probably a lot more work, but it would be nice to have!)

Thanks for all the effort you guys put into this game, I've been enjoying it for many years. :)

  • Like 1
Posted

I've had a brief look at the code. It indeed looks like unbindPad only unbinds the pad buttons. However, I just discovered a workaround: try setting in_padDeadZone to 2.0 . This increases the deadzone to values the sticks can never reach, effectively disabling the sticks. 🙂

  • Like 1
  • Thanks 1
Posted
8 hours ago, STiFU said:

I've had a brief look at the code. It indeed looks like unbindPad only unbinds the pad buttons. However, I just discovered a workaround: try setting in_padDeadZone to 2.0 . This increases the deadzone to values the sticks can never reach, effectively disabling the sticks. 🙂

Well, that seems to work! Thank you for the tip!

I noticed that when running TDM after adding that line, that line is removed from the config file. Is that expected behavior? I assume TDM still "ingests" the command?

  • Like 1
Posted

It's possible that cvar isn't archived or something like that. Whatever the reason, you can probably get around this by adding that cvar to your autoexec.cfg in your darkmod folder.

  • Like 2

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

    • STiFU

      Oh my gosh, I just realized, I will have my 20 year Dark Mod anniversary this year. 😮 I've literally spent half my life with The Dark Mod. That's crazy!!
      · 3 replies
    • Arcturus

      I need money. Anyone wanna hire a 3d artist?
      · 4 replies
    • Petike the Taffer

      The preliminary working titles for the missions in my now-in-development Partners in Crime series: 
      - Partners in Crime 1: A Mere Trinket
      - Partners in Crime 2: Beacon Burglary
      - Partners in Crime 3: In the Bleak Midwinter
      - Partners in Crime 4 (5 ?): Fishy Dealings
      - Partners in Crime 5 (4 ?): A Thief in the Night

      No title stealing, please.  In return, I promise to finish these. I do stress the preliminary part. Beyond the broad strokes storyline, plot, objectives, briefings and the (currently built) layouts of these FMs, I haven't fully decided about every single detail yet, including the exact order of the missions (4 and 5 might switch places, with the story adjusted accordingly). I want the overall plot to be plotted out a bit in advance and not suffer too much from inserting prequels later. I also prefer to let my FM building fill out part of the details naturally.

      Currently working on the second FM, and once I do enough work on the current prototype, I'll work on the first one, until I get that one released. Then complete the second one, get that one ready for release (hopefully) a few months later, and so on. I want most of the early missions to be fairly small and confined, and get a bit bigger as I grow more confident in my FM making skills.

      Though there is an overarching storyline to this series, the missions themselves are mostly episodic in nature. They factor into the character development of the two main characters I'll have in the series, but it's the kind of continuity where the mission's own plot and story wouldn't depend on it. 
      · 2 replies
    • SeriousToni

      Nice to see that ai_undressed_old_man_01 will be finally available in TDM ! 
      · 0 replies
    • opnode  »  STiFU

      Saw you username pop up, just wanted to say thanks for your recent commits :3
      · 0 replies
×
×
  • Create New...