[Solved]Can't seem to get the intro working online.

Talk about the MediaTracker here

Moderator: English Moderator

User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: Can't seem to get the intro working online.

Post by Knutselmaaster »

On dedi, no intro neither.
So my MT work might be ok after all.
But there is something blocking it.
Is it a bug or a setting?
User avatar
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: Can't seem to get the intro working online.

Post by Eole »

You're right about this line:

Code: Select all

UIManager.UIAll.UISequence = CUIConfig::EUISequence::Intro;
It plays the Intro, but without this line:

Code: Select all

wait(UIManager.UIAll.UISequenceIsCompleted);
The Intro is just skipped without having the time to play. I'll edit the the Battle script to correct that. I'll review the other game modes too to see if the intros work.
Thanks for the report.
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: Can't seem to get the intro working online.

Post by Knutselmaaster »

So if i just add

Code: Select all

wait(UIManager.UIAll.UISequenceIsCompleted);
in the line after

Code: Select all

UIManager.UIAll.UISequence = CUIConfig::EUISequence::Intro;
it will work?
I'll try that right away when i come home this afternoon.
Thanks, i really needed the intro, as it gives instructions on my maps.



Edit: IT WORKS!
(sorry)
Thanks! :1010 :thumbsup:

Edit2:
But only for a few seconds, (i think only during syncronisation) :(
Fix
Nadeo
Nadeo
Posts: 1256
Joined: 14 Jun 2010, 17:28

Re: [almost Solved]Can't seem to get the intro working onlin

Post by Fix »

:clap: :yes: :thx:
User avatar
Eole
Nadeo
Nadeo
Posts: 1265
Joined: 26 Apr 2011, 21:08

Re: [almost Solved]Can't seem to get the intro working onlin

Post by Eole »

Mmmh, how long is your intro? I suppose you didn't press any key or something like that during the intro?
I know there's some kind of mechanism to prevent an intro to be played indefinitely, maybe that's what cut yours before the end.
Contribute to the ManiaPlanet documentation on GitHub
A question about ManiaScript? Ask it here!
User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: [almost Solved]Can't seem to get the intro working onlin

Post by Knutselmaaster »

They're about 2 minutes in full color :)
Can i give a time value to the wait command?
I don't remember having that problem on TM before, limited intro time on servers...
User avatar
xbx
Nadeo
Nadeo
Posts: 1289
Joined: 14 Jun 2010, 17:35

Re: [almost Solved]Can't seem to get the intro working onlin

Post by xbx »

Knutselmaaster wrote:They're about 2 minutes in full color :)
Can i give a time value to the wait command?
I don't remember having that problem on TM before, limited intro time on servers...

The rationale for the 30s limit is that as everybody has to be ready for the game to start (which is not the case in TA..),
it would make everyone wait on the start line for a too long time while waiting for the last player to see the intro.

I could increase the maximum timeout or remove it and use all the map intro duration. But then 2mn seems a bit long the second time you play the map, and forever when it's the third time ;)
I'll think about it to see if I come up with a satisfactory solution.
User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: [almost Solved]Can't seem to get the intro working onlin

Post by Knutselmaaster »

I understand now, thanks for your explanation.
Indeed it would be very annoying to be forced to wait.
But, now that i know that it is done deliberately, and cannot be bypassed, i don't really mind.
Once you know the boundaries, you can work with them :)
I simply make a short intro, with some basic info, explaining that when you wait at spawn (TM GPS style) you can get detailed information.
Normally i can simply save the intro sequence, and load it into the ingame MT so it won't take long.
Post Reply

Return to “MediaTracker”

Who is online

Users browsing this forum: No registered users and 0 guests