Forum rules - please read before posting.

Custom interaction icons don't work

Hello, I've got the following problem: I'm relatively new in AC and I'm playing around with the standart interaction menu that comes wit AC. There are by default 3 icons (use,talk,look at). Now I added two more icons (I want to make my future game bilingual by letting the user decide if the actions text is displayed and spoken in one or the other language). But even if I defined those additional actions in the hot spot, they are not displayed when I click on the hot spot. Where is the switch that limits the interactions to the 3 default ones? I must have overseen it.
greetings, Mike

Comments

  • Okay, I found InteractionsUI, where I also added my new buttons. But still only the standart three are showing :(

  • Welcome to the community, @DIYMicha.

    I'm afraid I'm having trouble viewing your screenshots - the link redirects me to a homepage. Would you mind posting them to imgur?

    To create new interaction icons, however, you'll first need to define them in the Cursor Manager under the "Interaction icons" panel. Once done, you can then assign them in Hotspot interactions - it sounds like you've done this already.

    To have them appear in the Interaction menu, you'll need to add them as new Interaction elements inside it. If you view the Interaction menu in the Menu Manager, you'll see the three default Interactions as separate Interaction elements.

    If you're using Unity UI as the Menu's Source - i.e. the Menu uses InteractionUI - then you'll also have to add the icons as new Buttons to the UI prefab, and then link them to the Menu Manager.

    A tutorial on linking Unity UI elements with AC's Menu system can be found here. However, this does add another layer of complexity, and it's often easier to switch your Menu's "Source" over to "Adventure Creator" while prototyping. This doesn't involve any other asset files or prefabs, and you can style your Menu directly in the Menu Manager, previewing things in the Game window.

    Each of AC's default menus work in both Unity UI and Adventure Creator modes, so switching your Interaction menu's Source to Adventure Creator will still work. More on AC's Menu system can be found in the Manual's "Menus overview" chapter.

  • edited March 2022

    Thanks for your response.
    1st. I tried to add the interactions in the AC Game Editor on the right. Nothing happened.

    https://imgur.com/HDu5fBT

    Then I found interactionUI, where I did the same. Nothing happened.

    The hotspot looks like this:

    https://imgur.com/cNtKhqO

    But in game:

    https://imgur.com/VXFUHNB

    nothing :(

  • The third link is the same as the first - can you re-post, and also share your Interaction menu from the Menu Manager?

    As I said, it's not enough to change the InteractionUI prefab - this is linked to the Interaction menu in the Menu Manager. See my comments above about switching its Source over to Adventure Creator first, and then adding the new Interaction elements to it. Once it's working with the "AC" Source mode, we can see about re-linking it to UI.

  • Oh my... All the way down there. I must confess, I never scrolled this screen down. Shame on me. Now it works.

    For completion:

    https://imgur.com/dLzV8FX

    Thank you very much for the hint. :)

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.