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
How do you start your own Credits?
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#1
How do you start your own Credits?

Pretty much the title


void OnStart()
{
AddEntityCollideCallback("Player" , "ScriptArea_1" , "MonsterFunc1" , true , 1);
}

void MonsterFunc1(string &in asParent , string &in asChild , int alState)
{
StartCredits( "", false, "Ending", "MainCredits", 0);
}

It starts the credits but it stars the Amnesia ending credits, not the one in my extra_english.lang?




hi


thats what's in my extra_english.lang
(This post was last modified: 10-15-2011, 02:53 AM by flamez3.)
10-15-2011, 01:15 AM
Find
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#2
RE: How to start credits after entering a door?

I would do this.
- Lock the Door in the editor
- SetEntityPlayerInteractCallback
- StartCredits

10-15-2011, 01:37 AM
Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#3
RE: How to start credits after entering a door?

EDIT

Look at OP
(This post was last modified: 10-15-2011, 02:21 AM by flamez3.)
10-15-2011, 01:42 AM
Find
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#4
RE: How do you start your own Credits?

Make sure in your extra_english.lang looks something like this

<LANGUAGE>
<CATEGORY Name="Ending">
<Entry Name="MainCredits">Insert your credits here</Entry>
</CATEGORY>
</LANGUAGE>

10-15-2011, 05:01 AM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#5
RE: How do you start your own Credits?

Just for safety's sake. I would change the name of "Ending" and "MainCredits" to something else like... "Super_Ending" and "Super_Credits". It could be reading something else >>
10-15-2011, 12:59 PM
Find
Juby Away
Senior Member

Posts: 290
Threads: 2
Joined: May 2011
Reputation: 5
#6
RE: How do you start your own Credits?

(10-15-2011, 12:59 PM)Statyk Wrote: Just for safety's sake. I would change the name of "Ending" and "MainCredits" to something else like... "Super_Ending" and "Super_Credits". It could be reading something else >>


It has to be that for it to work actually (MainCredits and Ending).

This may or may not be an issue but: StartCredits( ""
(the space before the "")

Insanity. Static.
(This post was last modified: 10-15-2011, 07:26 PM by Juby.)
10-15-2011, 07:19 PM
Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#7
RE: How do you start your own Credits?

(10-15-2011, 07:19 PM)Juby Wrote:
(10-15-2011, 12:59 PM)Statyk Wrote: Just for safety's sake. I would change the name of "Ending" and "MainCredits" to something else like... "Super_Ending" and "Super_Credits". It could be reading something else >>


It has to be that for it to work actually (MainCredits and Ending).

This may or may not be an issue but: StartCredits( ""
(the space before the "")


I followed the tut I found, and it said i had to do what your saying (maincredits and ending) but then it just loads the Amnesia ending credits, not my custom one?

10-15-2011, 10:22 PM
Find




Users browsing this thread: 1 Guest(s)