In-game HUD settings mixup with <custom_ui>, script, XML-RPC
Posted: 25 Jul 2014, 21:17
As longer as i working on my controller, i think about the mixup how to setup the in-game hud in TM²:
With the <custom_ui> block we can turn on/off some of the in-game Panels/Widgets, but it seems that some of the settings takes no effects or some of the in-game Panels has been already removed:
With the XML-RPC Method UI_DisplaySmallScoresTable we can setup the <round_scores> of a <custom_ui> block.
With the script setting S_DisplayTimeDiff we can setup the TimeGap-Panel on a checkpoint.
------------------------------
So in my eyes it would be nice to change all of these to be changed only by a 'SetModeScriptSettings' call.
I already have wished something like this at New options for TM² UI.Script.txt, Options for MultilapLayer, Option for "RankingLayer" in Score in TM² Titles and WarmUp.Script.txt new options/possibilities.
That would clean-up the current mixup and gives us the controll over the HUD.
Please nadeo think about this.
With the <custom_ui> block we can turn on/off some of the in-game Panels/Widgets, but it seems that some of the settings takes no effects or some of the in-game Panels has been already removed:
Code: Select all
<custom_ui>
<global visible="true"/> // Works for all working settings below
<challenge_info visible="true"/> // Works
<chat visible="true"/> // Works
<scoretable visible="true"/> // Works
<notice visible="true"/> // No effect, because this messages are removed(?)
<net_infos visible="true"/> // No effect
<checkpoint_list visible="true"/> // No effect
<round_scores visible="true"/> // No effect -> UI_DisplaySmallScoresTable
</custom_ui>
With the script setting S_DisplayTimeDiff we can setup the TimeGap-Panel on a checkpoint.
------------------------------
So in my eyes it would be nice to change all of these to be changed only by a 'SetModeScriptSettings' call.
I already have wished something like this at New options for TM² UI.Script.txt, Options for MultilapLayer, Option for "RankingLayer" in Score in TM² Titles and WarmUp.Script.txt new options/possibilities.
That would clean-up the current mixup and gives us the controll over the HUD.
Please nadeo think about this.
