Page 1 of 1

Does Shifter (or perhaps another mod) add a "dash" function?

Posted: Mon Jul 08, 2013 2:35 am
by MR.F.
I'm playing Deus Ex with a controller because I have wrist problems, and when I play Deus Ex with shifter installed, I accidentally "dash" a lot, just because the way the joystick works. Dashing is performed by tapping a movement direction twice. How was that installed? I'd like to remove that, but I don't know where to look (I have all the classes exported and I know how to re-compile to make another deusex.u).

Thanks!

Re: Does Shifter (or perhaps another mod) add a "dash" funct

Posted: Mon Jul 08, 2013 3:05 am
by Cybernetic pig
dash, eh? Interesting. May have to check that out.
Anyway, look in DeusExPlayer.uc, it's probably in there.

Re: Does Shifter (or perhaps another mod) add a "dash" funct

Posted: Mon Jul 08, 2013 3:46 am
by ggrotz
Weird...As far as I realize, the default state is for the player character to run and not walk (there's a button you press/hold to do that). Are you sure you didn't end up with the jumpy legs aug on and not realize it?

Re: Does Shifter (or perhaps another mod) add a "dash" funct

Posted: Mon Jul 08, 2013 4:17 am
by G-Flex
I think Shifter has a double-tap dodge function like in Unreal Tournament, but I'm pretty sure it only exists in Unrealistic difficulty, the existence of which isn't even obvious, so... I'm not sure what might be going on.

Did you try to install any mods aside from Shifter?

Re: Does Shifter (or perhaps another mod) add a "dash" funct

Posted: Mon Jul 08, 2013 4:20 am
by MR.F.
It's definitely a dash in the way you think a dash works in most games. It's more horizontal than a jump and he moves faster than a walk (until he stops dashing). Depending on what button I press twice (forward, strafe left, strafe right, back), my character will "dash" in that direction. The input command is also consistent. I'm not sure what I installed that caused that to happen.... but it does.

@G-Flex, maybe it's the double-tap dodge. I am playing Shifter on Unrealistic difficulty.

Re: Does Shifter (or perhaps another mod) add a "dash" funct

Posted: Mon Jul 08, 2013 4:29 am
by G-Flex
That's it, then. I don't know where exactly in the Shifter codebase this change is, but I'd search through for instances of "combatDifficulty" in Shifter's version DeusExPlayer.uc, since that's the variable that's checked.

Re: Does Shifter (or perhaps another mod) add a "dash" funct

Posted: Mon Jul 08, 2013 4:35 am
by MR.F.
G-Flex wrote:That's it, then. I don't know where exactly in the Shifter codebase this change is, but I'd search through for instances of "combatDifficulty" in Shifter's version DeusExPlayer.uc, since that's the variable that's checked.
Ah, thanks! I just tried playing on Realistic and verified that. I would not have guessed that it was an Unrealistic thing. I'll take a look at combatDifficulty. Thanks again.

Re: Does Shifter (or perhaps another mod) add a "dash" funct

Posted: Mon Jul 08, 2013 4:40 am
by MR.F.
I found it. It's under function "PlayerMove"

The dodge ability is controlled with "DodgeClickTime".

The if/then to enable dodging is straightforward.

Thanks G-Flex!

Re: Does Shifter (or perhaps another mod) add a "dash" funct

Posted: Mon Jul 08, 2013 12:03 pm
by ~DJ~
I'm surprised not many know about this?
It was pretty common knowledge in mutliplayer atleast, before DXMTL that is, or for non-MTL based servers.