Puzzle Creator: Difference between revisions

Jump to navigation Jump to search
m
Reverting vandalism
(No, i am not telling.)
m (Reverting vandalism)
 
(18 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Featured article tag}}
{{Featured article tag}}


The '''Puzzle Creator''' (also known as '''Puzzle Maker''' or '''Editor''') is a part of the [[Perpetual Testing Initiative]] in ''[[Portal 2]]'', a DLC released on May 8th, 2012<ref name="shacknews_editor_confirmed"/> allowing the creation of single-player and [[Co-op]] test chambers within a simple in-game editor.<ref name="shacknews_editor_confirmed">[http://www.shacknews.com/article/70740/portal-2-in-game-map-editor-confirmed ShackNews article ''Portal 2 in-game map editor confirmed''] accessed 22 October 2011</ref>, had a cut feature called Budget. Budget is a limitation in creating. If it goes to 0, you can't make items anymore. It was replaced with Compile Error if there's too much items in the map.
The '''Puzzle Creator''' (also known as '''Puzzle Maker''' or '''Editor''') is a part of the [[Perpetual Testing Initiative]] in ''[[Portal 2]]'', a DLC released on May 8th, 2012<ref name="shacknews_editor_confirmed"/> allowing the creation of single-player and [[Co-op]] test chambers within a simple in-game editor.<ref name="shacknews_editor_confirmed">[http://www.shacknews.com/article/70740/portal-2-in-game-map-editor-confirmed ShackNews article ''Portal 2 in-game map editor confirmed''] accessed 22 October 2011</ref>


In order to create a Co-operative puzzle, the chamber must be marked as a "Co-operative puzzle" in the "File" menu of the Puzzle Creator.
In order to create a Co-operative puzzle, the chamber must be marked as a "Co-operative puzzle" in the "File" menu of the Puzzle Creator.
Line 56: Line 56:
* [[File:Puzzle Creator pedestal button.png|32px]] [[Pedestal Button]] (includes timer)
* [[File:Puzzle Creator pedestal button.png|32px]] [[Pedestal Button]] (includes timer)
* [[File:Puzzle Creator portal button.png|32px]] [[Heavy Duty Super-Colliding Super Button|Button]]
* [[File:Puzzle Creator portal button.png|32px]] [[Heavy Duty Super-Colliding Super Button|Button]]
* [[File:Puzzle Creator box socket.png|32px]] [[Weighted Storage Cube Receptacle|Cube Button]]
* [[File:Puzzle Creator box socket.png|32px]] [[Heavy Duty Super-Colliding Super Button#Weighted Storage Cube Receptacle|Cube Button]]
* [[File:Puzzle Creator ball socket.png|32px]] [[Edgeless Safety Cube Receptacle|Sphere Button]]
* [[File:Puzzle Creator ball socket.png|32px]] [[Heavy Duty Super-Colliding Super Button#Edgeless Safety Cube Receptacle|Sphere Button]]
* [[File:Puzzle Creator cube.png|32px]] [[Weighted Storage Cube|Weighted Cube]] (with dropper)
* [[File:Puzzle Creator cube.png|32px]] [[Cubes#Weighted Storage Cube|Weighted Cube]] (with dropper)
* [[File:Puzzle Creator companion cube.png|32px]] [[Weighted Companion Cube|Companion Cube]] (with dropper)
* [[File:Puzzle Creator companion cube.png|32px]] [[Weighted Companion Cube|Companion Cube]] (with dropper)
* [[File:Puzzle Creator edgeless safety cube.png|32px]] [[Edgeless Safety Cube|Edgeless Safety Cube]] (with dropper)
* [[File:Puzzle Creator edgeless safety cube.png|32px]] [[Cubes#Edgeless Safety Cube|Edgeless Safety Cube]] (with dropper)
* {{Spoiler|[[File:Puzzle Creator frankenturret.png|32px|]]}} {{Spoiler|[[Frankenturret|Franken Cube]]}} (with dropper)
* {{Spoiler|[[File:Puzzle Creator frankenturret.png|32px|]]}} {{Spoiler|[[Frankenturret|Franken Cube]]}} (with dropper)
* [[File:Puzzle Creator tbeam.png|32px]] [[Excursion Funnel|Tractor Beam]] (forward/backward)
* [[File:Puzzle Creator tbeam.png|32px]] [[Excursion Funnel|Tractor Beam]] (reversible)
* [[File:Puzzle Creator faithplate.png|32px]] [[Aerial Faith Plate|Faith Plate]]
* [[File:Puzzle Creator faithplate.png|32px]] [[Aerial Faith Plate|Faith Plate]]
* [[File:Puzzle Creator hard light emitter.png|32px]] [[Hard Light Bridge|Light Bridge]]
* [[File:Puzzle Creator hard light emitter.png|32px]] [[Hard Light Bridge|Light Bridge]]
* [[File:Puzzle Creator stairs.png|32px]] [[Panel|Stairs]]
* [[File:Puzzle Creator stairs.png|32px]] [[Panel|Stairs]]
* [[File:Puzzle Creator fizzler.png|32px]] [[Material Emancipation Grill|Fizzler]]
* [[File:Puzzle Creator fizzler.png|32px]] [[Material Emancipation Grill|Fizzler]]
* [[File:Puzzle Creator glass.png|32px]] Glass (can be turned into grating)
* [[File:Puzzle Creator glass.png|32px]] [[Barriers|Glass]] (can be turned into grating)
* [[File:Puzzle Creator arm paneltop.png|32px]] [[Victory Lift|Piston Platform]]
* [[File:Puzzle Creator arm paneltop.png|32px]] [[Victory Lift|Piston Platform]]
* [[File:Puzzle Creator arm motionplatform.png|32px]] [[Unstationary Scaffold|Track Platform]]
* [[File:Puzzle Creator arm motionplatform.png|32px]] [[Unstationary Scaffold|Track Platform]]
* [[File:Puzzle Creator laser emitter.png|32px]] [[Thermal Discouragement Beam|Laser]] Emitter.
* [[File:Puzzle Creator laser emitter.png|32px]] [[Thermal Discouragement Beam|Laser]] Emitter
* [[File:Puzzle Creator laser catcher.png|32px]] [[Thermal Discouragement Beam|Laser]] Catcher.
* [[File:Puzzle Creator laser catcher.png|32px]] [[Thermal Discouragement Beam|Laser]] Catcher
* [[File:Puzzle Creator laser receptacle.png|32px]] [[Thermal Discouragement Beam|Laser]] Relay.
* [[File:Puzzle Creator laser receptacle.png|32px]] [[Thermal Discouragement Beam|Laser]] Relay
* [[File:Puzzle Creator reflection cube.png|32px]] [[Discouragement Redirection Cube|Reflection Cube]] (with dropper)
* [[File:Puzzle Creator reflection cube.png|32px]] [[Discouragement Redirection Cube|Reflection Cube]] (with dropper)
* [[File:Puzzle Creator airlock.png|32px]] [[Panel|Glass Panel]]
* [[File:Puzzle Creator airlock.png|32px]] [[Panel|Glass Panel]]
* [[File:Puzzle Creator panel flap.png|32px]] [[Panel|Angled Panel]]
* [[File:Puzzle Creator panel flap.png|32px]] [[Panel|Angled Panel]]
* [[File:Puzzle Creator panel flip.png|32px]] [[Panel|Flip Panel]]
* [[File:Puzzle Creator panel flip.png|32px]] [[Panel|Flip Panel]]
* [[File:Puzzle Creator observation room.png|32px]] Observation Room
* [[File:Puzzle Creator observation room.png|32px]] [[Observation Room]]
* [[File:Puzzle Creator deathfield.png|32px]] [[Laser Field]]
* [[File:Puzzle Creator deathfield.png|32px]] [[Laser Field]]
* [[File:Puzzle Creator turret.png|32px]] [[Turret]]
* [[File:Puzzle Creator turret.png|32px]] [[Sentry Turret|Turret]]
* [[File:Puzzle Creator goo.png|32px]] [[Goo|Deadly Goo]]
* [[File:Puzzle Creator goo.png|32px]] [[Goo|Deadly Goo]]
* [[File:Puzzle Creator light panel.png|32px]] Light Strip
* [[File:Puzzle Creator light panel.png|32px]] Light Strip
* [[File:Puzzle Creator paintsplat bounce.png|32px]][[Repulsion Gel|Bounce Gel]] (with dropper)
* [[File:Puzzle Creator paintsplat bounce.png|32px]] [[Repulsion Gel|Bounce Gel]] (with dropper)
* [[File:Puzzle Creator paintsplat speed.png|32px]] [[Propulsion Gel|Speed Gel]] (with dropper)
* [[File:Puzzle Creator paintsplat speed.png|32px]] [[Propulsion Gel|Speed Gel]] (with dropper)
* [[File:Puzzle Creator paintsplat portal.png|32px]][[Conversion Gel]] (with dropper)
* [[File:Puzzle Creator paintsplat portal.png|32px]] [[Conversion Gel]] (with dropper)
* [[File:Puzzle Creator paintsplat water.png|32px]] [[Cleansing Gel]] (with dropper)
* [[File:Puzzle Creator paintsplat water.png|32px]] [[Cleansing Gel]] (with dropper)
* [[File:Puzzle Creator portal door.png|32px]] Door (cannot spawn)
}}
}}


* The following items are exclusively featured in the [[Portal 2 - Education Version]].
=== Default items ===
{{columns-list|3|
 
* [[Weighted Storage Cube#Contraption Cube Receptacle|Contraption Cube Receptacle]]
These are the mandatory items are placed in the chamber, and can only be moved.
* [[File:Puzzle Creator contraption cube.png|32px]] [[Weighted Storage Cube#Contraption Cube|Contraption Cube]] (with dropper)
* [[File:Puzzle Creator portal door.png|32px]] Entry Door (with Co-op variant)
* [[File:Puzzle Creator portal door.png|32px]] Exit Door (with Co-op variant)
* [[File:Puzzle Creator observation room.png|32px]] Large [[Observation Room]]
 
=== Educational Version items ===
 
These items are exclusively featured in the [[Portal 2 - Educational Version]].
* [[Heavy Duty Super-Colliding Super Button#Contraption Cube Receptacle|Contraption Cube Receptacle]]
* [[File:Puzzle Creator contraption cube.png|32px]] [[Cubes#Contraption Cube|Contraption Cube]] (with dropper)
* Text bubbles
* Text bubbles
}}


==Hints==
==Hints==
Line 129: Line 135:
*Press and drag the right mouse button to rotate the camera view.
*Press and drag the right mouse button to rotate the camera view.
*Drag the boundary of a volume selection set to move a portion of your chamber along any 3D axis.
*Drag the boundary of a volume selection set to move a portion of your chamber along any 3D axis.
===Intermediate===
===Intermediate===
*Connect multiple buttons to a receiving item: This requires all to be pressed simultaneously for activation.
*Connect multiple buttons to a receiving item: This requires all to be pressed simultaneously for activation.
Line 140: Line 147:
*Hold down {{key|Alt}} while moving items to keep them on surfaces facing away from the camera view.
*Hold down {{key|Alt}} while moving items to keep them on surfaces facing away from the camera view.
*Hold down {{key|Shift}} while rotating turrets and dropper-less cubes to snap their orientation to 45 degree increments.
*Hold down {{key|Shift}} while rotating turrets and dropper-less cubes to snap their orientation to 45 degree increments.
===Advanced===
===Advanced===
*When previewing your puzzle in first-person mode, use the 'noclip' console command to quickly navigate the chamber.
*When previewing your puzzle in first-person mode, use the 'noclip' console command to quickly navigate the chamber.
Line 146: Line 154:
*Drag a trajectory target back onto its faith plate to create a vertical launch.
*Drag a trajectory target back onto its faith plate to create a vertical launch.
*Create a pre-placed gel splat by deleting or disabling the associated dropper.
*Create a pre-placed gel splat by deleting or disabling the associated dropper.
<!--
 
===WIP Editing===
==="WIP Editing" (unused)===
''Some of the controls referenced here no longer work, and appear to be from an early version of the editor.''
*Hold down SHIFT while clicking surfaces to expand the selection.
*Hold down SHIFT while clicking surfaces to expand the selection.
*Use Arrow keys to nudge the selection.  
*Use Arrow keys to nudge the selection.  
Line 158: Line 167:
*Use CTRL+number keys to set the camera to a preset view.
*Use CTRL+number keys to set the camera to a preset view.
*Use CTRL+F5-F8 to save a custom view setting. F5-F8 to restore the view.
*Use CTRL+F5-F8 to save a custom view setting. F5-F8 to restore the view.
//Puzzlecraft Tips (WIP)
 
===Puzzlecraft tips (unused)===
*Keep goals clear: The puzzle exit should always be visible upon entry.
*Keep goals clear: The puzzle exit should always be visible upon entry.
*Keep puzzles simple. Players should be able to keep the solution in their head.
*Keep puzzles simple. Players should be able to keep the solution in their head.
Line 192: Line 202:
*Avoid "chambers within chambers" where players can't see the consequences of their actions on the puzzle state.
*Avoid "chambers within chambers" where players can't see the consequences of their actions on the puzzle state.
*Testers want to help you improve your map. Listen to their feedback carefullly and always remember to thank them for their time.
*Testers want to help you improve your map. Listen to their feedback carefullly and always remember to thank them for their time.
-->


==Limitations==
==Limitations==
As the puzzle creator is designed for ease of use, certain limitations apply. These limitations can be overcome by exporting the map to [[Portal 2 Authoring Tools|Hammer]] (see Related Commands).
As the puzzle creator is designed for ease of use, certain limitations apply. These limitations can be overcome by exporting the map to [[Portal 2 Authoring Tools|Hammer]] (see Related Commands).
* There is a limit of 1750 entities in a single chamber. Items consist of multiple entities, meaning the actual number of placeable items is much lower than this. The entity cost of each item is noted on its page. <!-- working on adding this -->
* There is a limit of 1750 entities in a single chamber, as opposed to 2048 in Hammer maps. Items consist of multiple entities, meaning the actual number of placeable items is much lower than this.
* The editor is block based, meaning that angles and smaller geometry cannot be achieved without the use of partial block items from BEE2 (see below).
* The editor is block based, meaning that angles and smaller geometry cannot be achieved without the use of custom items such as the BEE2's partial blocks.
* Chambers are isolated, so sequences of chambers cannot be published as one map using the Puzzle Creator alone.
* Chambers are isolated, so sequences of chambers cannot be published as one map using the Puzzle Creator alone.
* Certain item placements are "invalid", and the chamber cannot be built or exported to Hammer while invalid item placements exist within it. Invalid placements will show an error indication until fixed.
* Some item placements are disallowed, such as items placed in midair or inside of other items. While somewhat standard for in-game level editors, no such placement rules exist in Hammer.


==Related commands==
==Related commands==
{{columns-list|3|
{{columns-list|3|
* {{code|procedural_generator_solve_it}} - Solve the procedural puzzle generator.
* {{code|puzzlemaker_autosave_dev}} - Forces an autosave, saving the current puzzle as 'autosave.p2c'.
* {{code|procedural_generator_test}} - Test the procedural puzzle generator.
* {{code|puzzlemaker_compile_and_preview}} - Compiles the map and loads it in preview mode.
* {{code|puzzlemaker_autosave_dev}} - autosaves the current puzzle as 'autosave.p2c'
* {{code|puzzlemaker_compile_and_publish}} - Compiles the map and opens the publish dialog.
* {{code|puzzlemaker_compile_and_preview}}
* {{code|puzzlemaker_current_hint}} - The hint number to display in the compile progress window. This is incremented by 1 every time a compile is started.
* {{code|puzzlemaker_compile_and_publish}}
* {{code|puzzlemaker_drawselectionmeshes 0/1}} - When enabled, editor model selection meshes are drawn as red wireframes.
* {{code|puzzlemaker_current_hint}}
* {{code|puzzlemaker_enable_budget_bar 0/1}} - When enabled, a "budget bar" is shown in the bottom-left corner.
* {{code|puzzlemaker_drawselectionmeshes 0/1}} - draw wireframe item selection meshes in red
* {{code|puzzlemaker_export <name>}} - Exports the current puzzle as 'name.vmf', to open it in Hammer. Maps are saved to 'common\portal 2\sdk_content\maps\'.
* {{code|puzzlemaker_export <name>}} - export the current puzzle as 'name.vmf' (maps are saved to common\portal 2\sdk_content\maps\)
* {{code|puzzlemaker_load_dev}} - Loads the puzzle with the filename 'name.p2c'.
* {{code|puzzlemaker_load_dev}} - load the puzzle called 'name.p2c'
* {{code|puzzlemaker_new_chamber}} - Opens a new chamber
* {{code|puzzlemaker_new_chamber}}
* {{code|puzzlemaker_open_chamber}} - Displays the open dialog
* {{code|puzzlemaker_open_chamber}}
* {{code|puzzlemaker_play_sounds 0/1}} - Sets if the puzzlemaker can play sounds or not.
* {{code|puzzlemaker_play_sounds 0/1}} - sets if the puzzlemaker can play sounds or not
* {{code|puzzlemaker_publish_dev}} - compile the current puzzle and publish it to the Steam workshop
* {{code|puzzlemaker_publish_dev}} - compile the current puzzle and publish it to the Steam workshop
* {{code|puzzlemaker_quit}}                       
* {{code|puzzlemaker_quit}}                       
Line 220: Line 228:
* {{code|puzzlemaker_save_chamber}}                                           
* {{code|puzzlemaker_save_chamber}}                                           
* {{code|puzzlemaker_save_dev <name>}} save the current puzzle as 'name.p2c'
* {{code|puzzlemaker_save_dev <name>}} save the current puzzle as 'name.p2c'
* {{code|puzzlemaker_shadows 0/1}} - Enable shadows in the Portal 2 Puzzle Maker
* {{code|puzzlemaker_shadows 0/1}} - Enables unfinished shadows in the puzzlemaker.
* {{code|puzzlemaker_show_overlay_web_page}}
* {{code|puzzlemaker_show_overlay_web_page}}
* {{code|puzzlemaker_show 0/1}} - 1 shows the puzzle maker,  0 hides it
* {{code|puzzlemaker_show 0/1}} - 1 shows the puzzle maker,  0 hides it
Line 229: Line 237:
The following have been found in the game files:
The following have been found in the game files:
{{columns-list|1|
{{columns-list|1|
* [[File:Puzzle Creator faithplate 128.png|32px]] [[Aerial Faith Plate]] (large).
* [[File:Puzzle Creator faithplate 128.png|32px]] Large [[Aerial Faith Plate]]
* 'Push out' [[panel]].
* 'Push out' [[panel]]
* A radial menu with voting criteria for a map, including "confused" and "stuck".
* A radial menu with voting criteria for a map, including "confused" and "stuck".
* Various "upgrade" badge textures.
* Various "upgrade" badge textures.
* [[File:Puzzle Creator crusher.png|32px]] [[Crusher]]
* [[File:Puzzle Creator crusher.png|32px]] [[Crusher]]
* [[File:Fixed portal door.png|32px]] [[Portal Spawner]]
* [[File:Fixed portal door.png|32px]] [[Autoportal]]
* [[File:Puzzle Creator panel door.png|32px]] Unidentifiable [[panel]]
* [[File:Puzzle Creator panel door.png|32px]] A Glass [[panel]]  
* Observation room with adjustable size
* 4x1 observation room
* Shadows, enabled with the {{code|puzzlemaker_shadows}} command. They are somewhat buggy, and don't accurately represent the actual lighting in the chamber.
* A "budget bar", enabled with the {{code|puzzlemaker_enable_budget_bar}} command. This bar will fill up as objects are added to the chamber. When exceeded, the editor will not allow the chamber to be built, using the "build failed" message normally only seen when there are placement errors in the map. The final editor simply relies on the compiler to throw an error when over engine limits, instead of implementing an arbitrary system.
}}
}}


== Modifications ==
== Modifications ==


Modifications are addons that add custom content to the PeTI Puzzle Maker and/or styles.
Modifications are addons that add custom content to the Puzzle Maker.
 
=== BEEmod and BEE2 ===
 
'''BEEmod''', or '''Ben and August's Extended Editor''', is a well-known modification for the PeTI which adds 10 extra items to the in-game palette, including [[High Energy Pellet]]s and [[Portal Spawner|Autoportals]]. A download and more information about the mod can be found at https://portal2backstock.com/bee/.


'''BEE2''' is the second version of the BEEmod. BEE2 is a standalone app which allows the user to choose the items available on the palette from a wide range of custom items. It also includes Carl Kenner's Stylemod, allowing you to choose between styles such as 1950s and Overgrown. It can be downloaded at http://portal2backstock.com/bee2/, along with TeamSpen210's Addons.
=== BEEmod ===


'''BEE2.4''' is a new version of the BEE2 which has been completely rewritten in Python by TeamSpen210. It includes lots of new features including multiple game support, stylevars which can be used to configure the behavior of things, and many new compiler features. This new version is available on GitHub at https://github.com/BEEmod/BEE2.4, and the official Discord server can be found at https://discord.me/beemod. This is currently the only supported version, any bugs in the old BEE2 will not be fixed.
'''BEEmod''' is a well-known Puzzlemaker mod which adds additional content to the editor. The latest version of the mod is version 2.4, which uses a standalone app to configure the item palette and other options not available within the Puzzle Creator itself. Some of BEE2.4's features include additional items such as [[High Energy Pellet]]s and [[Portal Spawner|Autoportals]], styles such as Portal 1 and Overgrown, and a large selection of music from various Portal games and mods. BEE2.4 can be downloaded from its [https://github.com/BEEmod/BEE2.4 GitHub page].
 
The BEE2 allows the user to select from a wide range of Valve-made and custom test elements, such as the large version of the [[Aerial Faith Plate]] and warm light strips. It also allows you to select a style in which the chamber will be built (such as 1950s Old Aperture). In the BEE2.4, you can also choose the background music, what voice lines are present (if any), the skybox (used for fog in larger chambers and bottomless pits) and the entry/exit [[elevator]] videos, if the style supports them. For example, you could make your map in a 1970s Enrichment Sphere with bottomless pits and the [[Announcer]] talking to the player, while [[Portal 2 Soundtrack|Die Cut Laser Dance]] plays in the background.


== Gallery ==
== Gallery ==
Line 265: Line 269:
}}
}}
{{Gallery
{{Gallery
|lines=1
|lines=3
|title=Pre-release
|title=Pre-release
|height=150
|height=150
|width=200
|width=200
|File:Portal 2 editor announcement 01.jpg|Announcement screenshot #1
|File:Portal 2 editor announcement 01.jpg|Announcement screenshot #1 (the test chamber there looks similar to [[Portal 2 Chapter 1 Test Chamber 5|the Cube Momentum test]])
|File:Portal 2 editor announcement 02.jpg|Announcement screenshot #2
|File:Portal 2 editor announcement 02.jpg|Announcement screenshot #2
}}
}}
520

edits

Navigation menu