![]() IMPORTANT: Name your future cube dispenser ‘partner_cube1’. Remember to rename them and adjust their outputs accordingly. 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. For this to work properly, you have to mentally divide the worldspace into two sections. The game places a future cube, portal or time portal by inverting the x- and y-coordinates of the present object. This is where positioning becomes really important. Make sure to leave a 256×192 hole where you want your entry and exit to be. I’d recommend only using developer textures at this stage. Start with the present version of the chamber. Keep all the time travel mechanics in mind and get to mapping! Now it’s time to actually design your test chamber. ![]() This instance contains all the basic logic used in Portal Reloaded. …\sdk_content\maps\instances\portal_reloaded\global It should be located inside your Portal 2 directory under: Next, select the ‘main.vmf’ as the filepath. Create a func_instance and name it ‘main’.
0 Comments
Leave a Reply. |