Skip to reading
First Light, Part 4: The Message in the Machine

Frame the socket and add a short spark

Edition 0.86.3.4

Part 4 of the First Light course. Build a two-character rescue using shared variables, attach-point alignment, sparks, a camera close-up, separate journals and a timed lift reserve.

Download PDFView illustrations

05 / THE REVEAL

1. Add a second camera in Relay Room. In Add to Scene, choose Camera. Select the new camera row and enter socket_cam as its ID and Socket Close-up as its name. In Position & View, set Position to −1.7, 1.65, 2.15 and Look Target to −1.7, 0.67, −1.2. Set field of view to 45°. Apply. Keep the original main_camera as the room’s starting camera.

[1] Where the camera stands. [2] Where it looks. Keeping X the same aims it toward the cabinet and slightly down.

2. Add the sparks. Still in Relay Room, choose Add to Scene › Particles. Name it Short Circuit, ID arc. Set 3D Position to −1.67, 0.98, −0.95. In Particle Settings choose the Lightning preset and keep Emit In Game on. Apply the preset before fine-tuning its values.

Source table from Frame the socket and add a short spark, page 6
Lightning settingValueWhat to look for
Bolt Length / Bolt Width0.55 / 0.035A small electrical arc at the cabinet.
Time Between Flashes / Flash Duration0.34 s / 0.16 sShort flashes with a gap between them.

Select Lightning [1]. Leave the emitter unattached. The repaired cabinet will switch it off.

Check the shot. The cabinet should fill the close-up. If you placed it elsewhere, move the camera and its target to frame your cabinet. The two blend times will go in the room script on page 11.

In the Lightning controls, [1] sets bolt length and [2] sets the wait between flashes.

Page 6 of 16Permalink
Go to page

Continue your 3D adventure

  1. Part 1First Light, Part 1: Your First 3D Adventure
  2. Part 2First Light, Part 2: Three Knocks
  3. Part 3First Light, Part 3: Behind the Wall
  4. Part 4First Light, Part 4: The Message in the Machine
  5. Part 5First Light, Part 5: The Clockmaker’s Secret
  6. Part 6First Light, Part 6: The Final Hour