Frictional Games Forum (read-only)

Full Version: Blank screen instead of credit scroll
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For some reason my credits wont display, the music plays but I just get a black screen. Ive gone through what ive done and cant see any problems, any ideas? Here is my script + lang file (basically whats supposed to happen is you use a key on a door, the screen fades to black, you hear the door open, then the credits start):

Code:
void UnlockDoor(string &in asItem, string &in asEntity)
                    
            {
                SetPlayerMoveSpeedMul(0);
                SetPlayerRunSpeedMul(0);
                SetPlayerLookSpeedMul(0);
                FadeOut(6);
                PlaySoundAtEntity("", "lock_door", "castle_gate_arched01_1", 0, false);
                
                AddTimer("OPEN", 8, "OPEN");
            }
            
    void OPEN(string &in asTimer)
    
    {
            SetPlayerActive(false);
            PlaySoundAtEntity("", "door_large_castle_open.snt", "castle_gate_arched01_1", 0, false);
            AddTimer("ENDCREDITS", 4, "ENDCREDITS");
    }
        
    void ENDCREDITS(string &in asTimer)
    {
            FadeIn(0);
            StartCredits("ending_agrippa.ogg", false, "Ending", "MainCreds", 4);
    }

Code:
<CATEGORY Name="Ending">

<Entry Name="MainCreds">Escape from Brackenburg[br][br]

(snip)

Thank you for playing!</Entry>


</CATEGORY>
It needs to be "MainCredits". I'm pretty sure. Change the MainCreds to MainCredits and see what happens.
(06-01-2013, 02:16 PM)Pshyched Wrote: [ -> ]It needs to be "MainCredits". I'm pretty sure. Change the MainCreds to MainCredits and see what happens.

No it still doesnt work, I actually had it as MainCredits to start with, and tried shortening it to see if it would work.

EDIT: Ok it seems changing it to MainCredits does play the credits but not mine, the ones from the main game play instead...

EDIT2: FIXED! I made a schoolboy error and put my credits under the </LANGUAGE> tag. It works now Big Grin