Difference between revisions of "Portal 2 vote page"
Line 5: | Line 5: | ||
==With buttons== | ==With buttons== | ||
#Place a [[prop_button]], using the '''entity tool'''. | #Place a [[prop_button]], using the '''entity tool'''. | ||
− | #Place a [[func_instance]], using an '''entity tool''' aswell and go to its '''properties'''. | + | #Place a [[func_instance]], using an '''entity tool''' aswell and go to its '''properties'''. Use the following settings: |
{| class=standard-table | {| class=standard-table | ||
! Property || Value | ! Property || Value | ||
|- | |- | ||
− | | Fix Up Name || | + | | Fix Up Name || pti_ents |
|- | |- | ||
| VMF Filename || instances/p2editor/global_pti_ents.vmf | | VMF Filename || instances/p2editor/global_pti_ents.vmf | ||
Line 17: | Line 17: | ||
! My Output || Target Entity || Target Input || Delay || Only Once | ! My Output || Target Entity || Target Input || Delay || Only Once | ||
|- | |- | ||
− | | OnPressed || | + | | OnPressed || pti_ents || instance:@relay_pti_level_end;Trigger || 0.00 || Yes |
|} | |} | ||
Line 26: | Line 26: | ||
# Repeat step 2 | # Repeat step 2 | ||
# Repeat step 3 but with the only change of '''"OnPressed"''' to '''"OnStartTouch"''' | # Repeat step 3 but with the only change of '''"OnPressed"''' to '''"OnStartTouch"''' | ||
+ | |||
+ | Because most maps will end with an elevator, placing this trigger somewhere in the exit elevator's shaft works well. | ||
[[Category:Portal 2 Level Design]] | [[Category:Portal 2 Level Design]] | ||
[[Category:Portal 2 Tutorials]] | [[Category:Portal 2 Tutorials]] |
Revision as of 04:10, 14 April 2013
Vote page/screen is a page where you evaluate the test chamber you had played from workshop. There you can visit author's page, comment and rate the test chamber.
To make the vote screen appear, you will need to use either triggers or buttons (cube/ball/normal). In other words, you need something to activate it.
With buttons
- Place a prop_button, using the entity tool.
- Place a func_instance, using an entity tool aswell and go to its properties. Use the following settings:
Property | Value |
---|---|
Fix Up Name | pti_ents |
VMF Filename | instances/p2editor/global_pti_ents.vmf |
3. In prop_button's properties, go to Outputs tab and Add the following:
My Output | Target Entity | Target Input | Delay | Only Once |
---|---|---|---|---|
OnPressed | pti_ents | instance:@relay_pti_level_end;Trigger | 0.00 | Yes |
- If you want to make it a floor button, then just put a prop_floor_button instead of prop_button
With triggers
- Make a block with the block tool and press Ctrl+T (while you have it selected). Make it trigger_once.
- Repeat step 2
- Repeat step 3 but with the only change of "OnPressed" to "OnStartTouch"
Because most maps will end with an elevator, placing this trigger somewhere in the exit elevator's shaft works well.