Frictional Games Forum (read-only)
How to make an emotional stone script? - 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 an emotional stone script? (/thread-24524.html)



How to make an emotional stone script? - Radical Batz - 02-02-2014

You know what's an emotional stone, the cylinder stone thing with a blue jewel on top and when you touch it, it fades into white and gets a message. I want to make that in my custom story since it's a boy who remmbers something about this uspicious castle when he was a kid.!

Pls give me the whole code for it and I will put the names and etc pls. thanks Smile

and give me instructions pls of what I have to do in the level editor and lang and stuff.


RE: How to make an emotional stone script? - i3670 - 02-03-2014

go into the level_editor. It's under entities > gameplay > emotion_stone.

TextCat - the catergory of the text shown example: Journal, descriptions, whatever (Here)

TextEntry - the name of the text shown (ThisRightHere)



<CATEGORY Name="Here">
<Entry Name="ThisRightHere">Whatever text you want shown</Entry>
</CATEGORY>


RE: How to make an emotional stone script? - FlawlessHappiness - 02-03-2014

Or use:

PHP Code:
void StartEffectEmotionFlash(stringasTextCatstringasTextEntrystringasSound); 

if you don't want to use the specific entity