In-game HUD settings mixup with <custom_ui>, script, XML-RPC
Re: In-game HUD settings mixup with <custom_ui>, script, XML
TMUF didn't have multilap indicator when in TA.
- staff head of ESL TM²Stadium -
Re: In-game HUD settings mixup with <custom_ui>, script, XML
Thanks for clarify, i guess i switch too much at the Gamemodes and see Ghost-Widgets. 

Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org
Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name
You like what I do? Then award a ManiaStar.
Visit the official website for more: UASECO.org
Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name
You like what I do? Then award a ManiaStar.
Re: In-game HUD settings mixup with <custom_ui>, script, XML
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.
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.

Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org
Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name
You like what I do? Then award a ManiaStar.
Visit the official website for more: UASECO.org
Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name
You like what I do? Then award a ManiaStar.
Re: In-game HUD settings mixup with <custom_ui>, script, XML
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.
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.undef.de wrote: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?xbx wrote: UI.OverlayHideEndMapLadderRecap , OverlayHideMultilapInfos
Re: In-game HUD settings mixup with <custom_ui>, script, XML
Thanks for adding <endmap_ladder_recap> and <multilap_info>, works 100%!
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>
<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:
Btw.: This code
logs in the console
instead of
and (of course) doesn't change the wanted settings.

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" />
Found at CUIConfig:
- CUIConfig::OverlayHideNotices
- CUIConfig::OverlayHideBackground
- CUIConfig::OverlayHideConsumables
- CUIConfig::OverlayHideCrosshair
- CUIConfig::OverlayHideGauges
- CUIConfig::OverlayScoreSummary
Btw.: This code
Code: Select all
UI.OverlayHideEndMapLadderRecap = False;
UI.OverlayHideMultilapInfos = False;
log(UI.OverlayHideEndMapLadderRecap ^" - "^ UI.OverlayHideMultilapInfos);
Code: Select all
True - True
Code: Select all
False - False
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org
Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name
You like what I do? Then award a ManiaStar.
Visit the official website for more: UASECO.org
Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name
You like what I do? Then award a ManiaStar.
Re: In-game HUD settings mixup with <custom_ui>, script, XML
It's only visible in the solo mode. It hides the medal/ghost selection UI in the campaign.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".
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:Found at CUIConfig:
CUIConfig::OverlayHideNotices
CUIConfig::OverlayHideBackground
CUIConfig::OverlayHideConsumables
CUIConfig::OverlayHideCrosshair
CUIConfig::OverlayHideGauges
CUIConfig::OverlayScoreSummary
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?undef.de wrote: Btw.: This codeCode: Select all
UI.OverlayHideEndMapLadderRecap = False; UI.OverlayHideMultilapInfos = False; log(UI.OverlayHideEndMapLadderRecap ^" - "^ UI.OverlayHideMultilapInfos);
Re: In-game HUD settings mixup with <custom_ui>, script, XML
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.Eole wrote:It's only visible in the solo mode. It hides the medal/ghost selection UI in the campaign.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 was sent by my server controller with XmlRpc in a Manialink.Eole wrote: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?undef.de wrote: Btw.: This codeCode: Select all
UI.OverlayHideEndMapLadderRecap = False; UI.OverlayHideMultilapInfos = False; log(UI.OverlayHideEndMapLadderRecap ^" - "^ UI.OverlayHideMultilapInfos);
Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org
Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name
You like what I do? Then award a ManiaStar.
Visit the official website for more: UASECO.org
Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name
You like what I do? Then award a ManiaStar.
Re: In-game HUD settings mixup with <custom_ui>, script, XML
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);
Done.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.

Re: In-game HUD settings mixup with <custom_ui>, script, XML
Thanks, that works.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);

Developer of UASECO, a controller with support of the Modescript Gamemodes for TM².
Visit the official website for more: UASECO.org
Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name
You like what I do? Then award a ManiaStar.
Visit the official website for more: UASECO.org
Developer of various plugins for XAseco/XAseco2 and MPAseco, visit my lab: www.undef.name
You like what I do? Then award a ManiaStar.
Re: In-game HUD settings mixup with <custom_ui>, script, XML
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
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
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest