Skip to reading
Getting started with PCA3D

18. Pick up and use the power cell

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 PDF page
On this page

18. Pick up and use the power cell

Add the workbench and props#

The bench uses procedural geometry, and the power cell and relay are simple primitives. Their exact transforms are in the Primitive placement tables. Create the interactive objects with these IDs now: power_cell and relay. Leave their actions empty until the next lesson.

For power_cell, use an amber box at [-3, 1.5, -1.5], size [0.55, 0.6, 0.55]. For relay, use a blue box at [2.5, 0.9, -2.4], size [1.4, 1.8, 1.2]. Enable both hotspots. The cell's default verb is Take; the relay's is Use.

Make the second room#

Create a second 3D Scene, ID roof, name 02 - Beacon Deck. It uses the same floor dimensions, navigation and wide camera as the lab. You may duplicate the room as a starting point, but remove its lab-only objects and give copied scenery unique IDs. Do not leave a second power cell or relay accidentally hidden in the copy.

Add dish at [2, 1.2, -1.5], size [1.8, 0.22, 1.2]. Add transmit at [0, 0.65, 0.6], size [0.8, 1.3, 0.8]. Add back_to_lab at [-4, 1, -2], size [1, 2, 0.35]. Their default verb is Use. Set an entry spawn clear of the return door.

The reference dish has motion enabled so it visibly searches until aligned. Reproduce its Motion values from the full record recipe, or leave it still for the first functional test. The later Set Motion action stops the searching effect.

Check your work. Test lab, then roof. Click several open floor positions near all four bounds. The capsule should stay on the floor and reach the intended puzzle props. If it cannot, fix navigation now.

Create the carried item#

Add an Inventory item with ID cell and name Power cell. Use Oil Icon(oil_icon) for the icon, matching the supplied demo. It is a placeholder icon; the physical pickup remains the amber cube. Leave stacking disabled and maximum count at 1.

Import or copy the bundled key_icon, wheel_icon, oil_icon, prototype_icon and chime Asset records into your practice game. The asset manifest gives their exact source locations. Importing these files creates asset records; it does not create the inventory item or room props automatically.

To copy a prepared record precisely, save your project, add an Asset of the matching kind, open its Raw JSON view and replace that one Asset record with the corresponding object from the complete recipe. Apply it and validate. Do not paste an entire project into one Asset field. Alternatively, import the source file listed in the manifest and set the same ID. The prepared-copy route keeps metadata that is useful for models and recorded voices.

Page 50 of 184Permalink
Go to page