
Next, replace every cube dispenser, floor button and switch instance with its future variation. Align the future chamber on the exact opposite site of the map’s origin Rotate the newly created copy of the chamber 180 degreesĤ. Select your chamber and shift-drag everything into the positive worldspaceģ. Align the present chamber on your preferred grid sizeĢ. These actions should all be beformed in the 2D top viewport.ġ.

For that, follow these 4 steps carefully: Once you are finished with the basic level geometry and puzzle elements, we can go ahead and create the future version of the test chamber. …\instances\portal_reloaded\button\floor_button\pr_floor_button_present.vmfįloor Buttons have a ‘On Pressed’, ‘On Unpressed’, ‘Box on Button’ and ‘Box off Button’ output. A typical I/O chain would look like this: switch_present_1 –> On Pressed –> cube1 –> Main Trigger Floor ButtonsĬreate a new func_instance and name it ‘floor_button_present_1’. Switches have a ‘On Pressed’ and ‘On Unpressed’ output as well as a ‘Press In’ input. …\instances\portal_reloaded\button\switch\pr_switch_present.vmf SwitchesĬreate a new func_instance and name it ‘switch_present_1’. You can do that on map spawn or with a trigger_once when the player enters the chamber. IMPORTANT!For the time travel cube logic to work, you first need to call the ‘Trigger Cube Listener’ input once. Starts checking for cube movement and spawning the future cubeĪctivates checking for cube movement and spawning the future cubeĭeactivates checking for cube movement and spawning the future cube The present version of cube dispensers have the following inputs: InputĮnables automatic dispensing of a new cube when the old one is destroyed There is also a seperat instance if you want to use a laser redirection cube instead. …\instances\portal_reloaded\dropper\cube\pr_cube_dropper_normal_present.vmf Naming conventions are important here, so make sure to follow these instructions carefully. Then, create a new func_instance and name it ‘cube1’. Leave a 128×128 hole in your ceiling where you want your dispenser to be.

Note, that you can only have one cube dispenser per chamber. This section covers how different puzzle elements like cube dispensers, floor buttons and switches should be used in your map.
