Frictional Games Forum (read-only)
make a note not accessible - 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: make a note not accessible (/thread-18196.html)



make a note not accessible - Lake - 09-07-2012

I want to place a note but I do not want this note is collected, or that a user approaches the note can not collect. In level editor put "static object" but the note is still collecting. How can I do?


RE: make a note not accessible - GoranGaming - 09-07-2012

You can't. You will have to create a new model that looks exactly the same and is not a note.


RE: make a note not accessible - Robby - 09-07-2012

(09-07-2012, 05:02 PM)GoranGaming Wrote: You can't. You will have to create a new model that looks exactly the same and is not a note.
Or try placing a blockbox on the note itself. It is in "technical" in the level editor. Invisible in-game, but visible in the editor. Not sure if this works, though.


RE: make a note not accessible - Kreekakon - 09-07-2012

(09-07-2012, 05:05 PM)Nemet Robert Wrote: Or try placing a blockbox on the note itself. It is in "technical" in the level editor. Invisible in-game, but visible in the editor. Not sure if this works, though.
It works, although it's not viable if you want the note to move for whatever reason.

If all you want is a "piece of paper" in your map, there are a few things which can substitute for that in the editor which are not notes.


RE: make a note not accessible - Kiwi2703 - 09-07-2012

(09-07-2012, 05:05 PM)Nemet Robert Wrote:
(09-07-2012, 05:02 PM)GoranGaming Wrote: You can't. You will have to create a new model that looks exactly the same and is not a note.
Or try placing a blockbox on the note itself. It is in "technical" in the level editor. Invisible in-game, but visible in the editor. Not sure if this works, though.
The blockbox won't work, but the Invisible_box_mass will Wink


RE: make a note not accessible - FlawlessHappiness - 09-07-2012

Or you could surround it by an area and make the area have an interact callback. With this callback you could provide a message like: "I should not read this right now"


RE: make a note not accessible - Robby - 09-07-2012

(09-07-2012, 05:58 PM)beecake Wrote: Or you could surround it by an area and make the area have an interact callback. With this callback you could provide a message like: "I should not read this right now"
That won't stop players from reading the note, though. You CAN still pick it up, but to do that, you just need to be inside the script zone that you can interact with. It happened to me.


RE: make a note not accessible - Your Computer - 09-07-2012

Putting down the DAE file that represents the note should have worked, but there's also SetEntityInteractionDisabled.


RE: make a note not accessible - FlawlessHappiness - 09-07-2012

(09-07-2012, 05:59 PM)Nemet Robert Wrote:
(09-07-2012, 05:58 PM)beecake Wrote: Or you could surround it by an area and make the area have an interact callback. With this callback you could provide a message like: "I should not read this right now"
That won't stop players from reading the note, though. You CAN still pick it up, but to do that, you just need to be inside the script zone that you can interact with. It happened to me.
Not if the note is on a table, and the area is only just covering the note... The player would not be able to get inside the area


RE: make a note not accessible - Theforgot3n1 - 09-08-2012

(09-07-2012, 07:03 PM)Your Computer Wrote: Putting down the DAE file that represents the note should have worked, but there's also SetEntityInteractionDisabled.
Just use SetEntityInteractionDisabled on the note and it's fixed.

That's what I did on my first map.