Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ending and credits
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#11
RE: Ending and credits

<CATEGORY Name="Ending">
<Entry Name="Credits">Test Credts[br][br]Testing[br]test[br]testing the ending credits.</Entry>
</CATEGORY>
</LANGUAGE>

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

07-24-2011, 05:38 PM
Website Find
Khyrpa Offline
Senior Member

Posts: 638
Threads: 10
Joined: Apr 2011
Reputation: 24
#12
RE: Ending and credits


CheckPoint ("EndGame", "Player_Start", "StartCredits", "DeathHintCategory", "DeathHintEntry");
}
void StartCredits(string &in asName, int alCount)
{
StartCredits("musicfile.ogg" , true , "Ending" , "Credits" , 1);
}

you had those wrong way around :u

asTextCat - the category to be used in the .lang file (must be “Ending”)
asTextEntry - the entry in the .lang file (must be “MainCredits”)

not sure if you gotta rename both Credits to MainCredits, cos wiki says so... try them out
07-24-2011, 05:43 PM
Find
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#13
RE: Ending and credits

Guhhh... Still fades to black with no credit roll, current script is:
EXTRA ENGLISH READS:

<CATEGORY Name="Ending">
<Entry Name="MainCredits">The credits text</Entry>
</CATEGORY>
</LANGUAGE>

LEVEL HPS:
CheckPoint ("EndGame", "Player_Start", "StartCredits", "DeathHintCategory", "DeathHintEntry");
}
void StartCredits(string &in asName, int alCount)
{
StartCredits("musicfile.ogg" , true , "Ending" , "Credits" , 1);
}

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

(This post was last modified: 07-24-2011, 06:04 PM by JetlinerX.)
07-24-2011, 06:03 PM
Website Find
Khyrpa Offline
Senior Member

Posts: 638
Threads: 10
Joined: Apr 2011
Reputation: 24
#14
RE: Ending and credits

StartCredits("musicfile.ogg" , true , "Ending" , "MainCredits" , 1);

of course it has to be exactly the same as in
<Entry Name="MainCredits">
07-24-2011, 08:07 PM
Find
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#15
RE: Ending and credits

YES! That worked, but its the Frictional Games credits, not mine Sad

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

07-24-2011, 08:13 PM
Website Find
Khyrpa Offline
Senior Member

Posts: 638
Threads: 10
Joined: Apr 2011
Reputation: 24
#16
RE: Ending and credits

erm... Ah... change the Ending and MainCredits to whatever else, cos it seems like they direct the thing into the actual games lang file or something...

For example
<CATEGORY Name="End123">
<Entry Name="CreditText">The credits text</Entry>
</CATEGORY>
</LANGUAGE>

StartCredits("musicfile.ogg" , true , "End123" , "CreditText" , 1);
07-24-2011, 08:17 PM
Find
JetlinerX Offline
Senior Member

Posts: 599
Threads: 49
Joined: Jun 2011
Reputation: 19
#17
RE: Ending and credits

Your a God. I added you to the credits, here is the link for the demo of the story:

http://www.gamefront.com/files/20592221/...c+DEMO.rar

Thanks for all your amazing help!

Lead Developer of "The Attic"
~Slade Mitchell

Chapter 3 (REL)

07-24-2011, 08:31 PM
Website Find




Users browsing this thread: 4 Guest(s)