Skip to reading
Cameras, Lighting & Rendering

Change the room around the player

Edition 0.86.4.3

0.86.4.3 edition with revised lessons, updated cross-references and new cinematic/camera-safety supplements. Earlier examples, screenshots and registry figures retain their stated edition context.

Download PDFView illustrations
On this page
PCA 3D ADVENTURE STUDIO                                                0.86.4.0  /  CAMERAS AND LIGHTING

RUNTIME WALKTHROUGH

Use Change Room Property when the effect belongs to the whole room. Here a switch lets fog creep over the workshop. Use a 3D room that already has an environment and a view down its length.

0.86.4.0 reference • Search ChangeRoomProperty to see Room, Property and To. The property list continues in the scrollable pane.

1

Choose the event#

In Scene Designer, select an object the player can use. Open its interaction action list. Add Change Room Property. In Room, pick the room the player is standing in. Use your own room ID wherever this guide says workshop.

2

Turn on fog, then set its thickness#

For the first action choose environment.fogEnabled and set To to true. Add a second Change Room Property for the same room. Choose environment.fogDensity and enter the number 0.07. Apply the edits and save the project.

3

Look at the far wall#

Play the room. Use the switch while looking past a nearby prop toward the far wall. The active environment takes the new density. If nothing changes, check the room ID, fog switch, active environment and renderer.

A change for the next visit

The same action can set dimension. The current room keeps its original dimension until it loads again. Its checked result is stored_for_load. An action can finish before its visual effect appears.

PCA 3D / Cameras and lighting

Page 106 of 109Permalink
Go to page