Chapter 08

Recipes

The tracks chapter says what every setting does. This chapter starts from what you want, and tells you which settings get you there. Each recipe names the track, gives the steps in order, and warns you about the thing that most often goes wrong.

Show an object at a set time#

A Cue shows its object at the cue's start and hides it at the cue's end. Use it for a prop or a sign that should appear at one moment and stay. Track: Cue.

To show an object at a set time#

  1. Select the object in the Hierarchy and leave it switched on in the Inspector. Dreamer Pro hides every cue object when the world loads.
  2. Right-click the Cue track and add a Cue at the time you want.
  3. On the General tab, set Object to your object.
  4. Set Start Time to the moment the object should show.
  5. To keep the object showing until the end, set End Time to the end of the Dream. For a shorter time, set End Time to the moment the cue should hide it.

The object appears and disappears instantly, because Motion starts at None. To give it an entrance, see the next recipe.

Note

A Cue shows and hides what you can see and bump into. A Light or a sound on the object keeps playing.

Note

The Dream lasts until the latest thing on the timeline ends. Dragging a cue's end past the end of the Dream only makes the Dream longer.

Warning

An object that is switched off in the Inspector never appears, even while its cue runs.

Make an object appear and leave with an effect#

You end up with an object that moves in at its cue's start and moves out at its end. Track: Cue.

To make an object appear and leave with an effect#

  1. Pick the object you want to appear, and leave it switched on. Dreamer Pro hides every cue object when the world loads.
  2. Right-click the Cue track and add a Cue at the time you want.
  3. On the General tab, set Object.
  4. Set Start Time and End Time.
  5. On the Transition tab, under In Effect, set Motion. You can choose Spin, Bounce, Fly, Scale or Shake.
  6. Under Out Effect, set Motion the same way.

Style, next to Motion, changes the feel of the effect. It does not change the effect's direction, distance, height, axes or duration. Classic is the plain version.

Warning

Motion starts at None on both sides. None means the object appears and disappears instantly. This is the most common reason an entrance looks like nothing happened.

Note

Fly always has a direction. When you pick Fly, it starts on From Left for the way in and To Right for the way out. To change it, set Fly In Direction or Fly Out Direction. If you choose From Custom Direction and leave the vector at 0, 0, 0, the object arrives in place with no motion, and Lint warns about it.

Make an object drift in, wait, then go back#

You end up with an object that glides to a new place, stands there, and glides back. Track: Move.

To make an object drift out and come back#

  1. Add a Move node, and set Object to the object you want to move.
  2. In the Motion section, turn on Smooth Move Start. Set Start Duration to the seconds the glide out should take.
  3. Turn on Return When Done.
  4. Set Hold Duration to the length of the whole move.
  5. Turn on Smooth Move End. Set Return Duration to the seconds the ease back should take.
  6. Under Destination, set Position to where the object should travel.

Hold Duration is the length of the whole move, not the pause. The glide and the return are carved out of it. For example, a Hold Duration of 8 with a 2 second start and a 2 second return leaves 4 seconds standing still. Computed End Time in the Timing section shows the result.

Warning

Hold Duration starts at 0. If you turn on Return When Done and leave it at 0, the node collapses to no length at all, and Lint reports an error.

Make an object move where it stands#

You end up with an object that hovers, sways, spins or orbits in place. Track: FX.

To make an object move where it stands#

  1. Add an FX node on the object, over the span you want it moving.
  2. In Behavior + Style, press one or more of Hover, Pulsate, Sway, Jitter, Rotate and Orbit. They stack.
  3. Open the Customize foldout and set that behavior's numbers.

Starting Recipe gives you a shaped starting point. You can pick Magical Float, Breathing Prop, Nervous Energy, Playful Bob, Turntable or Companion Orbit.

Warning

The six buttons only switch a behavior on. Its numbers are inside the Customize foldout. If you never open it, you get the defaults.

Note

Orbit is different from the other five. It circles each viewer, not a point in the world, so every viewer sees it going around themselves. When you use it, turn on Colliders off during motion, or it can push people about.

Put a caption in front of every viewer#

You end up with text that floats in front of each viewer for the time you set. Track: Text.

To put a caption in front of every viewer#

  1. Add a Text node and set Start Time and End Time.
  2. In Content, type into Text (supports multi-line).
  3. Set Font Size, and Color if you want one.
  4. Leave Show Background on, unless the text already sits against something dark.

Text is not wrapped for you. A long line stays one long line until you put a line break in yourself.

Warning

Bright text with Show Background off can vanish against a bright sky. Lint warns about that combination.

Ask a question and branch the show on the answer#

