From 705c9b76ca3c331d5fc2493748b941c2bea76a2f Mon Sep 17 00:00:00 2001 From: Kevin Poretti Date: Thu, 27 May 2021 19:56:56 -0500 Subject: [PATCH] Directional input attacks [git-p4: depot-paths = "//depot/main/": change = 75] --- SwordNGun/Config/DefaultInput.ini | 1 - .../States/BP_ProtagGroundedState.uasset | 4 ++-- .../Controllers/SNGPlayerController.cpp | Bin 4970 -> 5618 bytes .../Public/Controllers/SNGPlayerController.h | Bin 1774 -> 1832 bytes 4 files changed, 2 insertions(+), 3 deletions(-) diff --git a/SwordNGun/Config/DefaultInput.ini b/SwordNGun/Config/DefaultInput.ini index 430be02..30e67a8 100644 --- a/SwordNGun/Config/DefaultInput.ini +++ b/SwordNGun/Config/DefaultInput.ini @@ -131,7 +131,6 @@ DoubleClickTime=0.200000 +ActionMappings=(ActionName="UseGadget",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=Gamepad_LeftTrigger) +ActionMappings=(ActionName="CycleMeleeWeapon",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=Gamepad_LeftShoulder) +ActionMappings=(ActionName="CycleRangedWeapon",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=Gamepad_RightShoulder) -+ActionMappings=(ActionName="DashStab",bShift=False,bCtrl=False,bAlt=False,bCmd=False,Key=Z) +AxisMappings=(AxisName="MoveForward",Scale=1.000000,Key=W) +AxisMappings=(AxisName="MoveForward",Scale=-1.000000,Key=S) +AxisMappings=(AxisName="MoveRight",Scale=1.000000,Key=D) diff --git a/SwordNGun/Content/Characters/Protagonist/States/BP_ProtagGroundedState.uasset b/SwordNGun/Content/Characters/Protagonist/States/BP_ProtagGroundedState.uasset index 217085e..49f5693 100644 --- a/SwordNGun/Content/Characters/Protagonist/States/BP_ProtagGroundedState.uasset +++ b/SwordNGun/Content/Characters/Protagonist/States/BP_ProtagGroundedState.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1504937ca5a46a45e0fba0c86010dfb36f5194cd5c02b3f27b7c691ff303ef4c -size 227021 +oid sha256:6b78f7a03d38c945e1006b62096b0259d1a3a94a8b556828efcb7c600fb9ff9d +size 226333 diff --git a/SwordNGun/Source/SwordNGun/Private/Controllers/SNGPlayerController.cpp b/SwordNGun/Source/SwordNGun/Private/Controllers/SNGPlayerController.cpp index c8b12166f834d7dfb74a2f553ea18ca7cf564468..3f0b8b793995930a3f57e624b9d3927ca623d7bf 100644 GIT binary patch delta 423 zcmaE*_DOp~9Q))`oDQ33vF9;vKF4{DY4R~{D{e=I5+F=uNM^{MY|kw}Ie^bbwum7g z$WLV`2ErhqTsea$Lmoo`Ln%;Y@nl&6&&^MG+Sn%R2-tYyRmz~jpvl0?z{OAvCOH|> z7;=C{CjyO8U