Dashing now works great both with shift and doubletap. Added Dash Component. Changed default Player.xml to have a Dash Component. Disabled Sprint. You can now disable DoubleTapToDash in Input.Ini. Added command "SpecialAbility".

This commit is contained in:
verysecrethero
2016-02-03 17:30:46 +01:00
parent 13161b4f57
commit 7b5a2a5388
7 changed files with 108 additions and 34 deletions
@@ -55,11 +55,12 @@ public:
}
}
if (e.Command == "Sprint") {
//this is just temp here, the sprint ability. it will have a component check later
if (e.Command == "SpecialAbility") {
if (e.Value > 0) {
m_SpeedMultiplier *= 2.f;
//m_SpeedMultiplier *= 2.f;
} else {
m_SpeedMultiplier /= 2.f;
//m_SpeedMultiplier /= 2.f;
}
}