Frictional Games Forum (read-only)

Full Version: make a note not accessible
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
You can't. You will have to create a new model that looks exactly the same and is not a note.
(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.
(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.
(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
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"
(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.
Putting down the DAE file that represents the note should have worked, but there's also SetEntityInteractionDisabled.
(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
(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.