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
Script Help!
HplGeek Offline
Junior Member

Posts: 17
Threads: 8
Joined: Sep 2011
Reputation: 0
#1
Script Help!

Hi! Big Grin

Need help with a script.
I want a Credit roll to start once the Game starts up.
Need this for my intro.

Have been searching for a while in the main amnesia>redits>Maps
But never found such script. And no Credits category in the .lang file.

Maybe this is too much to ask for,
but i need a Credits Scipt for the .Hps file.
And the Category in the .Lang file. As i am not sure whats needed in the .Lang file i need it too.

Thanks for taking your time reading this Tongue
(This post was last modified: 09-15-2011, 01:04 PM by HplGeek.)
09-15-2011, 12:55 PM
Find
Obliviator27 Offline
Posting Freak

Posts: 792
Threads: 10
Joined: Jul 2011
Reputation: 66
#2
RE: Script Help!

void StartCredits(string& asMusic, bool abLoopMusic, string& asTextCat, string& asTextEntry, int alEndNum);
   Starts the end credits screen.    asMusic - the music to play (including .ogg)
  abLoopMusic - determines whether the music should loop
  asTextCat - the category to be used in the .lang file (must be “Ending”)
  asTextEntry - the entry in the .lang file (must be “MainCredits”)
  alEndNum - Amnesia has 3 different endings and displays a code  at the bottom. Determines which code is displayed. 0-2 will display  codes, any other integer will not.

http://wiki.frictionalgames.com/hpl2/amn..._functions
^ That link there is your holy bible of script functions. It tells you basically all you need to know. Smile

09-15-2011, 02:36 PM
Find
HplGeek Offline
Junior Member

Posts: 17
Threads: 8
Joined: Sep 2011
Reputation: 0
#3
RE: Script Help!

(09-15-2011, 02:36 PM)Obliviator27 Wrote:
void StartCredits(string& asMusic, bool abLoopMusic, string& asTextCat, string& asTextEntry, int alEndNum);
   Starts the end credits screen.    asMusic - the music to play (including .ogg)
  abLoopMusic - determines whether the music should loop
  asTextCat - the category to be used in the .lang file (must be “Ending”)
  asTextEntry - the entry in the .lang file (must be “MainCredits”)
  alEndNum - Amnesia has 3 different endings and displays a code  at the bottom. Determines which code is displayed. 0-2 will display  codes, any other integer will not.

http://wiki.frictionalgames.com/hpl2/amn..._functions
^ That link there is your holy bible of script functions. It tells you basically all you need to know. Smile
Thanks Alot Big Grin
09-15-2011, 04:47 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#4
RE: Script Help!

I'd recommend to use your own credits system for the beginning of the game.

Tutorials: From Noob to Pro
09-15-2011, 04:54 PM
Website Find




Users browsing this thread: 1 Guest(s)