Skip to content

[Customized] Enhanced MessageDisplayInCenter #1792

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

CrimRecya
Copy link
Contributor

@CrimRecya CrimRecya commented Aug 2, 2025

  • Now you can set MessageApplyHoverState to true,to make the upper left messages not disappear while mouse hovering over the top of display area.
  • You can also let task subtitles (created by trigger 11) to display directly in the middle area of the screen instead of the upper left corner, with a semi transparent background, by setting MessageDisplayInCenter to true. In this case, all messages within this game can be saved, even after being s/l.
    • If you also set MessageApplyHoverState to true, when the mouse hovers over the subtitle area (simply judged as a rectangle), its opacity will increase and it will not disappear during this period. If the area is expanded, disabling this option will not prevent mouse clicking behavior from being restricted to this area.
    • MessageDisplayInCenter.LabelsCount controls the maximum number of subtitle labels that can automatically pop up at a same time in the middle area of the screen. At least 1.
    • MessageDisplayInCenter.RecordsCount controls the maximum number of historical messages displayed when this middle area is expanded (not the maximum number that can be stored). At least 4.
    • The label can be toggled by "Toggle Message Label" hotkey in "Interface" category.

In RA2MD.INI:

[Phobos]
MessageApplyHoverState=false            ; boolean
MessageDisplayInCenter=false            ; boolean
MessageDisplayInCenter.LabelsCount=4    ; integer
MessageDisplayInCenter.RecordsCount=12  ; integer

messagedisplayincenter

@CrimRecya CrimRecya added Needs testing Minor Documentation is not required ⚙️T1 T1 maintainer review is sufficient labels Aug 2, 2025
Copy link

github-actions bot commented Aug 2, 2025

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Minor Documentation is not required ⚙️T1 T1 maintainer review is sufficient Tested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants