tModLoader

tModLoader

Dash Hotkey
116 Comments
󠁳 30 Jul @ 3:31pm 
а как клавишу рывка поменять то?:steamsad:
GDVim 19 Jul @ 8:14pm 
well at least i dont need calamity to use shift for dash anymore, double tap is a pain in the ass. this mod is fantastic i love it
khánh 11 Apr @ 10:45am 
i think its the dash override options in the Calamity Mod section
vivibug 22 Mar @ 7:41am 
In case this gets updated again (I would love if it did), there are a couple things I'd like addressed. The keybinding in the keybindings menu doesn't exist and there is no mod config (unsure if this part is intentional.) The reason I'd like this version of the mod to work is that Helpful Hotkeys, while able to disable the vanilla dash, does not have an effect on some of Calamity's dashes (e.g. Asgard's Valor), which still trigger on double tap. Due to this mod initially being designed for Infernum, I was hoping that whoever takes this mod from where it's at could look at and fix these issues. Thank you :3
rawJIo  [author] 17 Jan @ 6:00am 
HarmlessTurtle, that's actually interesting, even though I don't update the mod anymore (because it's mostly not needed anymore, I "developed" it almost specifically for Calamity Infernum mode/ because I was struggling dashing with all the bullet hell) and don't play Terraria as often, I remember this being an issue and being confused why are the dashes shorter than they are without the mod. That explains a lot. And also, if you are capable of doing it and want to, you can fork it without any problem. Or maybe (I don't know how it actually works) I could add you in contributors if you would like to fix and update it. That would be cool for all Vanilla+ players if their mods don't have an option for a dash keybind.
HarmlessTurtle 13 Jan @ 10:41am 
I'm curious what's the purpose of all the code relating to "self.dashTime". The condition "(self.dashTime >= 0 && self.direction == 1)" always succeeds. (This causes dashing right to always be short). self.dashTime is set to POSITIVE 15 regardless of which part of the condition succeeded (This causes dashing left to sometimes be normal). Very weird code.
HarmlessTurtle 13 Jan @ 10:32am 
SpecyJ is right. Solar flare + Celestial Starboard dash in air is significantly shorter with this mod on. I found out it's because the function early returns after "dashing = true;" but before "self.timeSinceLastDashStarted = 0;". Removing the early return fixes this.
Terri 19 Dec, 2024 @ 3:34am 
Mod works without issues.
I was worried about all the comments saying it doesnt work, but I just downloaded it and have no issues
aerooo 26 Oct, 2024 @ 4:16am 
Dash Hotkey is currently broken, Please fix it asap, Thank you.
Sacri Pan 18 Oct, 2024 @ 5:24pm 
Wtf happened to my dash hot key, It just dissapeared out of existence
MaxWarren 27 Aug, 2024 @ 8:44am 
doesnt work... please fix it
fantasybabydino 21 Jul, 2024 @ 9:47am 
does the keybind stop when in menus? i usually have mine bound to shift soooo
Kanaris 14 Jul, 2024 @ 5:40am 
I think Fargo's Mutant Mod's version has an option to either disable it or leave it as is, whether or not you bind the hotkey. But I could be super wrong about that. Worth a look anyway.
Dispenser 13 Jul, 2024 @ 5:54pm 
is there a way to make it not disable the vanilla dash behavior all together? im playing with a friend who uses it whilst im unfamiliar with it and i wish i could still use the vanilla dash
squirt cobain 5 Jul, 2024 @ 8:04pm 
its not that it "doesnt work". theres literally just no option to change the keybind in settings
feenjareen 27 May, 2024 @ 8:04pm 
if it doesnt work for you then unequip the item that uses dash and then restart your game. make sure the mods enabled and re equip it and it will work
Joeythedudeguy 10 Apr, 2024 @ 12:49pm 
this mod definitely worked for me
gleeb 31 Mar, 2024 @ 10:03pm 
doesn't seem to work anymore : (
「Lolimancer」Andry 14 Mar, 2024 @ 9:06am 
mod literally just does not work lmao
aureliusaugustine 3 Mar, 2024 @ 1:01pm 
The mod does not seem to work, I don't see any keybind option and double tap still causes me to dash.
Kanaris 29 Feb, 2024 @ 11:06pm 
Ending a dash prematurely like that seems to end your iframes earlier btw, but I could be wrong. All of the stuff i just wrote is based entirely on my own experience doing a lot of calamity and fargo playthroughs. I'm sure a modder could give you a better explanation of how those different aspects of player physics interact
Kanaris 29 Feb, 2024 @ 10:59pm 
@SpecyJ that's a quirk of Terraria's player physics. I'm not certain on the specifics but to take Calamity wings as an example:
- Player with celestial starboard (moon lord) will have dashes that decelerate quickly due to the strong acceleration of the wings and low top horizontal speed.
- Player with drew's wings or some endgame tracers will have dashes that decelerate more slowly after a longer dash even with the same dash accessory, due to the high top speed of the wings, and more floaty kind of acceleration stat I think.

This even affects your dash cooldown, since the cooldown seems to be determined by when you end the dash (which can be brought about earlier by holding the opposite direction to your dash direction). Thus, on a boss with many quick dashes, it can help you keep up with their dash frequency by using starboard and an earlier dash iframe accessory instead of the endgame fully upgraded ones which have longer dashes.
SpecyJ 29 Feb, 2024 @ 3:54am 
Sorry about the previous assumption. I just found out. The dashes are shorter when flight accessories are equipped. I don't know if it's this mod but I do notice dashes are much more flexible and normal without wings.
SpecyJ 27 Feb, 2024 @ 6:02am 
There seems to bee a problem. Most of the dashes seem to be shorter than normal, and the ninja based dashes especially feel uneven. The dash to the left is occasionally longer or extended but the dash to the right is consistently short. I'm not sure if it's this mod's fault but I notice a shortage of response from gear that does have long enough dashes.
Serfinboard 12 Dec, 2023 @ 5:18am 
everything I have ever wanted out of this game's dash mechanic, its great except for I hate double tap A or D, thank you
monkey_d_valera1956@inbox.ru 1 Dec, 2023 @ 5:54pm 
THANK YOU
rawJIo  [author] 8 Oct, 2023 @ 3:32pm 
Kanaris, hey, that's interesting, I thought that logic I put in the mod won't have such flaws, I will look into that once I have enough free time, for now I have some issues that need to be resolved, as well as regular duties. I'm excited to hear about Fargo's Mutant Mod getting it's own dash keybind, thank you for telling me, since I wouldn't have learnt about this myself, at least not this soon. I hope it does not conflict with keybind from Calamity for people who want to play with both mods.
Spamton G. Spamton 4 Oct, 2023 @ 7:18am 
gonna put Shift for dash ngl
Kanaris 27 Sep, 2023 @ 10:45am 
We got a dash override config added to Fargo's Mutant Mod :steamthumbsup: it works on vanilla and Fargo's Souls dashes! Thanks for this mod because for the longest time it was keeping me sane.
Kanaris 26 Sep, 2023 @ 12:28pm 
I have a minor improvement you could make, xeaal.

In Terraria if you press left + right (in that order), you will be stalled with zero horizontal accel, meaning you don't move once the game has decelerated you to a stop. I'll just call that stall state. It happens doing the directions in the opposite order too; any time you have both keys held at the same time it's a stall. It happens all the time during turnarounds if you don't release your 1st direction before pressing your 2nd.


Behaviour I expected from mod:
- Left + Right -> dash hotkey will dash right, because I input that most recently.

Actual behaviour
- Left + Right -> dash hotkey will dash left, because that was previously input, with no rightward *acceleration* between.


If you could change it to check what the most recent pressed was (i.e. key state went from 0 to 1) then in the niche "turnaround and dash immediately" scenarios it would dash in the direction the player wants.
Kanaris 11 Sep, 2023 @ 6:41pm 
No problem, focus on IRL. Thanks for trying so hard anyway. For now I'm making an AHK script to double tap left/right depending on which way I was last facing/inputting. It's not perfect and I can't think up a good way to prevent the double tap dashes but it's better than having to double tap so frequently, or being stuck inside bosses with shield of cthulhu.
rawJIo  [author] 11 Sep, 2023 @ 2:33pm 
I don't have enough knowledge of C# in general and the way the game and other mods work. I have undertook some attempts to make dash keybind to work with other mods previously, but it didn't go well. I occasionally sit down and try to "get back into" (lol) modding and try to add support for some other mod, but end up failing and getting distracted from all this just as always. With the arrival of autumn I am also now busy studying so there's even less time to try and work on this mod. I also have to think of a way to implement HP buff for Infernum patch (I know what to patch, but don't know how). But I'll definitely try and I think pretty soon
rawJIo  [author] 11 Sep, 2023 @ 2:25pm 
Hey Kanaris! That is indeed great and I've actually been wanting to do this for more than half a year now. There are several problems with this though, mostly that I'm not a good C# (in fact any language) coder (yet). These mods that I "wrote" were mostly written by other people while they were explaining me how to do certain things like change original game methods etc. Even though I in fact did some work, like find code that's responsible for double-tap and write the logic for dashes with keybind, that's not really enough to make something more of this mod.
Kanaris 11 Sep, 2023 @ 8:19am 
Yo xeaal. Love the mod. It would be great if you could look into suporting fargo's souls mod dashes with it. For some reason even Helpful Hotkeys' dash functionality doesn't work consistently; it's very jank. If you've never played it, an accessory you can spawn in to test the dashes is "Jungle Enchantment".
everyᴏne 2 Sep, 2023 @ 9:55pm 
oh, lmao my bad
rawJIo  [author] 2 Sep, 2023 @ 9:46pm 
everyone, Calamity has it's own keybind for dash since spring, so this mod basically does nothing for it
everyᴏne 2 Sep, 2023 @ 8:13pm 
finially, cant tell you how many times i have died in calamity because my charactor dashed into a projectile
Nezzy 31 Aug, 2023 @ 2:07pm 
it isn't disabling the double-tap dash for me but adds the keybind
Beolkul 25 Aug, 2023 @ 5:09am 
For some reason in multiplayer, im the only one that cant use the bind so I still have to do the double tap so its annoying
rawJIo  [author] 17 Jul, 2023 @ 2:26pm 
Bocchi, sadly, no, until I port it to 1.4.4, then you will be able to play it with tModloader on (now) latest version of Terraria. But 1.4.5 is coming very soon and developers (Red in particular) didn't respond to my requests to add separate button for dashes in vanilla. I don't know what's the problem with it, since there is even topic about this on the forum that has existed for a couple of years now.
iako 17 Jul, 2023 @ 2:06pm 
i play on vanilla terraria (last version) there is a way to use this without download tModLoader? or make it work in normal aplication?
rawJIo  [author] 12 Jul, 2023 @ 9:57pm 
TBlack2005, if you're playing with Calamity then you need to use their bind for dash
rawJIo  [author] 12 Jul, 2023 @ 9:56pm 
LQZ, probably same thing with Calamity, seek for option from it in controls
rawJIo  [author] 12 Jul, 2023 @ 9:54pm 
Edva +W на маскве, maybe you were using it with Calamity like others, in that case this mod doesn't add an option for bind and you can use Calamity keybind for dash instead
rawJIo  [author] 12 Jul, 2023 @ 9:53pm 
Necrovane, fun thing is Calamity added their own keybind for dash some time ago in spring. It does almost exactly the same thing as my mod, except it somehow manages multiplayer synchronization so it's not glitchy. This is why I made this mod not to add any functionality if Calamity is loaded as they conflict with each other.
NecroVane 12 Jul, 2023 @ 12:02am 
Borderline required mod if you are playing calamity, dash trinkets help so much for so many fights, especially the later ones, but the double tap input is just awful and at least for me, led to my death more often than it saved my life(not to mention frustration while trying to lay blocks).
Dominus 9 Jul, 2023 @ 5:57pm 
For those who can't find where the bind is, or what the hotkey is by default it's the F key. As for changing it (I had Calamity mod enabled so it may be different for anyone not using it) the name is "CalamityMod: Dash Double Tap Override"

That's what I've found to work for myself, if it still doesn't work then I'm not sure what else to list.
unc 29 Jun, 2023 @ 9:06am 
Enabled the mod but no option to bind dash appeared in keybinds
edshot 16 Jun, 2023 @ 11:58pm 
same
Svuolacius2011 13 Jun, 2023 @ 4:38am 
I dont know, maybe I did something wrong, but no extra option for binding dash appeared in keybinds settings