Frictional Games Forum (read-only)
[CHAOS] Blank screen instead of credit scroll - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [CHAOS] Blank screen instead of credit scroll (/thread-21697.html)



Blank screen instead of credit scroll - serbusfish - 06-01-2013

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>



RE: Blank screen instead of credit scroll - Pshyched - 06-01-2013

It needs to be "MainCredits". I'm pretty sure. Change the MainCreds to MainCredits and see what happens.


RE: Blank screen instead of credit scroll - serbusfish - 06-01-2013

(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