Page 1 of 2

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

Posted: 29 Jul 2012, 13:36
by Knutselmaaster
When i make an intro in Storm, it doesn't automatically start on my server when the track has loaded.
Do i do something wrong, did i forget about a setting, or is it just not working (yet)?
Please help me :(

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

Posted: 29 Jul 2012, 20:48
by TMarc
is the server configured to skip intros?
Does it appear if you do a local server? Or is it only a issue on dedicated server?

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

Posted: 29 Jul 2012, 21:59
by Knutselmaaster
Can servers be configured to skip? i did not know that.
It is both dedi and ingame.

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

Posted: 29 Jul 2012, 22:00
by TMarc
no it was only a silly idea :mrgreen:

If it is both --> bug

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

Posted: 30 Jul 2012, 04:49
by Knutselmaaster
I did not file a bugreport, as i think it would have been discovered already because intros are a common used thing.

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

Posted: 30 Jul 2012, 11:30
by Fix
I saw intros working on some of papychampy's maps in previous SM tournaments, so this might be a bug, can you try to confirm the scenario please ?
thanks

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

Posted: 30 Jul 2012, 12:36
by Knutselmaaster
Yea, i'm very eager to find out.
I will try a map from MX with intro to see if it is just me.
Maybe i'm just doing it wrong, i haven't used the MP MediaTracker before, and i do it the same as i used to do in TM(F).
There isn't a checkbox "play automatically" somewhere that i oversaw?
Anyways, i'm on it ^^

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

Posted: 30 Jul 2012, 14:48
by Eole
The script of the game mode can decide to play or not the Intro/Outro. On which mode did you test your map?
I'm pretty sure it should work on Elite at least, and on most of the other modes too but I didn't tested it.

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

Posted: 30 Jul 2012, 15:00
by Knutselmaaster
It is a battlewaves server.
I'll try it on other gamemodes to see, thanks for the hint.
If i cannot get it to work, i will try it with the "ingame" mediatracker, i'll place the trigger right in the respawn, with "not played yet" as restriction, that gives almost the same experience.

Edit:
I found this in the ManiaScript documentation, but i don't know how to use it, i'm not even sure if it is what i need:

In the index i found:
Doc wrote:Intro : CUIConfig
And that is:
Doc wrote:enum CUIConfig::EUISequence

Enumerator: None
Playing
Intro
Outro
Podium
CustomMTClip
EndRound
PlayersPresentation
Edit2:
enum CUIConfig::EUISequence is not in the battlewaves script...

Edit3:

In the Battle script (the battlewaves script extends it in fact) i found the intro and it seems to be called:

Code: Select all

/* -------------------------------------- */
// Match/Map begin
/* -------------------------------------- */
		Mode::LoadMap();
				
		Top::MatchBegin();
		Score::MatchBegin(False);	
		Airshot::MatchBegin();
		BalancedWeapons::MatchBegin();
		Victory::MatchBegin();
		if (S_AutoBalance) AutoTeamBalance();
		Mode::Ladder_OpenMatch_All();
		+++MatchBegin+++
		
		declare Round = 0;				
		
		UIManager.ResetAll();
		UIManager.UIAll.UISequence = CUIConfig::EUISequence::Intro;
		UIManager.UIAll.SendNotice(
			_("New match"), CUIConfig::ENoticeLevel::MatchInfo, 
			Null, CUIConfig::EAvatarVariant::Default, 
			CUIConfig::EUISound::StartRound, 0
		);
		
		ClanScores[1] = 0;
		ClanScores[2] = 0;	
		while (Victory::NoMatchWinner() && !MatchEndRequested) 
So it must be my map, i'll search a map with intro to test on my server.

Edit4:
On ingame server with a map from MX (with intro), nothing shows.
I try the dedi this evening.

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

Posted: 30 Jul 2012, 18:54
by TMarc
Lol so my first guess without really knowing it was good :yes: ... perhaps :mrgreen: