Skip to content

Conversation

@Kexanone
Copy link
Member

@Kexanone Kexanone commented Oct 14, 2025

When merged this pull request will:

  • Implement ACE_PhysicalButtonsComponent that can be added to gadgets for specifying clickable physical buttons.
  • Add gadget inspection GUI for interacting with physical buttons.

Background:

  • Buttons are implemented by being rigged and having a corresponding an Interaction collider that get triggered when a ray from a mouse button click position intersects with the collider.
  • For consoles, there are actual UI buttons on top of the physical buttons that can be cycled through.
20251014-1742-55.2959739.mp4

Usage:

  • Open ChimeraMenuPreset.ACE_InspectGadgetMenu and register ACE_PhysicalButtonsComponent with ACE_InspectGadgetMenu::GetPhysicalButtonsUIComponent::SetPhysicalButtonsComponent:
IEntity aed = GetGame().GetWorld().FindEntityByName("AED");
ACE_PhysicalButtonsComponent component = ACE_PhysicalButtonsComponent.Cast(aed.FindComponent(ACE_PhysicalButtonsComponent));

ACE_InspectGadgetMenu menu = ACE_InspectGadgetMenu.Cast(GetGame().GetMenuManager().OpenDialog(ChimeraMenuPreset.ACE_InspectGadgetMenu, DialogPriority.INFORMATIVE, 0, true)); 
if (menu)
	menu.GetPhysicalButtonsUIComponent().SetPhysicalButtonsComponent(component);

@Kexanone Kexanone added this to the 1.4.0 milestone Oct 14, 2025
@Kexanone Kexanone added the kind/feature Release Notes: **ADDED:** label Oct 14, 2025
@Kexanone Kexanone marked this pull request as draft October 19, 2025 23:26
@Kexanone Kexanone modified the milestones: 1.4.0, Backlog Oct 20, 2025
@Kexanone Kexanone added the branch/dev Available on dev branch for preview label Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

branch/dev Available on dev branch for preview kind/feature Release Notes: **ADDED:**

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants