Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Moving Shelf Using Secret Books
SonOfLiberty796 Offline
Senior Member

Posts: 371
Threads: 39
Joined: Aug 2011
Reputation: 2
#6
RE: Moving Shelf Using Secret Books

(06-18-2012, 02:13 PM)andyrockin123 Wrote: SetMoveObjectState is all you need. 1 refers to the "open" position of something (activated), and 0 refers to the "closed" position of something (inactivated); 0 is the starting position of a given entity unless otherwise changed via the level editor.

Also, there are 4 different types of secret moving shelves:

shelf_secret_door.ent

shelf_secret_door_interact.ent

shelf_secret_door_joint.ent

shelf_secret_door_rot.ent


make sure yours is not interact, joint, or rot. (based on the issue you described, it seems you are using a rotating shelf and have no AngularOffsetArea).

Make sure you're using "shelf_secret_door.ent"; this specific shelf moves left/right when the SetMoveObjectState is changed to 1.

SilentHideButFine's copy and paste of the shelf puzzle in game isn't very helpful to you; it is a somewhat advanced script that deals with the movement of the books and the effects for the puzzle, rather than the actual movement of the secret shelf.


So quick overview:
-Use shelf_secret_door.ent
-Use SetMoveObjectState and set it to 1 to "activate" the secret shelf

Alternatively, if you're interested in the other types of shelves, I am only familiar with a few; if you use the "Rotate" (rot) shelf, you need to go into the level editor and place a script area roughly the same length and height of the bookshelf, and put this area wherever you the bookshelf to "hinge" at, or rotate around. In the bookshelves options, make sure to put the name of the script area in the box under "AngularOffsetArea".

Hope that helped!
Dude. You don't know how much I love you. *kid voice* You're my new friend *end kid voice* lol :p
Thank you SO much! What you wrote is pretty much a guide! You should publish this in the tutorials section of the wiki page.

And yeah, the script looked like it was more about the puzzle itself more than the shelf :p not to mention it had all these numbers and symbols and what not that I have not learned.

I'll try out what you said and come back with the results; I'm pretty sure what you said will work Smile

EDIT: Hmm.. it's still doing the exact same thing. I was really sure that it would finally work, but it didn't :/ I did use the "shelf_secret_door.ent" and made sure I didn't click on or use the other three shelfs...

However, what I find strange is that the "shelf_secret_door.ent" (the one you're telling me to use), is it still has the option for an "AngularOffsetArea". I even checked on the original Amnesia map, Archives, and the shelf they are using is the exact same; it also has that "AngularOffestArea" option.

I'll keep testing and see what's up... something isn't right here. But yeah, to conclude, I'm still having the same problem :/
(This post was last modified: 06-18-2012, 07:44 PM by SonOfLiberty796.)
06-18-2012, 07:29 PM
Find


Messages In This Thread
RE: Moving Shelf Using Secret Books - by Dutton - 06-18-2012, 07:04 AM
RE: Moving Shelf Using Secret Books - by Adny - 06-18-2012, 02:13 PM
RE: Moving Shelf Using Secret Books - by SonOfLiberty796 - 06-18-2012, 07:29 PM



Users browsing this thread: 1 Guest(s)