Jump to content
  • 0

[Issue] Let us skip the Obsidian Intro Movie


Question

Posted (edited)

Please let us skip the Obsidian intro movie ... what's more here's the code to do it, courtesy of Bester.

 

The update method of the CompanyIntroManager needs to be changed to:

private void Update()
  {
    this.m_delay -= Time.deltaTime;
    if ((double) this.m_delay > 0.0 && (Input.GetMouseButtonDown(0) || Input.GetMouseButtonDown(1) || (Input.GetKeyDown(KeyCode.Escape) || Input.GetKeyDown(KeyCode.Return)) || Input.GetKeyDown(KeyCode.Space)))
    {
      this.IntroMovieManager.StopMovie();
      this.m_delay = 0.0f;
    }
    if (!this.m_started && (double) this.m_delay <= 0.0)
    {
      this.IntroMovieManager.PlayMovieAtPath("Movies/obsidian_intro", false);
      this.m_delay = this.IntroMovieManager.GetMovieDuration() + 1f;
      this.m_started = true;
    }
    else
    {
      if ((double) this.m_delay > 0.0)
        return;
      Debug.Log((object) "LOAD TO MAIN MENU.\n\n");
      Application.LoadLevel("MainMenu");
    }
  }
}
Edited by Sensuki

6 answers to this question

Recommended Posts

  • 0
Posted

Hello all,

 

Thank you for your postings. I have added this suggestion to our database so that it may be reviewed.

 

Thanks again for your ongoing support!  :thumbsup:

  • 0
Posted

That skips the "Pillars of Eternity presented by Obsidian Entertainment" but not the Obsidian logo before you get into the main screen.

  • Like 1
×
×
  • Create New...