Jump to content


Photo

I made a darkmod gamepad layout for Xpadder

controls gamepad

  • Please log in to reply
20 replies to this topic

#1 Lavender

Lavender

    Member

  • Member
  • PipPip
  • 110 posts

Posted 17 December 2017 - 08:21 AM

I like being able to sit in the sofa when I play games, so I made a layout for a Xbox360 gamepad using Xpadder. I thought I might post it here in case someone found it useful:

 

NOTE: This is v2. I messed up v1 - it used a modified TDM control setting. This version uses the standard keyboard and mouse settings.

INm4omN.png
This is the unmodified button layout.

bcwqA7N.png
This is the modified layout, with left trigger held down.

  • Left trigger shifts to the second layout when held down. I have tried to keep the most important things in the unmodified layout, or in both.
  • The layout in general uses the default keyboad and mouse settings, with some additions for otherwise unbound actions.
  • The left analog stick goes from creep -> walk -> run, depending on how much it is pressed forward
  • "Put away" sheaves weapons
  • There is no button for clearing the inventory - I use the compass button for that
  • Many buttons cycle through things: objectives, maps, readables, lockpicks
  • You need to set "next inventory group" and "prev inventory group" in the TDM settings as these are originally unbound. I use "." and "," in this xpadder layout.

Disadvantages:

  • The inventory grid is not mapped since it is hard to use without an actual mouse, but Prev / Next group makes the inventory management easier
  • The ESC button is not mapped either - using the menu system with the pad is possible but clumsy. I keep a wireless mouse and keyboard close anyway.
  • Leaning is not possible while moving, but I found myself not needing it much

The actual configuration. Copy + paste into a plain text file and change file ending to ".xpadderprofile". (this is v2)

;--- Xpadder Profile File ---
DataType=Profile
Version=2017.05.01

[Profile Settings]

[Set Settings]
Set1StickDeadZones=40,53

[Assignments]
Set1Button1Name=Mantle
Set1Button1Slots=C
Set1Button2Name=Use Item
Set1Button2Slots=Enter
Set1Button3Name=Frob
Set1Button3Slots=Right Mouse Button (2)
Set1Button4Name=Jump
Set1Button4Slots=Space
Set1Button5Name=Manipulate
Set1Button5Slots=Middle Mouse Button (3)
Set1Button6Name=Put Away
Set1Button6Slots=Back-Tick
Set1Button7Name=Maps
Set1Button7Slots=M
Set1Button8Name=Objectives
Set1Button8Slots=O
Set1Button9Name=Crouch
Set1Button9Slots=X
Set1Button10Name=Spyglass
Set1Button10Slots=G
Set1DPadUpName=Next Weapon
Set1DPadUpSlots=Mouse Wheel Down
Set1DPadRightName=Inv. Next
Set1DPadRightSlots=Left Square Bracket
Set1DPadDownName=Prev Weapon
Set1DPadDownSlots=Mouse Wheel Up
Set1DPadLeftName=Inv. Prev
Set1DPadLeftSlots=Right Square Bracket
Set1Stick1UpSlots=Left Control,W,DISTANCE ZONE 30%,W,DISTANCE ZONE 80%,Left Shift,W
Set1Stick1RightSlots=Left Control,D,DISTANCE ZONE 30%,D
Set1Stick1DownSlots=Left Control,S,DISTANCE ZONE 20%,S
Set1Stick1LeftSlots=Left Control,A,DISTANCE ZONE 30%,A
Set1Stick2UpSlots=Mouse Move Up
Set1Stick2UpMouseSpeed=60
Set1Stick2RightSlots=Mouse Move Right
Set1Stick2RightMouseSpeed=60
Set1Stick2DownSlots=Mouse Move Down
Set1Stick2DownMouseSpeed=60
Set1Stick2LeftSlots=Mouse Move Left
Set1Stick2LeftMouseSpeed=60
Set1TriggerLeftName=Set 2
Set1TriggerLeftSetSelect=1
Set1TriggerRightName=Attack
Set1TriggerRightSlots=Left Mouse Button (1)
Set2Button1Name=Lockpicks
Set2Button1Slots=P
Set2Button2Name=Keys
Set2Button2Slots=K
Set2Button3Name=Frob
Set2Button3Slots=Right Mouse Button (2)
Set2Button4Name=Lantern On/Off
Set2Button4Slots=L
Set2Button5Name=Readables
Set2Button5Slots=I
Set2Button6Name=Put Away
Set2Button6Slots=Back-Tick
Set2Button7Name=Compass
Set2Button7Slots=V
Set2Button8Name=Readables
Set2Button8Slots=I
Set2Button9Name=Crouch
Set2Button9Slots=X
Set2Button10Name=Spyglass
Set2Button10Slots=G
Set2DPadRightName=Next Grp
Set2DPadRightSlots=Dot
Set2DPadDownName=Drop Item
Set2DPadDownSlots=R
Set2DPadLeftName=Prev Group
Set2DPadLeftSlots=Comma
Set2Stick1UpName=Lean F
Set2Stick1UpSlots=F
Set2Stick1RightName=Lean R
Set2Stick1RightSlots=E
Set2Stick1LeftName=Lean L
Set2Stick1LeftSlots=Q
Set2Stick2UpSlots=Mouse Move Up
Set2Stick2UpMouseSpeed=32
Set2Stick2RightSlots=Mouse Move Right
Set2Stick2RightMouseSpeed=32
Set2Stick2DownSlots=Mouse Move Down
Set2Stick2DownMouseSpeed=32
Set2Stick2LeftSlots=Mouse Move Left
Set2Stick2LeftMouseSpeed=32
Set2TriggerLeftName=Set 2
Set2TriggerLeftSetSelect=0
Set2TriggerRightName=Attack
Set2TriggerRightSlots=Left Mouse Button (1)

Here is the profile as a .txt file. Change the file ending to ".xpadderprofile" to make it work. Ignore the usual complaints from windows.

Attached File  dark_mod_xpadderprofile.txt   2.69KB   1 downloads (this is v2)

 

While this layout uses a 360 gamepad, it should be easy to adjust it to a xbone or ps4 pad as well. Getting the left stick movement speed might take some experimenting, but it's really just setting the "distance %" values right.

 

Any comments of suggestions? An obvious alternative is to use a good wireless mouse and keyboard, but I found that to be somewhat cumbersome while sitting in a sofa.


Edited by Lavender, 18 December 2017 - 03:29 AM.

  • Petike the Taffer likes this

#2 demagogue

demagogue

    Mod hero

  • Active Developer
  • PipPipPipPipPip
  • 5374 posts

Posted 17 December 2017 - 08:45 AM

Probably one reason I never played with my xbox controller was I couldn't be bothered to work out a profile.

So thanks for this. Next time I play I'll try this out and comment if I have any suggestions.


  • Petike the Taffer likes this
Posted Image

#3 Obsttorte

Obsttorte

    Scripting guru, Mapper

  • Active Developer
  • PipPipPipPipPip
  • 5579 posts

Posted 17 December 2017 - 08:48 AM


I tried to attach the file itself, but the forum wouldn't let me.

Yeah, the forum permits certain file types. You can get around this by adding a txt ending to the file you wanna upload.


FM's: Builder Roads, Old Habits, Old Habits Rebuild
WIP's: Several. Although after playing Thief 4 I really wanna make a city mission.
Mapping and Scripting: Apples and Peaches
Sculptris Models and Tutorials: Obsttortes Models
My wiki articles: Obstipedia
Let's Map TDM YouTube playlist: ObstlerTube
Texture Blending in DR: DR ASE Blend Exporter

End of shameless self promotion.

#4 Lavender

Lavender

    Member

  • Member
  • PipPip
  • 110 posts

Posted 17 December 2017 - 09:01 AM

Yeah, the forum permits certain file types. You can get around this by adding a txt ending to the file you wanna upload.

Ah, thanks for the tip. I have added the file to the OP.



#5 Lavender

Lavender

    Member

  • Member
  • PipPip
  • 110 posts

Posted 17 December 2017 - 09:02 AM

Probably one reason I never played with my xbox controller was I couldn't be bothered to work out a profile.

So thanks for this. Next time I play I'll try this out and comment if I have any suggestions.

Please do. :)



#6 Shadrach

Shadrach

    Member

  • Member
  • PipPip
  • 29 posts

Posted 23 December 2017 - 07:00 AM

Cool stuff!

I made one a couple of years back too B)

http://forums.thedar...padder-profile/

 

I've also made one for Controller Companion on Steam:

http://steamcommunit...s/?id=865246483

But not a lot of people use CC I think, especially with the new Steam Big Picture controller setup.

 

Steam BP mode has a really nice feature allowing you to make your own profiles for games, even non-Steam games launched through Steam. So I've made a profile for that as well, but I don't think it's that easy to share since non-Steam games have unique ids so you can't browse content others have created.

 