You end up with a question for the viewers, and a node that plays only for the viewers who gave one answer. Tracks: Prompt, then a condition on whatever you want to gate.

To ask the question#

  1. Add a Prompt node. Give it room: several seconds at least.
  2. In Content, type the question into Prompt Text.
  3. In Answers, set Answer Count to 2, 3 or 4, and fill in each answer.
  4. Set Default Answer. This is the answer a viewer gets if they pick nothing before the node ends.

To branch on the answer#

The condition goes on the node you want to gate, not on the prompt.

  1. Select the node that should play for one answer only.
  2. At the bottom of its Properties panel, press Add Condition.
  3. Set Match to Prompt Answer.
  4. Set Prompt to your prompt.
  5. Set Answer to the answer that lets the node play.

To let a node play for more than one answer, press Add another way this can happen. This works as an OR. To add a second requirement to the same way, press Also require. This works as an AND.

Warning

The Prompt list shows only prompts that finish before the gated node starts. A condition can never point at an answer that has not been given yet. If your prompt is missing from the list, it ends too late, so move it earlier.

Note

A condition that is switched on but left empty plays for nobody. Lint warns about that one.

Let each viewer set their own mix#

You end up with one volume slider per output, so each viewer can turn the music or the voices up or down for themselves. Track: Sound, plus SettingsPlayer.

To give viewers their own mix#

  1. Open the cog on the Timeline bar and go to Player.
  2. Under Outputs, press + Add output and give it a name, such as Music or Voices.
  3. Select a Sound node and pick its Output. Sounds you leave alone play on the default output.

In the world, viewers open the Sound plate with the Sound button. They set one slider per output for themselves.

Note

The video's sound always plays on the default output. Its slider is the same one as the volume on the player controls.

Fade a viewer's sight to black#

You end up with each viewer's view going dark and clearing again. Track: Vision FX.

To fade a viewer's sight to black#

  1. Add a Vision FX node and set Start Time and End Time.
  2. Leave Type on Fade to Black.
  3. Set Darkness. At 1, the view is full black, and nothing shows through at all.
  4. Set Fade in (seconds) for the darkening, and Fade out (seconds) for the clearing. If you leave a fade at 0, the change is a hard cut.

The fade happens in each viewer's own eyes. A condition on the node blacks out one person and nobody else.

To end the show on black, set Fade out (seconds) to 0. The view then holds at full darkness until the node's end, instead of clearing again.

Warning

The editor preview does not show the fade. Vision FX and Guidance are the two tracks with no preview, so judge the fade in Play mode or in the world.

Note

Overlapping Vision FX nodes are fine. The darkest one wins, and they do not add up. Two nodes at a Darkness of 0.5 give you 0.5, not full black.

Change the sky#

You end up with a new sky from a set time onward. Track: Skybox.

To change the sky#

  1. Add a Skybox node.
  2. Set Skybox to a material that uses a Skybox-family shader.
  3. Set Starts at.
  4. Under Transition, set Type to Cut or Spin. Spin turns the sky a full circle and swaps it at the halfway point.

A skybox row has no end. It has one time, and the sky it sets holds until the next change. The read-only Persists until line tells you which change that is, or says end of dream.

The sky does not go back when the show finishes. It returns to your world's own sky in four cases only:

  • You scrub back before the first change.
  • A condition leaves no sky to show.
  • The Skybox track is turned off.
  • The viewer walks out of the Dream's zone, in a world with more than one Dream.

To give one person their own sky, press Add Condition at the bottom of the panel, and set Match to Player Name. Names are matched exactly, capitals included.

Warning

Spin turns only a sky whose shader has a rotation setting, such as Skybox/Cubemap, Skybox/6 Sided or Skybox/Panoramic. Skybox/Procedural cannot turn, so it holds still for its half of the Spin.

Warning

Skybox materials are not copied while the Dream runs. Two rows that point at the same material share its rotation, so give each spinning sky its own material.

Teleport the audience and arrange them#

You end up with every viewer moved to one place, standing in the arrangement you choose. Track: Teleport.

To teleport the audience#

  1. Add a Teleport node. It starts on the ground where the Scene view is looking.
  2. Under Destination, press Use Preview Viewer or Use Scene View to put it somewhere else.
  3. With Preview on, drag the orange disc in the Scene view to move the group. Drag the ring to turn everyone. The arrow shows the way people face.
  4. Under Formation, set Arrange people to All on the same spot, In a line, or In an arc.
  5. For In a line, set Space between people (m). For In an arc, set Arc radius (m), Arc angle and People face, which is Away from the arc centre or Toward the arc centre.
  6. To turn everyone together, whatever the arrangement, use the Turn everyone by slider.
  7. Under Viewers, turn on Exclude Instance Master to keep the host where they are. The host is the person who has been in the instance longest. Use Excluded Display Names to skip people by name.

