Panels: Difference between revisions
Jump to navigation
Jump to search
Welsh Mullet (talk | contribs) No edit summary |
(removed see also link to main page, already in category) |
||
Line 50: | Line 50: | ||
== See also == | == See also == | ||
* [[Panels Rotate]] | * [[Panels Rotate]] | ||
[[Category:Portal 2 Level Design]] | [[Category:Portal 2 Level Design]] | ||
[[Category:Portal 2 Tutorials]] | [[Category:Portal 2 Tutorials]] |
Revision as of 13:59, 9 May 2011
"The planks of tomorrow!" ~ Cave Johnson
Panels are architectural elements. They are individually positioned so that, together, they form the test chamber. Because the panels are moved individually by robotic arms, the room can react to the player. They can form stairs, new ledges, open like doors, and tend to convey a sense that the room itself is alive.
Creating Panels
1. Create a prop_dynamic entity with the following settings:
Property Name Value World Model models/anim_wp/room_transform/arm64x64_interior.mdl Name panel1 Collision Not Solid
2. Create a 256Lx256Wx32H
block brush above the model. Tie it to a func_brush entity with the following settings:
Property Name Value Name panel1_brush Parent panel1
3. Create a logic_auto entity and set up the output as follows:
Now the func_brush can follow the animation of the prop_dynamic.
4. Create a logic_relay with the following settings:
Property Name Value Name relay_panel1_animation
and the following outputs: