Frictional Games Forum (read-only)
How to make credits, - 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: How to make credits, (/thread-23397.html)



How to make credits, - Pandachoko - 09-26-2013

Hi, So I am done with my story, I need some credit at the end can someone help me out this one last time, then I will become a ghost on this forum lol..

So don't below I you will see what I called the different thing, if you can't read it let me write down here:

Map is called: theend.map
Where it should load to: theend.map (A youtuber told to do it)

Note to those who will help:

This credit scripting is the only scripting needed in the area, so can someone help me out with this please. Thank you. Write down below what there should stand, I want when people press on the door, the map will be completed. It isn't that a hard script but can't figure out, I am a new developer, and is just started developing. But thanks

PS. When the credits is rolling, I want a music in the background, I really want that code function in the script



Sorry my grammar! Big Grin


RE: How to make credits, - DnALANGE - 09-26-2013

This could help :

SetEntityPlayerInteractCallback("EXIT" ,"TOUTCHLEVELDOOR", true);


void TOUTCHLEVELDOOR(string &in asEntity)
{
StartCredits("YOURCREDITMUSICHERE.ogg", false, "Ending", "ENDOFMYSTORY", 111);
}

OR use this, i see you have EXIT there :

void EXIT(string &in asEntity)
{
StartCredits("YOURCREDITMUSICHERE.ogg", false, "Ending", "ENDOFMYSTORY", 111);
}

READ THIS :
ENDING -> MUST be ending!
This should look like in your .english file :

</CATEGORY>


<CATEGORY Name="Ending">
<Entry Name="ENDOFMYSTORY">YOUR TEXT IN HERE FOR CREDITS</Entry>
</CATEGORY>


RE: How to make credits, - Pandachoko - 09-26-2013

WOW Thanks, you rock! Smile


RE: How to make credits, - Pandachoko - 09-26-2013

It worked so good, that your name in the forums will be in credits in my custom story, a appreciation for helping me out, so thanks!!!
Your name will be under: Script: THANKS!! my custom story is 95 % ! Big Grin now I just need to fix some errors in the notes and it will be good to go! Smile
Note: The custom story, is not that huge again, the story was a story I made 5 years ago, and decided it worked well in Amnesia,, SO THANK YOU!
dont forget to look at your awesome name once it is up! Smile HAVE A NICE DAY! Big Grin

you forum name: DnALANGE

(09-26-2013, 06:06 PM)DnALANGE Wrote: This could help :

SetEntityPlayerInteractCallback("EXIT" ,"TOUTCHLEVELDOOR", true);


void TOUTCHLEVELDOOR(string &in asEntity)
{
StartCredits("YOURCREDITMUSICHERE.ogg", false, "Ending", "ENDOFMYSTORY", 111);
}

OR use this, i see you have EXIT there :

void EXIT(string &in asEntity)
{
StartCredits("YOURCREDITMUSICHERE.ogg", false, "Ending", "ENDOFMYSTORY", 111);
}

READ THIS :
ENDING -> MUST be ending!
This should look like in your .english file :

</CATEGORY>


<CATEGORY Name="Ending">
<Entry Name="ENDOFMYSTORY">YOUR TEXT IN HERE FOR CREDITS</Entry>
</CATEGORY>






It worked so good, that your name in the forums will be in credits in my custom story, a appreciation for helping me out, so thanks!!!
Your name will be under: Script: THANKS!! my custom story is 95 % ! Big Grin now I just need to fix some errors in the notes and it will be good to go! Smile
Note: The custom story, is not that huge again, the story was a story I made 5 years ago, and decided it worked well in Amnesia,, SO THANK YOU!
dont forget to look at your awesome name once it is up! Smile HAVE A NICE DAY! Big Grin

you forum name: DnALANGE