Page 3 of 4

Re: In-game HUD settings mixup with <custom_ui>, script, XML

Posted: 30 Sep 2014, 16:04
by Omnixor
TMUF didn't have multilap indicator when in TA.

Re: In-game HUD settings mixup with <custom_ui>, script, XML

Posted: 30 Sep 2014, 18:49
by undef.de
Thanks for clarify, i guess i switch too much at the Gamemodes and see Ghost-Widgets. :lol:

Re: In-game HUD settings mixup with <custom_ui>, script, XML

Posted: 07 Oct 2014, 22:25
by undef.de
Just saw more at the HUD that would be nice to have the possibilities to show/hide/move:

The Music info box at top centered, that scrolls down from top and after a while it scrolls away to top.

I guess in spectator mode there are also some things, where it would be nice to have these possiblities also. :pil

Re: In-game HUD settings mixup with <custom_ui>, script, XML

Posted: 20 Nov 2014, 10:36
by Eole
For now it won't be possible to hide the music box. It's a client side feature only that the server can't control.
undef.de wrote:
xbx wrote: UI.OverlayHideEndMapLadderRecap , OverlayHideMultilapInfos
Will these be added to http://doc.maniaplanet.com/creation/man ... ry-ui.html also or are they already added, but the docs are outdated? ;)
I didn't have the time to add them before the update. But they're now available on GitHub. The documentation is also updated. Only the visibility attribute is available at the moment.

Re: In-game HUD settings mixup with <custom_ui>, script, XML

Posted: 20 Nov 2014, 21:44
by undef.de
Thanks for adding <endmap_ladder_recap> and <multilap_info>, works 100%! :thx:


I can life with the music box, but it would be nice to have this possibility sometimes to complete the control over the HUD. ;)


After creating the DoxyGen docs from the 2014-11-19 update, i noticed today this:

CUIConfig::OverlayHidePersonnalBestAndRank should be renamed to "OverlayHidePersonalBestAndRank" to be in sync with <personal_best_and_rank>

CUIConfig::OverlayHideSpeedAndDist should be renamed to "OverlayHideSpeedAndDistance" to be in sync with <speed_and_distance>

Code: Select all

<ui_properties><opponents_info visible="true" />
<opponents_info> doesn't change anything right now? I wasn't able to find a related script that handle this (except UI.Script.txt), or see any changes in the HUD on setting it to "false".

Found at CUIConfig:
  • CUIConfig::OverlayHideNotices
  • CUIConfig::OverlayHideBackground
  • CUIConfig::OverlayHideConsumables
  • CUIConfig::OverlayHideCrosshair
  • CUIConfig::OverlayHideGauges
  • CUIConfig::OverlayScoreSummary
But missing this at http://doc.maniaplanet.com/creation/man ... ry-ui.html also. I guess the most of them are for Shootmania only(?).



Btw.: This code

Code: Select all

UI.OverlayHideEndMapLadderRecap = False;
UI.OverlayHideMultilapInfos = False;
log(UI.OverlayHideEndMapLadderRecap ^" - "^ UI.OverlayHideMultilapInfos);
logs in the console

Code: Select all

True - True
instead of

Code: Select all

False - False
and (of course) doesn't change the wanted settings.

Re: In-game HUD settings mixup with <custom_ui>, script, XML

Posted: 21 Nov 2014, 15:14
by Eole
undef.de wrote:<opponents_info> doesn't change anything right now? I wasn't able to find a related script that handle this (except UI.Script.txt), or see any changes in the HUD on setting it to "false".
It's only visible in the solo mode. It hides the medal/ghost selection UI in the campaign.
undef.de wrote:Found at CUIConfig:
CUIConfig::OverlayHideNotices
CUIConfig::OverlayHideBackground
CUIConfig::OverlayHideConsumables
CUIConfig::OverlayHideCrosshair
CUIConfig::OverlayHideGauges
CUIConfig::OverlayScoreSummary
Yes, they're all specific to Shootmania. For now the library is only compatible with Trackmania, so I didn't add them.
undef.de wrote: Btw.: This code

Code: Select all

UI.OverlayHideEndMapLadderRecap = False;
UI.OverlayHideMultilapInfos = False;
log(UI.OverlayHideEndMapLadderRecap ^" - "^ UI.OverlayHideMultilapInfos);
Do you run this code in the server script or in a manialink script? If it's in a manialink script, do you create the manialink in the server script or send it from a controller with XmlRpc?

Re: In-game HUD settings mixup with <custom_ui>, script, XML

Posted: 21 Nov 2014, 19:43
by undef.de
Eole wrote:
undef.de wrote:<opponents_info> doesn't change anything right now? I wasn't able to find a related script that handle this (except UI.Script.txt), or see any changes in the HUD on setting it to "false".
It's only visible in the solo mode. It hides the medal/ghost selection UI in the campaign.
At http://doc.maniaplanet.com/creation/man ... ry-ui.html is <!-- ... --> in the documentation, it would be nice if you can add this description to it. 8-)

Eole wrote:
undef.de wrote: Btw.: This code

Code: Select all

UI.OverlayHideEndMapLadderRecap = False;
UI.OverlayHideMultilapInfos = False;
log(UI.OverlayHideEndMapLadderRecap ^" - "^ UI.OverlayHideMultilapInfos);
Do you run this code in the server script or in a manialink script? If it's in a manialink script, do you create the manialink in the server script or send it from a controller with XmlRpc?
It was sent by my server controller with XmlRpc in a Manialink.

Re: In-game HUD settings mixup with <custom_ui>, script, XML

Posted: 24 Nov 2014, 15:16
by Eole
The UI object is protected by the server and can't be modified by a manialink sent from XmlRpc. However, if you just replace UI by ClientUI it should work.

Code: Select all

ClientUI.OverlayHideEndMapLadderRecap = False;
ClientUI.OverlayHideMultilapInfos = False;
log(ClientUI.OverlayHideEndMapLadderRecap ^" - "^ ClientUI.OverlayHideMultilapInfos);
undef.de wrote:At http://doc.maniaplanet.com/creation/man ... ry-ui.html is <!-- ... --> in the documentation, it would be nice if you can add this description to it.
Done. ;)

Re: In-game HUD settings mixup with <custom_ui>, script, XML

Posted: 24 Nov 2014, 22:35
by undef.de
Eole wrote:The UI object is protected by the server and can't be modified by a manialink sent from XmlRpc. However, if you just replace UI by ClientUI it should work.

Code: Select all

ClientUI.OverlayHideEndMapLadderRecap = False;
ClientUI.OverlayHideMultilapInfos = False;
log(ClientUI.OverlayHideEndMapLadderRecap ^" - "^ ClientUI.OverlayHideMultilapInfos);
Thanks, that works. :thx:

Re: In-game HUD settings mixup with <custom_ui>, script, XML

Posted: 15 Feb 2015, 21:45
by soehest
Hi there.
I am a bit confused. Have been trying now for about 4 hours to disable that world ladder ranking stuff above the scoreboard at end of the map. I am new to maniaplanet so I will probabaly need to learn some new stuff since i last was around. The big question would be. How to i actually disable the world ladder from showing? My best guess is that <endmap_ladder_recap visible="true" /> should be set to false. I have tried adding various variations like setCustomUIField('endmap_ladder_recap visible', false); to plugin.records_eyepiece.php but had no luck yet.

Regards
soehest