Gamepad-Friendly UMG ~ Control Cursor with Gamepad Analog Stick! Easily Click Buttons!

Hi mate @Burnz,
How do you do that?

@
Mate, would be much appreciated if you reply to our issues please!

I took the original project from Nick Darnell. You’ll have to alter FAnalogCursor a little bit, then it works, also set UIMode to true so it won’t make the cursor disappear when clicking into the game-world. My main problem is getting the cursor to start up without controller input, seems activate only when you hit a button on the controller… but it works.

I’m a bit confused. So you mean 's plugin isn’t the right one? Where do I get the original one please?

It was originally created by Nick Darnell as a source code project. The plugin didn’t work for me but since our project is c++ anyway i figured i just go with the original and figure it out from there, to my surprise his project worked right out of the box (with a few bugs, like invisible cursor at start and cursor only working when you press a button on the controller) but it’s a good starting point.

OK, that’s awesome. Really appreciate your help. I might be wrong but I thought you can’t migrate C++ projects to other projects. How did you go about? I’m so sorry to ask so much :slight_smile:

Thanks very much for this , and also to Nick!

Plugin works like a charm and has definitely streamlined my project. My only issue currently is that I just upgraded to 4.13 so of course the plugin needs to be recompiled. Is this something a non programmer like me can do with the right resources? I would hate for you to be saddled with recompiling it for all the subsequence revisions. Thanks again!

Hello ,
Will you update the plugin to version 4.13? Thanks in advance

Is there a way to have old styled menu controls with controller? As in press down and the next button is selected?

GamepadUMG updated to 4.13!

Dear Community,

As per popular request I’ve updated the Gamepad UMG plugin and project to 4.13!

Please note what you get in this download is a full project to play with, so you can just load it up and start playing with your gamepad to see how it works :slight_smile:

I packaged the plugin for win32 and win64 shipping and development using the Unreal Marketplace C++ plugin packaging process.

Gamepad UMG 4.13

Enjoooy!

:heart:

Thanks for you hard work and to Nick as well. Is there any chance this plugin can be modified to work in keyboard focus style without a cursor? that would be neat!

Hey , thanks for this plugin, it saved us quite some time. The plugin is working well, both in the Edtor and in the shipped game. However, when packaging the game I get the following error messages:

[FONT=Courier New]MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.19-12.24.09:945] 0]LogInit: Display: Warning/Error Summary (Unique only)
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.19-12.24.09:945] 0]LogInit: Display: -----------------------------------
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.19-12.24.09:946] 0]LogInit: Display: LogLinker:Warning: Can’t find file ‘/Game/ThirdPersonCPP/ThirdPersonOverview’
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.19-12.24.09:946] 0]LogInit: Display: LogUObjectGlobals:Warning: Failed to load ‘/Game/ThirdPersonCPP/ThirdPersonOverview’: Can’t find file ‘/Game/ThirdPersonCPP/ThirdPersonOverview’
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.19-12.24.09:946] 0]LogInit: Display: LogUObjectGlobals:Warning: Failed to find object ‘Class /Game/ThirdPersonCPP/ThirdPersonOverview.ThirdPersonOverview_C’
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.19-12.24.09:947] 0]LogInit: Display: LogUObjectGlobals:Warning: Failed to find object ‘Object /Game/ThirdPersonCPP/ThirdPersonOverview.ThirdPersonOverview_C’
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.19-12.24.09:947] 0]LogInit: Display: LogRedirectors:Warning: String Asset Reference ‘/Game/ThirdPersonCPP/ThirdPersonOverview.ThirdPersonOverview_C’ was not found! (Referencer ‘Unknown’)

This is new since I copied the whole plugin folder “GamepadUMGPlugin” from the ZIP file into the Plugins folder of my project.
Any ideas how to get rid of these warnings?

Thanks, and cheers!

Hi there! Those are all related to ThirdPersonTemplate project, which is rather odd cause the GamepadUMG doesnt have anything to do with that… Unless some config settings got carried over somehow?

But there’s no config in the plugin…

Did you copy the config settings from my sample project perhaps?

These errors are unrelated to the plugin itself as far as I can tell

:slight_smile:

It appears that both left and right analog sticks are impacted by the virtual cursor even though it’s only the left stick that controls the cursor. Is there a way to still get right stick input when the virtual cursor is enabled?

Really strange … these messages only appear since we have integrated this plugin to the project :slight_smile:

I am not doubting your experience, I am simply trying to understand what it could possibly mean :slight_smile:

Packaging Just Fine
I can package just fine for shipping builds in my test project.

The key line is this:



/Game/ThirdPersonCPP/ThirdPersonOverview.ThirdPersonOverview_C' was not found!



**Issue Identified**

Ahh I think I  see what is going on here, in my sample project that I distribute with this plugin, I have a test map called:

ThirdPersonOverview

When you extracted the plugin to your project, somehow there's something that is looking for that map, there's a stray reference somewhere somehow, that is still looking for that map.

**Perhaps you pulled in other asset content from my sample project, but not the map itself?

There wouldn't be a reference in the code, it must be some content you ported over**

You can test my theory by pulling into your project the map from my sample project as follows:



```


Content/ThirdPersonCPP/ThirdPersonOverview


```




If you do that you should be able to package.

Directory structure has to be exact as it is a string asset reference

**The Solution **

After you package once successfully with my test map in your project in the exact correct location, try deleting the map from your project, and then right-click on your project root and say Fix Up All Redirectors in Folder

Then try packaging again, and hopefully all will work from that point onward.

:slight_smile:

Hey , thanks for your proposed solution.
I will have a look at it later this week when I am back home again and let you know then.

Cheers!

Hi , I tried what you suggested and copied the ThirdPersonCPP folder into my content direcotry.
After restarting the editor that error message I have reported was gone, so that looked good.

However, after packaging and performing those steps you have listed above and restarting the editor again, the error message shows up again (even without packaging).

Do you have any other ideas?

Hey , is there anyway you could add multiple player controller support? Or is that not possible? I was thinking for local multiplayer games where they all have cursors on the main menu for example.

i am also interested.