Frictional Games Forum (read-only)
Pages Falling Out Of Journal - 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: Pages Falling Out Of Journal (/thread-24461.html)



Pages Falling Out Of Journal - 7heDubz - 01-26-2014

So i want some pages to fall out of a journal... Here's what i need exactly.

How to check if a note has been picked up.
so that i can then set a bunch of pages active for the player to pick up.

Need more info? Have an idea on how Im going to do this? I dont script often and i looked around in the scripts but i couldnt find what i was looking for.

Another question, for the CheckIfEntitiyExists function (probably not that exactly) What EXACTLY does that mean. If i have an entity set to false will that still return true?


RE: Pages Falling Out Of Journal - Traggey - 01-26-2014

Please make sure you post in the right section of the forums.


RE: Pages Falling Out Of Journal - 7heDubz - 01-26-2014

Sorry Traggey Q.Q


RE: Pages Falling Out Of Journal - Romulator - 01-26-2014

As far as I know, you can't really do anything there about your Journal... I don't think at any time in Amnesia itself had you ever needed to lose pages in your journal, even after the grunts attack you and throw you into the cage. Unless you FC a way to disable your journal perhaps after picking up a note, then later on finding the same note in a similar area to make it look like you dropped it.

Also, what you're talking about (I think) is this:
PHP Code:
GetEntityExists(stringasName); 

I have never tested it, but I will assume that a name you assign something in the Level Editor is what goes into as a string. This was probably used (unless local/global vars were) when Daniel would pick up parts of a diary (where he would read) and it would determine which of the three you had picked up. Again, just an assumption. Haven't looked at those codes.


RE: Pages Falling Out Of Journal - 7heDubz - 01-26-2014

Ah, Not lose pages in the journal that you have already picked up think more, you pick up a journal and pages literally fall out of it.


RE: Pages Falling Out Of Journal - Traggey - 01-26-2014

That'd be a particle system, create one using the particle editor.


RE: Pages Falling Out Of Journal - 7heDubz - 01-26-2014

Okay lemme be more clear.

I have the book made. You pick it up. then a bunch of pages beneath it on the floor become active.


RE: Pages Falling Out Of Journal - ingedoom - 01-26-2014

You want to use the model editor and turn a book into an item that can be picked up, then use the onPickup() function to make all the journal pages become active underneath.

Okay? - I think I understood it correctly?

Edit: Look up "void SetEntityCallbackFunc(string& asName, string& asCallback);" in the reference.


RE: Pages Falling Out Of Journal - 7heDubz - 01-26-2014

Ahhh thankyou very much yes!