Page 2 of 3

Re: Changing the HUD with Interface Designer. Is it possible

Posted: 28 Jul 2015, 20:00
by Mandark
From what you wrote, I understand the whole procedure, so thanks a lot for that :thx:

However there is one obstacle. When I open mode editor there is almost nothing..
http://i.imgur.com/ew2SfAq.png

Re: Changing the HUD with Interface Designer. Is it possible

Posted: 28 Jul 2015, 20:05
by Dommy
Make sure you do everything on local server (host ingame) using TimeAttack.Script.txt

Re: Changing the HUD with Interface Designer. Is it possible

Posted: 28 Jul 2015, 21:05
by Mandark
Alright, one more problem and it's finally over. I finished with modifying the script and followed every step.
But now when I make a server and want to use my custom script it tells me that the file name is incorrect. It is TimeAttacKGreenHUD.Script.txt

Re: Changing the HUD with Interface Designer. Is it possible

Posted: 28 Jul 2015, 21:09
by TMarc
perhaps the K is the problem? TimeAttacKGreenHUD.Script.txt :arrow: TimeAttackGreenHUD.Script.txt ?

In case you added the script name somewhere else...

Re: Changing the HUD with Interface Designer. Is it possible

Posted: 28 Jul 2015, 21:14
by Dommy
Make sure you copied all the scripts you changed to the server's UserData directory. :mrgreen:

Re: Changing the HUD with Interface Designer. Is it possible

Posted: 28 Jul 2015, 21:36
by Mandark
Where would that be by default? :D

edit: @TMarc, I'm sorry, this was a typo I made on this thread. In game I didn't use capital K

Re: Changing the HUD with Interface Designer. Is it possible

Posted: 28 Jul 2015, 21:42
by Dommy

Code: Select all

<dedicated root catalog>/UserData/Scripts/Modes/TrackMania

Re: Changing the HUD with Interface Designer. Is it possible

Posted: 28 Jul 2015, 22:14
by Mandark
The speed and distance changes worked perfectly. The timer however, did not:
http://i.imgur.com/VeYw8df.png

The script:
http://i.imgur.com/IN6jfGW.png

EDIT: There is also one trap there. I made a test title pack with one solo track, but it was behaving exactly like a multiplayer game. In a normal solo campaign, after you finish a track you get the option to save the replay, improve, and go to menu, but with my test campaign it made me repeat the track again (like in Multiplayer).

Also in the editor the hud went normal again.

Re: Changing the HUD with Interface Designer. Is it possible

Posted: 28 Jul 2015, 23:11
by Dommy
Chrono has part in its script that changes its color depending on the race status (casual > white, warmup > orange, official race > green).

And youre only changing the Time Attack mode, not game engine / editor built-in validate function.

Re: Changing the HUD with Interface Designer. Is it possible

Posted: 28 Jul 2015, 23:24
by Mandark
So it's not possible to change the hud in solo mode?