Common UI Input system in Unreal Engine 5

Поділитися
Вставка
  • Опубліковано 27 лис 2024

КОМЕНТАРІ • 59

  • @VoodooChipFiend
    @VoodooChipFiend 2 дні тому

    Couldn't for the life of me figure out why my input buttons weren't showing. Hooked me up fat with this video! Thank you!!!

  • @BiZkiDD2
    @BiZkiDD2 Рік тому +16

    Damn son! After 52 seconds of watching your video I can already say it's better than the Common UI introduction by Epic which was almost 3 hours long..

  • @VolkillerGames
    @VolkillerGames  2 роки тому +8

    this is just showing part of the initial setup to have UI input icons switching handled for you there is more to both the input side and what the common UI plugin offers that i will be covering in future videos.

  • @VolkillerGames
    @VolkillerGames  Рік тому +1

    Im currently working on a template to use Common UI with Enhanced input. Sub to see when i post it for everyone or check out my livestreams where i have been working on it. Wil replace this with a link when i release it.

    • @gabo-7
      @gabo-7 4 місяці тому

      Have you had any progress with this? Would really like to combine Common UI with Enhanced Input, but can't really find any tutorial about it

  • @derf0007
    @derf0007 Рік тому +2

    I get so lost around 2:20, is there a way I can see what you are doing there? I can hear typing, but nothing is happening on your screen. Maybe it is happening on your other monitor?

    • @VolkillerGames
      @VolkillerGames  Рік тому

      sorry about that the video is slightly slower then the audio there because i cut a pause out but its me typing the names i say all im doing is assigning the buttons there ie Foward/back like i show in the generic controller data that comes in the editor(though it might be from lyra ) sorry i had intended to follow up on this video i have been waiting for the plugin to finish updating atm they just added support for using this with enhanced input once alll that is finished there will be another video. if you do need help getting your system setup just let me know and ill try to walk you through it a little better then i did here

  • @Kiwi2703
    @Kiwi2703 Рік тому +1

    Thanks for the video! But where exactly is the library project with the pre-made blueprints you mentioned?

    • @VolkillerGames
      @VolkillerGames  Рік тому +1

      i had released an early version of it but its been removed im planning on updating these videos now that common ui is more complete and supports enhanced input and in turn enhanced input player mappable remapping so it makes things even easier

    • @JoaoVictor-fk8no
      @JoaoVictor-fk8no Рік тому +1

      @@VolkillerGames yes, please remake this video and don't skip anything 🙏

  • @MuttonheadsOfficial
    @MuttonheadsOfficial Рік тому +2

    Thank you for the tutorial, but from what I understand the "Common Input Action Data" are independent of "Enhanced Input". How to link them? Namely, I have a widget that displays to interact with objects (press "E" or Press "X"), with Common UI, it adapts with the correct icon if the user uses a keyboard or a gamepad, no worries. But if the user modifies the action button by remapping it, how can I ensure that my widget displays the new icon? I haven't found anything about that.

    • @VolkillerGames
      @VolkillerGames  Рік тому +1

      they are separate as the common ui is meant for general game ui that would never be remapped, and Enhanced input is player mapped input. Note that this should be changing in the future im not sure if it made it into 5.2 but common input actions will be able to accept a Input action soon and it will then base it off your input action and match it to a matching key in the Input action data to display the correct key the setup i was going to release got delayed because of this i had been overrriding and storing data about what each input action was it was a pain but soon enough it should be really straight forward

  • @sunnymon1436
    @sunnymon1436 Рік тому

    For me, this didn't resolve anything - so why can't widgets use keyboard keys when paused anymore? Still unclear.

  • @BaseRealityVR
    @BaseRealityVR Рік тому

    I'm using the common UI in VR but every time I push a widget to the stack I loose all character input. Tried everything I can think of NOTHING WORKS,

    • @VolkillerGames
      @VolkillerGames  11 місяців тому

      IDK if you ever figured this out or if this is even in the right direction but, Common Activate UI has a function you can override called something like Input config might be able to find something in there or changing the widget stack from menu to game hopes it helps sorry for the late reply youtube doesnt send me notifications when there is a comment

  • @Dondesocupado
    @Dondesocupado 2 роки тому +1

    Good video, thanks.

  • @FPChris
    @FPChris Рік тому +1

    Can the user select manually the type they want? Like instead of "generic" a "ps5 layout" ??? I usually run into issues as a player being stuck with Xbox icons on PC with no way to change them manually to PS5.

    • @VolkillerGames
      @VolkillerGames  Рік тому

      This is a great question i dont atm have a controller that doesnt use Xinput so im not 100% of the best way but you can set up multiple gamepads(or any other) in your common input settings in project settings that alone might work but if not on input method changed you can get gamepad name and set it manually using set input action or possibly another event i know overall it should be possible. i do plan on making an updated video to this now that the feature has changed a bit so ill add this on my list of things to look into for that

    • @FPChris
      @FPChris Рік тому

      @@VolkillerGames Thx. I set up two controller data sets in the Project Settings. The one in index[0] in the project settings works as 'Generic'. I can't figure out how to "activate" index[1] for example it just appears to be ignored at the moment :/... Also, I could get the current gamepad name in Blueprint but couldn't find a way to set it. That might work if you can name Gamepad #2 to something other than 'Generic' and set it active

  • @GokdenizCetin
    @GokdenizCetin Рік тому +1

    When an activatable widget is enabled, inputs are disabled. How do you handle inputs?
    For example, I added a function to my PlayerController, ESC key opens the Pause Menu. Normally it has a feature if it clicks ESC again, it should close. But, CommonUI blocks all the inputs and the player cannot close the pause menu with an input. How do you solve this problem? Thank you.

    • @gostek-de7kj
      @gostek-de7kj Рік тому

      Hey, I have the same problem as you. Have you found a solution?

    • @GokdenizCetin
      @GokdenizCetin Рік тому

      @@gostek-de7kj I have this problem for one month and still no luck. I inspected Lyra project files, they somehow solve this issue but I couldn't find it how they did. Lyra is a bit complex for me.

    • @gostek-de7kj
      @gostek-de7kj Рік тому

      @@GokdenizCetin And just deactivating the widget won't help? I just got this error today and I'm devastated

    • @GokdenizCetin
      @GokdenizCetin Рік тому

      @@gostek-de7kj Sure. The widget needs to be deactivated already, but before you can do this, the input needs to work. I made a "Resume" button, there is no problem when I click on it. But I can't deactivate it with "Escape" key

    • @gostek-de7kj
      @gostek-de7kj Рік тому +2

      @@GokdenizCetin Yes, I have the same problem. It's a pity that there is no contact with the owner of the channel. :/ I will write here when I find a solution. Although what you've written sounds like it's hard.

  • @Fikarblackproject
    @Fikarblackproject Рік тому

    hai, can you help me? i want make a button, but when i click the button its same i click P ( keyboard ) thanks

  • @alienrenders
    @alienrenders Рік тому +1

    None of this works for me. Only the default actions work. But let's say I want the Y button to trigger the button, it doesn't work. Only A ever works. And the back button never triggered.
    edit: I check on and off some of the checkboxes in the Project Settings for Common Input Settings and it just started working. Kinda wonky code if you ask me.

  • @tk1l1284
    @tk1l1284 Рік тому

    thank you for the tutorial! as i understood: if i will make remappable bindings by controls settings, i should change input type info from data table inside the code, right?

    • @VolkillerGames
      @VolkillerGames  Рік тому +1

      these were setup not to really change in this early build as ui buttons tend not to ever change but since i made this they added enhanced input support and that has built in player remapping and input actions are easier to work with imo

  • @letenebrae3164
    @letenebrae3164 2 роки тому +1

    That's exaclty what is was looking for. Unity has a complete tutorial about that and Unreal (as usual) has only that trashy documentation to show. Thanks!

  • @GamesByHyper
    @GamesByHyper Рік тому

    Hey! Thank you for showing this initial setup. I am also diving into the common UI since yesterday and still experimenting. Recognizing the controller inputs is easily done with your explanation. However, how can I switch it with a keyboard input? I do know that the Common Button Base has checkboxes like: Hide Input Action with Keyboard. I am a bit lost on the best approach here. I see in your second video you switch between keyboard and controller Icons. Can you elaborate on how?

    • @VolkillerGames
      @VolkillerGames  Рік тому +1

      the system itself detects input types so as long as you have the Controller data array filled out in Common input setting in the project settings it have one that is set to Keyboard and mouse it will switch to it when using the Common Action widget to display it, if needed because of your own setup the Common Action widgets also expose on input method changed

    • @GamesByHyper
      @GamesByHyper Рік тому

      @@VolkillerGames thank you! This confirms something for me. I have used the controller data from Lyra which includes the keyboard and mouse. It is probably disabled somewhere in the config. I will start with a clean project without any Lyra configs to get the hang of it.
      I am also trying to figure out how to receive the inputs automatically on the focused widget without C++. Besides that trying to get the action bar to work and auto fill. No luck yet on both! Have you? It is a fun endeavor!

    • @GamesByHyper
      @GamesByHyper Рік тому

      @@VolkillerGames Btw, just found out that the content examples does include a Common UI example map which is quite thorough!

    • @GamesByHyper
      @GamesByHyper Рік тому

      The problem I had was the Gamepad name not matching the name in the controller input bp. I did make progress and think I’m beginning to comprehend the system now. Check out my progress: ua-cam.com/video/8LRwlCZjXoY/v-deo.html

  • @Peleias
    @Peleias Рік тому

    The only channel I found talking about very different things, mainly about the common UI.
    Have you used "Set Input Mode Game and UI" with Common UI? I couldn't make it work, it bars all commands as soon as I activate a widget. Working only the menus inside the Widget. (The Flipflop to disable the widget doesn't even work)

    • @VolkillerGames
      @VolkillerGames  Рік тому +1

      thanks i try to cover all the new stuff i see coming to the engine and what i learn making my own games :D as for set input i have had similar issues its the design of Common ui it handles input differently its designed to push and pop widgets into focus so the best way to go about it is to have a base Common input widget and then use that to push and pop all your main widgets, also if your trying to get inputs working in widgets they also support input events now unlike ue4, hope that helps if you have any questions feel free to ask

  • @BillybobsPainting
    @BillybobsPainting Рік тому

    you should have showed how to setup the input tables @2:36 and sped up video.

    • @VolkillerGames
      @VolkillerGames  Рік тому

      i agree this was done a while ago and now this setup is changed from the beta and supports Enhanced input as well as some other ui changes i keep meaning to update this video or release a template menu system

  • @SerjSam
    @SerjSam Рік тому

    Please tell me how to make the font size always default? How to save the font size (Applivation Scale) setting? That is, so that each new project opens with the selected font size?

  • @vegitoblue2187
    @vegitoblue2187 Рік тому

    How do I go about displaying the keyboard and mouse wth this? Esp if I can reassign the bindings on PC

    • @VolkillerGames
      @VolkillerGames  Рік тому

      When this was created you couldnt really remap with it as its meant for UI input which isnt changed in a game ie you dont want players to break esc opening pause. BUT since this they have added enhanced input support so you can use your enhanced inputs directly so it would just read what is shown, it showing keyboard is as easy as adding the icons for the keys in the data table you set in the input settings That is what the "controller data" types you setup do they store the icons you want shown based on the button you add them to and set the control type inside it ue will then automatically switch it when it detects a change and it will default to keyboard/mouse if that is what you set as the platform default

    • @vegitoblue2187
      @vegitoblue2187 Рік тому

      @@VolkillerGames When did they add enhanced input for this?

    • @VolkillerGames
      @VolkillerGames  Рік тому

      @@vegitoblue2187 5.2 you have to enable it in settings it comes along some beta enhanced input stuff for player configurable data that is still being worked on.

  • @joeanrachelmiller6529
    @joeanrachelmiller6529 Рік тому

    i've watched like 4 peoples videos and still no dice on this widget. the rest of common ui seems to work

    • @VolkillerGames
      @VolkillerGames  Рік тому

      make sure you name it correctly so it binds the events you can see under widget binds it adds a checkmark other bits of this system have changed since i made this i plan on making a new video at some point

  • @Dondesocupado
    @Dondesocupado 2 роки тому

    How did you configure in minute 4:06, the Xbox Button Mapping? I see it has a Gamepad Name "XSX" but I don't know where I can configure that, also Gamepad Hardware Id Mapping, etc. do you know where I can find information on this?

    • @VolkillerGames
      @VolkillerGames  2 роки тому +1

      Its the common input base controller data its just setup with every button on an xbox controller granted you dont have to setup every button if your only going to ever show certain ones. As for Hardware id I grabbed that from the lrya project(you can grab the controller data there as well if you need to) And for xbox the Device name is XInputInterface and the HDI XInputController. Playstatio dualsense would b FWinDualShock and Dualsense

    • @Dondesocupado
      @Dondesocupado 2 роки тому

      @@VolkillerGames I will check it out, thank you very much.

  • @dennis.i
    @dennis.i Рік тому

    Can't get it work properly, when switch to controller the gamepad icon is not showing up.

    • @VolkillerGames
      @VolkillerGames  Рік тому

      did you setup your controller data settings, other then that make sure your Input action widget is named corrected so it binds you can make sure its bound by looking at the bind widgets window and under the widget name you will have a checkmark. you can also use on input method changed to make sure its being used

  • @kingslayer8756
    @kingslayer8756 7 місяців тому

    man by this can this differentiate the Xbox and PlayStation controller ?

    • @VolkillerGames
      @VolkillerGames  7 місяців тому

      On pc atm you cant really tell the difference between plugged as it just detects gamepads at least this plugin by itself but i imagine combined with the dualshock plugin you could get it working pretty easy. There is also a new Windows Game input plugin coming that might help i havent looked into it

  • @elgrekko9634
    @elgrekko9634 Рік тому +1

    You could show us when you add a widget in your map ! you do things too fast !

  • @bilalu.9149
    @bilalu.9149 8 місяців тому

    Try to not rush through your tutorials as if somebody was hunting you. Don't skip that many things, just a friendly tip.

    • @VolkillerGames
      @VolkillerGames  8 місяців тому

      haha great advice. I agree i rushed this when i make the video it was more to show off the feature when it was added to the editor and it wasnt fully finished and i had planned to make a updated Video and a real attempt at making it a tutorial and not just an overview for people that discovered it while it was only in the source build. I hope to get to that depending on when 5.4 fully releases if it has enhanced input+common ui working correctly along with a demo