Test Sign: Difference between revisions
No edit summary |
m (Setting bug notice hidetested=1 param on page where the bug might not need tested in param specified) |
||
(5 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{lang|Test Sign}} | ||
| | The Test Chamber Sign is a tool used in Portal 2 to tell the player what elements will be presented in the level, and the progress they have made out of the total amount of levels. | ||
}} | |||
The Test Sign is a tool used in Portal 2 to | {{bug|hidetested=1|The signs in Steam Workshop maps may not accurately reflect testing element usage or number or progress made. This is especially true if a map is deleted from a queue.}} | ||
{{bug|hidetested=1|If there are over 99 Steam Workshop maps in the queue, the big number will only display the last digit.}} | |||
==Creating the Sign== | ==Creating the Sign== | ||
Line 16: | Line 17: | ||
! || My Output || Target Entity || Target Input || Parameter || Delay || Only Once | ! || My Output || Target Entity || Target Input || Parameter || Delay || Only Once | ||
|- | |- | ||
| [[ | | [[File:Io11.png]] || OnTrigger || level_sign || instance:info_panel_activate_rl;Trigger || none || 0.0 || No | ||
|} | |} | ||
Line 26: | Line 27: | ||
If you make your own sp_lightboard_icons.txt, edited to include your own maps and place it within a VPK package (still following the same file structure), your signs will work. The official single player maps can be removed from your EDITED COPY, but make sure to leave the original in "scripts/vscripts/transitions/sp_lightboard_icons.txt" UNEDITED. The formatting of the sp_lightboard_icons.txt is explained within it, with comments. This method will not change the original file, but the game will use your version while running your map from the VPK. | If you make your own sp_lightboard_icons.txt, edited to include your own maps and place it within a VPK package (still following the same file structure), your signs will work. The official single player maps can be removed from your EDITED COPY, but make sure to leave the original in "scripts/vscripts/transitions/sp_lightboard_icons.txt" UNEDITED. The formatting of the sp_lightboard_icons.txt is explained within it, with comments. This method will not change the original file, but the game will use your version while running your map from the VPK. | ||
Although it does seem that if you have a custom addon VPK with a custom sp_lightboard_icons.txt within it, the official single player signs and any in other VPKs, won't work. There can only be | Although it does seem that if you have a custom addon VPK with a custom sp_lightboard_icons.txt within it, the official single player signs and any in other VPKs, won't work. There can only be one available for use at one time, although a single custom sp_lightboard_icons.txt will override the main single player one. | ||
{{confirm|doesn't seem to work in Steam Workshop maps?}} | |||
[[Category:Portal 2 Tutorials]] | [[Category:Portal 2 Tutorials]] |
Latest revision as of 07:15, 20 May 2025
The Test Chamber Sign is a tool used in Portal 2 to tell the player what elements will be presented in the level, and the progress they have made out of the total amount of levels.


Creating the Sign
1) Place a func_instance on the wall where you wish the sign to be.
2) Choose the VMF filename "instances/signs/info_sign_sp_clean.vmf".
3) Name the instance "level_sign".
4) Place a trigger-texture before the player will run up to the sign and tie it to a trigger_once. Make the output for the trigger_once:

Final Notes
By default, this instance creates a sign that displays "00" and "None" for level number and level progress, with no hazard icons. Test sign data appears to be loaded based on the level name, from the file "scripts/vscripts/transitions/sp_lightboard_icons.txt".
If you make your own sp_lightboard_icons.txt, edited to include your own maps and place it within a VPK package (still following the same file structure), your signs will work. The official single player maps can be removed from your EDITED COPY, but make sure to leave the original in "scripts/vscripts/transitions/sp_lightboard_icons.txt" UNEDITED. The formatting of the sp_lightboard_icons.txt is explained within it, with comments. This method will not change the original file, but the game will use your version while running your map from the VPK.
Although it does seem that if you have a custom addon VPK with a custom sp_lightboard_icons.txt within it, the official single player signs and any in other VPKs, won't work. There can only be one available for use at one time, although a single custom sp_lightboard_icons.txt will override the main single player one.
