Use this tutorial with community.examples.mod-panel-overlay.
Goal#
Create a mod-owned UI panel without replacing core HUD, ranked, commerce, or account surfaces.
Steps#
- Review
CreateUIScreenandModifyCosmeticComponentin the generated API reference atV2/docs/modding/generated/mod-api-reference.md. - Open
V2/ue/Content/V2/Modding/Examples/ModPanelOverlay.mayamod/scripts/ui_overlay.lua. - Confirm the screen id starts with
Menu.ModPanel. - Confirm cosmetic component edits target mod-owned presentation state only.
- Use
serve-v2-mayamod.py --self-testbefore loading the example locally.
Expected Result#
The mod creates only an approved UI surface and never mutates gameplay state.