UCC + UIS + RPG Schema

sagisaks

New member
So I integrated UCC and UIS with the latest tutorials and at the end it wants to add the non item shape grid so I used another tutorial to setup the item shape grid at this point.

I have everything working besides the fact that when I open the inventory and equipment, my character camera and movement are still active and the cursor wont show.

I checked the 3 required check boxes in the Display Panel Manager and Display Panel Manager Handler but still doesn't work.

I noticed that the rpg schema doesnt setup the inventory and equipment inside of the main menu like the other setup so I tried opening the main menu and it works as intended, the character and camera movement stops and a cursor is shown until the main menu is closed.

So at this point I am confused if the ui designer set it up wrong, if im doing something wrong.

Also I am curious if the main menu thing is a design decision, I noticed that the ui designer sets up the other inventory to be a part of the save/load and exit screen which is very strange to me. I am just worried that I will have to do alot of custom work to even be able to open two ui panels at the same time (like inventory and equipment at the same time) without being on the main menu.

Here is a breakdown of what I would like to achieve:

1. Press TAB
2. Equipment and item shape grid inventory open up while also having the hotbar on the screen to be able to drag items to it
3. Character and camera controls are deactivated until I press tab again or leave the UI
4. The ability for all of this to take place while also having the Main menu as a normal main menu which is pressing escape and it popping up if you want to save, load, or exit the game (this would pause the game but the inventory and equipment wouldn't (for balancing purposes))

The closest I got to making this work was checking the 'is menu panel' on the inventory panel (which solved the cursor not showing when opening ui panels) and using playmaker to activate both the inventory panel and equipment panel when TAB is pressed but there were a few problems so I figured I would come here to see what your thoughts are.

I attached a screenshot just to show I have all 3 areas checked
 

Attachments

  • opsive.png
    opsive.png
    46.4 KB · Views: 4
@Sangemdoko is on vacation until next week and I don't know this integration nearly as well as he does but for this specific problem:

my character camera and movement are still active and the cursor wont show.
What happens if you deselect Enable Input on Gameplay Selection from the Display Panel Manager? I am thinking that this is related to the OnEnableInput event within the character controller.
 
That's okay I am patient! Unfortunately, nothing changes when I deselect Enable Input on Gameplay Selection.

I can wait to see what he has to say after his break! :)
 
Happy new year!
I'm sorry for the delay I was on Holiday.

So your concerns with the menus are actuall no problem. Each game is different and the menus need to be set up differently for each.

In your case setting them as "is menu" is one way to go.

Just take into account you can have panels inside other panels. One of the options on the DisplayPanel is whether they are "Selectable" this means whether they count as a panel you can got back to.

If you want all you panels to be floating panels that pauses input and shows the mouse. You could have one empty menu panel with all your floating panels inside it. and you would toggle it with TAB

I hope this points you in the right direction.
 
Happy new year!
I'm sorry for the delay I was on Holiday.

So your concerns with the menus are actuall no problem. Each game is different and the menus need to be set up differently for each.

In your case setting them as "is menu" is one way to go.

Just take into account you can have panels inside other panels. One of the options on the DisplayPanel is whether they are "Selectable" this means whether they count as a panel you can got back to.

If you want all you panels to be floating panels that pauses input and shows the mouse. You could have one empty menu panel with all your floating panels inside it. and you would toggle it with TAB

I hope this points you in the right direction.
Thank you so much for the reply and I hope you had a wonderful Holiday! :)

This led me directly to where my problem was thank you so much! Everything works perfectly!
 
Back
Top