Esempio n. 1
0
    public void NextBootWindow()
    {
        button.SetActive(false);
        t.del             = 0.02f;
        buttonShouldSpawn = false;
        buttonHasSpawned  = false;
        ipf.gameObject.SetActive(false);
        hasBooted = true;

        ClearBootText();
        GlitchManager.instance.GlitchScreenOnCommand(0.4f);

        switch (bootSeq)
        {
        case 0:

            t.textToDisplay          = "----- SEQUENCE TERMINATED -----¤Invalid Argument Error: Query exceeds data string count. Exiting…¤…Done.";
            buttonText.textToDisplay = "[Load Site] ";
            rollTime = 3f;
            break;

        case 1:
            SoundManager.instance.startProcessSound.Play();
            t.textToDisplay          = "Loading process.contamination              ¤Accessing system files           ¤3-8 Ready ¤2-7 Ready ¤1-9 Ready  ¤7-4 Ready     ¤Filling memory banks... ... ...Done.";
            buttonText.textToDisplay = "[Access Site] ";
            rollTime = 5f;
            break;

        case 2:
            t.textToDisplay = "Loading surveySite.sat    ¤Requesting access… Granted. ¤Server ready.        ¤Sending Message  ¤:: Hello ::          ¤…            ¤…         ¤No response from Site.                                   ¤¤Sending Message ¤:: Status(Caudden) ::  ¤Response:    ¤:: Dead ::";
            rollTime        = 8f;
            break;

        case 3:
            t.textToDisplay = "POI Requested… Searching...   ¤1 POI Found...  ¤Name: Sauddoc Village  ¤Marked of Interest: Eravola Outbreak Reported   ¤Investigate?";
            rollTime        = 4f;
            break;

        case 4:
            t.textToDisplay = "Requesting Access... Access Granted.  ¤Loading POI...  ¤Processing site... ... Done.  ¤Loading status… Done. ¤Checking Population in area... Done. 0 Person(s) present.  ¤Activating Probe... Done.¤Finding Marks of Relevance... Done.  ¤Loading descriptions... Done.   ¤Loading Natural Language Interface... Done.";
            rollTime        = 4f;
            break;

        case 5:
            ActivateSearchMode();
            break;
        }

        if (!inSearchMode)
        {
            t.shouldStopRolling          = false;
            buttonText.shouldStopRolling = false;

            //buttonText.Start();
            t.Start();

            bootSeq++;
        }
    }
Esempio n. 2
0
 public void StartReboot()
 {
     SoundManager.instance.StopAmbients();
     canvasManager.instance.ActivateCanvas(canvasManager.instance.bootCanvas);
     GlitchManager.instance.GlitchScreenOnCommand(5f, 2f);
     SoundManager.instance.warningSound.Play();
     t.textToDisplay = "";
     text.text       = "";
     buttonText.gameObject.GetComponent <Text> ().text = "";
     buttonText.shouldStopRolling = true;
     buttonText.StopCoroutine(buttonText.RollText());
     button.SetActive(true);
     buttonText.del           = 0.04f;
     buttonText.textToDisplay = ": : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : :N: : : :X:T";
     buttonText.Start();
     SoundManager.instance.workSound.Play();
 }