If TDM ever makes it to Steam proper, it will be easy to share controller profiles with others ^_^



#7 chakkman

chakkman

    Advanced Member

  • Member
  • PipPipPip
  • 916 posts

Posted 23 December 2017 - 12:07 PM

Probably one reason I never played with my xbox controller was I couldn't be bothered to work out a profile.

 

Reason number one for me is that i'm so much better with keyboard + mouse. :P



#8 Lavender

Lavender

    Member

  • Member
  • PipPip
  • 110 posts

Posted 24 December 2017 - 02:12 AM

Cool stuff!
I made one a couple of years back too B)
http://forums.thedar...padder-profile/

I've also made one for Controller Companion on Steam:
http://steamcommunit...s/?id=865246483
But not a lot of people use CC I think, especially with the new Steam Big Picture controller setup.

Steam BP mode has a really nice feature allowing you to make your own profiles for games, even non-Steam games launched through Steam. So I've made a profile for that as well, but I don't think it's that easy to share since non-Steam games have unique ids so you can't browse content others have created.

If TDM ever makes it to Steam proper, it will be easy to share controller profiles with others ^_^

I suspected I was not the first, but unless I misread it, your xpad setup does not use the gradual "creep -> walk -> run" setup on the left analog stick? I used something similar to your setup at first, with creep and run on dedicated buttons, but I managed to figure out how to use "distance zones" instead.

 

Reason number one for me is that i'm so much better with keyboard + mouse. :P

Yeah, there is no getting away from that. A mouse is always more precise.

However, I would like to quote something from the 2013 gamepad thread:

With the Thief series the slow pace make them perfect games to play on the big screen with a controller, However TDM has a lot of keys to set up (like the original Thief) so mapping all the keys to a controller is a challenge and requires some compromises to be made.

With so much of the gameplay being sneaking and exploration, I felt it was an ok trade-off.
 
I suspect attempting to fight using the gamepad works less well though..



#9 chakkman

chakkman

    Advanced Member

  • Member
  • PipPipPip
  • 916 posts

Posted 24 December 2017 - 01:44 PM

Fair enough. If you don't use the bow very often, it surely won't make that much of a difference. I think especially fast paced shooters benefit from mouse movement.

 

I prefer to use my gamepad for the Tomb Raider games e.g., or racing games. Racing games are of course quite tricky with a mouse. :P



#10 Aswand

Aswand

    Newbie

  • Member
  • Pip
  • 7 posts

Posted 04 February 2018 - 07:21 PM

I haven't tried this particular lay out but I did find an xpadder profile on here, intended for TDM, that I adapted for New Dark and Thief 1 & 2.   It works perfectly for the Dark Engine games because of its built-in analog joystick support.  I can't tell you how great analog support is in a game like the Thief series with the ability to crouch 'n' creep oh oh so slowly with incredible precision.  Speaking of which, has the latest version of TDM adopted analog support for controllers yet?  I've been getting back into Thief FMs using the Xpadder profile I mentioned and a Sony DS4 controller with DS4Windows but I'd love to start playing TDM FMs again.


Edited by Aswand, 04 February 2018 - 07:22 PM.


#11 Lavender

Lavender

    Member

  • Member
  • PipPip
  • 110 posts

Posted 07 February 2018 - 01:20 PM

I haven't tried this particular lay out but I did find an xpadder profile on here, intended for TDM, that I adapted for New Dark and Thief 1 & 2.   It works perfectly for the Dark Engine games because of its built-in analog joystick support.  I can't tell you how great analog support is in a game like the Thief series with the ability to crouch 'n' creep oh oh so slowly with incredible precision.  Speaking of which, has the latest version of TDM adopted analog support for controllers yet?  I've been getting back into Thief FMs using the Xpadder profile I mentioned and a Sony DS4 controller with DS4Windows but I'd love to start playing TDM FMs again.

Agree on analog controls beeing very suited for stealth gameplay. And no, TDM next version does not support analog controllers, to my knowledge. Unless someone sneaked in a late patch?


Edited by Lavender, 07 February 2018 - 01:20 PM.


#12 Judith

Judith

    Advanced Member

  • Member
  • PipPipPip
  • 1284 posts

Posted 07 February 2018 - 01:50 PM

I just got Xpadder myself, but none of the profiles here is intuitive or in line with controller layouts used in other FPS games. Typically, left stick is for movement, right stick is for moving camera around. B is for cancelling things or crouching (in some games it's RStick button, but it's quite uncomfortable to use frequently). RTrigger is for attack, LTrigger for block/reload (usually). A is for accepting things, using stuff, activating things, or jumping. X is also good for using stuff, activating etc. Y is sometimes used for jumping too. RStick for zooming is ok. D-Pad is fine for selecting weapons and/or inventory stuff, although with X360 controller, especially a new one, you have to press these directions quite hard to get an input. Start button is always the menu button (ESC). Back button is ok for maps, or maybe objectives?

 

I'll try to come up with something of my own, if the time allows ;)



#13 Lavender

Lavender

    Member

  • Member
  • PipPip
  • 110 posts

Posted 15 February 2018 - 07:44 AM

I just got Xpadder myself, but none of the profiles here is intuitive or in line with controller layouts used in other FPS games. Typically, left stick is for movement, right stick is for moving camera around. B is for cancelling things or crouching (in some games it's RStick button, but it's quite uncomfortable to use frequently). RTrigger is for attack, LTrigger for block/reload (usually). A is for accepting things, using stuff, activating things, or jumping. X is also good for using stuff, activating etc. Y is sometimes used for jumping too. RStick for zooming is ok. D-Pad is fine for selecting weapons and/or inventory stuff, although with X360 controller, especially a new one, you have to press these directions quite hard to get an input. Start button is always the menu button (ESC). Back button is ok for maps, or maybe objectives?

 

I'll try to come up with something of my own, if the time allows ;)

I agree that my bindings are far from "gamepad standard". I tried to make them as simple as I could, but when it comes to control complexity, darkmod is more like a simulator than your average FPS.

 

I believe usage of a gamepad could be greatly simplified by some new in-game keybindings/systems:

- toggle: hiding the mouse cursor, selecting menu entries and other things w/ cursor keys, perhaps?

- key binding/overlay: a weapon quick-select wheel/menu - to eliminate the need to step through each weapon

- key binding: a "back" button that closes the current overlay (map, inventory grid, current readable)

- control/keybinding: selecting individual items in grid menu using cursor or movement keys?

 

I think things like this could be implemented without having to create full in-engine gamepad support.

 

Another thing I would personally like is auto-centering in-world readables on opening them, or even an optional toggle to switch off the "look-around" view. So, optionally make in-world readables behave like inventory readables do.


Edited by Lavender, 15 February 2018 - 07:58 AM.


#14 Judith

Judith

    Advanced Member

  • Member
  • PipPipPip
  • 1284 posts

Posted 15 February 2018 - 07:59 AM

I agree that my bindings are far from "gamepad standard". I tried to make them as simple as I could, but when it comes to control complexity, darkmod is more like a simulator than your average FPS.

 

Not really, it just has quite a few keybinds. But so does e.g. Dishonored 2, which can be easily played with gamepad. Instead of trying to reinvent the wheel, I'd just take a look at one or two control schemes and try to make something similar for TDM:

 

obraz.png



#15 Judith

Judith

    Advanced Member

  • Member
  • PipPipPip
  • 1284 posts

Posted 15 February 2018 - 08:59 AM

I have most keyboard controls remapped to my liking, so my Xprofile isn't super useful, but using Dis2 control scheme I came up with something like this:

 

Left stick: W, S, A, D

Right stick: mouse

Right stick button: walk/run (toggle in_alwaysrun 0 1)

Dpad up/down: previous/next inventory item

Dpad left/right: previous/next weapon

X: frob

Y: use inventory item

A: jump/mantle

B: toggle crouch

LTrigger: parry/manipulate

Rtrigger: attack

Left and right bumper: lean left/right

Start button: ESC

Back button: map

 

I think that's pretty good starting point, works good in game.


Edited by Judith, 15 February 2018 - 09:10 AM.


#16 Lavender

Lavender

    Member

  • Member
  • PipPip
  • 110 posts

Posted 15 February 2018 - 09:21 AM

I have most keyboard controls remapped to my liking, so my Xprofile isn't super useful, but using Dis2 control scheme I came up with something like this:

 

Left stick: W, S, A, D

Right stick: mouse

Right stick button: walk/run (toggle in_alwaysrun 0 1)

Dpad up/down: previous/next inventory item

Dpad left/right: previous/next weapon

X: frob

Y: use inventory item

A: jump/mantle

B: toggle crouch

LTrigger: parry/manipulate

Rtrigger: attack

