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
Request Custom story ending help please.
interruption27 Offline
Junior Member

Posts: 3
Threads: 1
Joined: Jun 2012
Reputation: 0
#1
Custom story ending help please.

So, i did a custom story Troll Story which had lots of bugs glitches and so on. I couldn't make the end credits work on that. So im trying to advance some more. Would anyone help me whats wrong with this script? it doesn't crash or anything, it just doesn't respond and start the credits.

void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_4", "credits", true, 1);

}

void credits(string& asMusic, bool abLoopMusic, string& as TextCat, string& asTextEntry, int alEndNum)

{
StartCredits("ending_credits_skillet.ogg", false, "Ending", "demoending", 9001);
}

please help Tongue
06-24-2012, 06:02 PM
Find
MaZiCUT Offline
Senior Member

Posts: 536
Threads: 31
Joined: Jun 2012
Reputation: 17
#2
RE: Custom story ending help please.

You need to have a credits category in your extra_english.lang file.

Hi.
(This post was last modified: 06-24-2012, 06:05 PM by MaZiCUT.)
06-24-2012, 06:05 PM
Website Find
interruption27 Offline
Junior Member

Posts: 3
Threads: 1
Joined: Jun 2012
Reputation: 0
#3
RE: Custom story ending help please.

(06-24-2012, 06:05 PM)CrazyArts Wrote: You need to have a credits category in your extra_english.lang file.
<LANGUAGE>


<CATEGORY Name="Ending">

<Entry Name="demoending">Thank you for playing my Jail Escape Demo. Smile I hope you report all the bugs, glitches and laggs if you came across with them. The specific day of the full version publish day isn't decided yet but its gonna come soon! Smile Made by: Interruption27/Vilperi27 (Same person)
</Entry>

</CATEGORY>

</LANGUAGE>

thats my .lang category.
06-24-2012, 06:07 PM
Find
MaZiCUT Offline
Senior Member

Posts: 536
Threads: 31
Joined: Jun 2012
Reputation: 17
#4
RE: Custom story ending help please.

(06-24-2012, 06:07 PM)interruption27 Wrote:
(06-24-2012, 06:05 PM)CrazyArts Wrote: You need to have a credits category in your extra_english.lang file.




Thank you for playing my Jail Escape Demo. Smile I hope you report all the bugs, glitches and laggs if you came across with them. The specific day of the full version publish day isn't decided yet but its gonna come soon! Smile Made by: Interruption27/Vilperi27 (Same person)






thats my .lang category.


I'm not sure but i think the Ending category should be called Credits

Hi.
06-24-2012, 06:09 PM
Website Find
interruption27 Offline
Junior Member

Posts: 3
Threads: 1
Joined: Jun 2012
Reputation: 0
#5
RE: Custom story ending help please.

(06-24-2012, 06:09 PM)CrazyArts Wrote:
(06-24-2012, 06:07 PM)interruption27 Wrote:
(06-24-2012, 06:05 PM)CrazyArts Wrote: You need to have a credits category in your extra_english.lang file.




Thank you for playing my Jail Escape Demo. Smile I hope you report all the bugs, glitches and laggs if you came across with them. The specific day of the full version publish day isn't decided yet but its gonna come soon! Smile Made by: Interruption27/Vilperi27 (Same person)






thats my .lang category.


I'm not sure but i think the Ending category should be called Credits
didn't work :/

(06-24-2012, 06:09 PM)CrazyArts Wrote:
(06-24-2012, 06:07 PM)interruption27 Wrote:
(06-24-2012, 06:05 PM)CrazyArts Wrote: You need to have a credits category in your extra_english.lang file.




Thank you for playing my Jail Escape Demo. Smile I hope you report all the bugs, glitches and laggs if you came across with them. The specific day of the full version publish day isn't decided yet but its gonna come soon! Smile Made by: Interruption27/Vilperi27 (Same person)






thats my .lang category.


I'm not sure but i think the Ending category should be called Credits
i got it working now, i had to put one entity active so that scriptarea would react the player -.-"
(This post was last modified: 06-24-2012, 06:58 PM by interruption27.)
06-24-2012, 06:24 PM
Find




Users browsing this thread: 2 Guest(s)