Show this many people sets how many people the Scene view and the map in the panel draw. In the world, everyone who is there is placed.

Excluded people are skipped, and the rest close up, so there are no gaps in the row.

To let a scene object decide the spot, set Go To / Target Transform under Advanced. It wins while it is set.

To move people as a Camera shot ends#

  1. Select the Camera node.
  2. Under After the Shot, tick Teleport viewers when the shot ends.

This adds a Teleport under the shot's last point. The shot fades to black, viewers are moved, and they wake up there.

Warning

A teleport inside a Camera shot is skipped completely, not delayed. Lint says so on the Camera node. A teleport placed exactly on the shot's end fires.

Note

Nobody is moved while the Dream waits for Play. A teleport at 00:00:00:0 moves people the moment the show starts.

Run a presenter-paced talk#

You end up with a slideshow that a presenter steps through in the world.

To set up a slideshow#

  1. Open the cog on the Timeline bar and go to Video. Under Playback, set Non-hosted.
  2. Turn on Slideshow. This turns Autoplay on as well. A row of slide tabs appears under the Dream tabs.
  3. To add a slide, press the "+" at the end of the slide tabs.
  4. To set a slide's Name, Loop, Auto-advance, Loop start and Loop end, use the cog on its open tab.
  5. Build each slide as its own timeline. Everything you add lands on the tab you are looking at.

In the world, the presenter steps through the slides with the arrows beside the slide counter.

To move a node to another slide#

  1. Cut the node.
  2. Switch to the other slide's tab.
  3. Right-click the time you want and paste.
Warning

A Dream whose player was built before the slide controls existed has no arrows, so nobody in the world can advance it. Run Dreamer ProRebuild Dream Player. Lint does not catch this one, so check it yourself.

Warning

Who May Control decides who gets the arrows. If you leave it unset, only the person holding the clock can advance the slides, and everyone else watches. The clock holder is the viewer whose player keeps the room's time.

Note

A slideshow must be Non-hosted. It cannot ride hosted video or hosted audio.

Note

If you turn Slideshow off again, every slide goes back onto one timeline at once.

Put a recorded performer on stage#

You end up with a recorded avatar performance playing in the world. Track: Presence, plus a Dreamwalker set up in the Dream's settings.

To put a recorded performer on stage#

  1. Open the cog on the Timeline bar, go to Video, find Dreamwalkers and press Add Dreamwalker.
  2. Set Puppet to a Humanoid avatar in your scene. That avatar is also where the performer stands.
  3. Add a Presence node to the timeline, and set its Dreamwalker to the one you made in step 1.
  4. Set Recording on the node, or open its Record in VRChat section and record the performance in the world.

The performer is on stage while a Presence node plays, and off stage the rest of the time. A Dreamwalker with no Presence nodes at all is on stage from the start.

Warning

If there is no Puppet, nothing appears at all. If there is a Puppet but no Recording, the performer stands there without moving. Those are two different faults with two different fixes.

Warning

The avatar must be a Humanoid rig, and Optimize Game Objects must be off. Either one strips what a performance drives. The editor offers to fix the second one for you.

Note

Turning the Presence track off does not take the performer off stage. It removes the hiding, so the performer stands there for the whole Dream.

Note

Quest plays at most three performers at once. Any beyond three stay visible but stop moving.

When something does not happen#

Press Lint before you change anything. It names the node and the reason, and it catches the silent cases that the timeline cannot show you.

Lint groups its rows by track, and a few of its names differ from the names on the timeline. Cue appears as Cues, and Prompt appears as Prompts.

What happens at 00:00:00:0#

Before the show begins, the Dream waits for Play, and its clock reads 00:00:00:0. Most tracks hold back until the show really begins. A Text node does not.

What starts at 00:00:00:0What viewers see while the room waits
A CueNothing. The object stays hidden until the show begins.
A Vision FX fadeNothing. The fade starts when the show begins.
A TeleportNothing. Nobody moves until the show begins. Then the teleport moves people at once.
A Text captionThe caption, straight away, while the room is still waiting.

A simple habit avoids all of this: start nothing at exactly 00:00:00:0. Start a little after zero, and every track behaves the same.

To show a caption right at the start, but not before#

  1. Select the Text node.
  2. Set Start Time a little after zero, such as 00:00:00:1.

The caption then appears as the show begins, together with everything else that starts there.

Note

In a world with more than one Dream, a Cue that starts at 00:00:00:0 has a Show before the dream starts box. Tick it to make the object part of the room before the start.