Skip to reading
Adventure Mechanics & Effects

Show the player what the lever opened

Edition 0.86.3.4

Build authored boxing, camera moves, weather, attachments, inspectable objects, a radio and two-object puzzles using the existing adventure tools and scripts.

Download PDFView illustrations

CAMERAS / REVEAL A CLUE

Imagine the lever is by the station entrance and the shutter is across the room. Give the player a second view of the shutter opening, then put the camera back where they can walk. You need a 3D room, a lever with a Use action, and two room cameras.

Scene Designer’s room toolbar. Copy View to Camera transfers your editor viewpoint to the camera you select.

01. Open the room in Scene Designer. Keep the normal gameplay camera. Note its actual ID. Add a second camera using Add to Scene and select it in Scene Objects. Call it shutter_view. Frame the shutter in the 3D editor, then use Copy View to Camera and select the new camera. Double-check which camera you are overwriting.

02. Select the lever. Open Verb Actions Use and add Activate Camera. Choose shutter_view, set Blend Seconds to 0.4 and check Wait for Blend. The next action now happens after the view arrives. Use 0 for an immediate cut if the blend crosses a wall.

03. Add Play Animation. Choose the shutter instance and its opening animation. To hold the view for a first test, follow it with Show Message using “Something glints behind the shutter.” Set the duration to 1.5 seconds. Then add another Activate Camera, this time choosing the original room camera.

04. Place Set Variable at the successful interaction and name it shutter_open, value true. On later Uses, check that variable first. Give the already-open branch a short reply. When re-entering the room, use the stored flag to show the open shutter or hide the closed artwork.

Check it in play. Use the lever once from the far side of the room. You should see the shutter, its opening movement, and the return to your character. If you see the open shutter only after the fact, check the action order and Wait for Blend. Give any skip button the same final camera and shutter state.

Page 9 of 29Permalink
Go to page