Page 1 of 1

Interface track doesn't work on MT

Posted: 30 Nov 2014, 21:06
by djhubertus
As title says, I'm trying to put this manialink

Code: Select all

<quad posn="0 78.5 0" sizen="128 12" image="file://Media/Manialinks/Common/metalbar1.png" modulatecolor="9B1616FF" halign="center"/>
<quad posn="-45 77 1" sizen="15 7" halign="center" image="file://Media/Manialinks/Common/metalbar1.png" modulatecolor="B7AEAEFF"/>
<quad posn="-30 77 1" sizen="15 7" halign="center" image="file://Media/Manialinks/Common/metalbar1.png" modulatecolor="B7AEAEFF"/>
<quad posn="-15 77 1" sizen="15 7" halign="center" image="file://Media/Manialinks/Common/metalbar1.png" modulatecolor="B7AEAEFF"/>
<quad posn="0 77 1" sizen="15 7" halign="center" image="file://Media/Manialinks/Common/metalbar1.png" modulatecolor="B7AEAEFF"/>
<quad posn="15 77 1" sizen="15 7" halign="center" image="file://Media/Manialinks/Common/metalbar1.png" modulatecolor="B7AEAEFF"/>
<quad posn="30 77 1" sizen="15 7" halign="center" image="file://Media/Manialinks/Common/metalbar1.png" modulatecolor="B7AEAEFF"/>
<quad posn="45 77 1" sizen="15 7" halign="center" image="file://Media/Manialinks/Common/metalbar1.png" modulatecolor="B7AEAEFF"/>
in specific position, so I put starters etc. and it doesn't work, then I tried to put image track and image is displayed, manialink not.

Re: Interface track doesn't work on MT

Posted: 01 Dec 2014, 12:08
by noyranea
Hello djhubertus,

it appears that the problems with your manialink are the missing <manialink> </manialink> tags.

Since those are necessary tags for your interface to be displayed, they will be automatically added (with version="2") around the manialink text you enter in the script box (after one of the next updates).

Until then, an easy workaround is to add those tags to your manialink.

Have a nice day,

-- noyranea

Re: Interface track doesn't work on MT

Posted: 01 Dec 2014, 17:32
by djhubertus
Thank you noyranea, now it works :D

I have also one question: Can I use manialink script to for example send data to the player on server?

Re: Interface track doesn't work on MT

Posted: 01 Dec 2014, 17:46
by noyranea
Hmm, I guess this question belongs to the ManiaScript forum, where other players will be able to see the answer.

Could you post there, while adding more details :
What do you mean by "send data to the player on server" ? What kind of data would you like to send ? In which situation ? Etc...

The clearer the question, the better the answer :)

See you there !