Left and right bumper: lean left/right

Start button: ESC

Back button: map

 

I think that's pretty good starting point, works good in game.

Good that it works for you. I prefer analog speed control controls on left stick myself though.

 

Also, won't it take a while to select things like lockpicks, keys or the lantern without shortcuts? Those are mainly what made me use a secondary layout on left trigger. A lot of that could be helped by making the grid inventory menu easier to use with a gamepad, I think. Also, I feel there are situations where the dedicated mantle binding is needed.

 

I originally had ESC on start as well, but since using the mouse cursor in the menu is rather clumsy using a gamepad I removed it, and use a wireless mouse for that. Far from ideal, I know.


Edited by Lavender, 15 February 2018 - 09:25 AM.


#17 Judith

Judith

    Advanced Member

  • Member
  • PipPipPip
  • 1284 posts

Posted 15 February 2018 - 09:29 AM

It's a slightly changed Dishonored control scheme, so it's not like I came up with it entirely on my own, or only for my taste. Also, you can't bind all the keys to a gamepad, obviously. You have to give up some of them.

 

Edit:

 

I prefer analog speed control controls on left stick myself though.

 

Not sure what you mean about analog speed controls, but I didn't find the way to have analog movement controls, only camera uses that in TDM. WSAD (or WASD) keys are just two-state. If you just meant switching camera controls and movement, that's mostly your subjective preference. I feel like this convention has been in games for decades now, I can't remember a game that would use anything other than left stick for movement and right stick for camera, and that applies to all the genres, at least for X360/One controller.


Edited by Judith, 15 February 2018 - 10:10 AM.


#18 Judith

Judith

    Advanced Member

  • Member
  • PipPipPip
  • 1284 posts

Posted 15 February 2018 - 09:40 AM

For reference, this is Thief Reboot control scheme (I don't like it much tbh):

 

obraz.png



#19 Lavender

Lavender

    Member

  • Member
  • PipPip
  • 110 posts

Posted 15 February 2018 - 10:14 AM

It's a slightly changed Dishonored control scheme, so it's not like I came up with it entirely on my own, or only for my taste. Also, you can't bind all the keys to a gamepad, obviously. You have to give up some of them.

 

Edit:

 

Not sure what you mean about analog speed controls, but I didn't find the way to have analog movement controls, only camera uses that in TDM. WSAD (or WASD) keys are just two-state. If you just meant switching camera controls and movement, that's mostly your subjective preference. I feel like this convention has been in games for decades now, I can't remember a game that would use anything other than left stick for movement and right stick for camera, and that applies to all the genres, at least for X360/One controller.

Oh, I meant that by tilting the left analog stick from very slightly to full, you go from creep -> walk -> run, without use of a modifier key. I realise not everyone like it that way.


Edited by Lavender, 15 February 2018 - 10:16 AM.


#20 Judith

Judith

    Advanced Member

  • Member
  • PipPipPip
  • 1284 posts

Posted 15 February 2018 - 10:26 AM

Oh, so you can do that? That's actually a standard thing for many games (at least I see it a lot in third person titles). I just didn't think it was possible for TDM.


Edited by Judith, 15 February 2018 - 10:31 AM.


#21 Lavender

Lavender

    Member

  • Member
  • PipPip
  • 110 posts

Posted 15 February 2018 - 11:24 AM

Oh, so you can do that? That's actually a standard thing for many games (at least I see it a lot in third person titles). I just didn't think it was possible for TDM.

Not in tdm itself, but I managed to do it in xpadder :)
 
It uses something xpadder call "distance zones". If you load up my profile you can see how it is configured for the WASD keys. It looks like this in the config file:

Set1Stick1UpSlots=Left Control,W,DISTANCE ZONE 30%,W,DISTANCE ZONE 80%,Left Shift,W
Set1Stick1RightSlots=Left Control,D,DISTANCE ZONE 30%,D
Set1Stick1DownSlots=Left Control,S,DISTANCE ZONE 20%,S
Set1Stick1LeftSlots=Left Control,A,DISTANCE ZONE 30%,A

For left stick forward, it does something like:

  • stick titled < 30% = left ctrl + w (creep)
  • stick tilted > 30% = w (walk)
  • stick tilted > 80% = shift + w (run)

Left, right and backwards only goes from creep -> walk, since you can't run in those directions.


Edited by Lavender, 15 February 2018 - 11:33 AM.

  • Judith likes this





Also tagged with one or more of these keywords: controls, gamepad

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users