How I end my map?
Quote from fedebenarg on July 7, 2013, 3:11 amHello! Im new here, and I'm making a map that is almost finished, unless by one thing: it doesnt ends. I mean. I have made an exit elevator, but it never ends. I see only a black screen at the end of the level. And nothing happens.
What can I do?
Hello! Im new here, and I'm making a map that is almost finished, unless by one thing: it doesnt ends. I mean. I have made an exit elevator, but it never ends. I see only a black screen at the end of the level. And nothing happens.
What can I do?

Quote from RectorRocks on July 7, 2013, 4:19 amCreate a point_clientcommand. Name it something.
Create a trigger_once above/below (depends on where the departure elevator goes) the elevator so that when the elevator goes up/down, it hits and triggers it.
Go to the Outputs tab of the trigger_once.
Add this output:OnTrigger -> <name of point_clientcommand> -> Command -> Disconnect
Hope this helps!
Create a point_clientcommand. Name it something.
Create a trigger_once above/below (depends on where the departure elevator goes) the elevator so that when the elevator goes up/down, it hits and triggers it.
Go to the Outputs tab of the trigger_once.
Add this output:
OnTrigger -> <name of point_clientcommand> -> Command -> Disconnect
Hope this helps!

Quote from TeamSpen210 on July 7, 2013, 4:20 amDo the above plus (for steam workshop intergration):
Add a func_instance that inserts the file "instances/p2editor/global_pti_ents.vmf". Give it a name. Put a trigger in the exit lift shaft triggering the global ents' input named instance:@global_pti_level_end;trigger or something like that (it'll show up in the dropdown). This will trigger the steam workshop vote page to come up when published.
Do the above plus (for steam workshop intergration):
Add a func_instance that inserts the file "instances/p2editor/global_pti_ents.vmf". Give it a name. Put a trigger in the exit lift shaft triggering the global ents' input named instance:@global_pti_level_end;trigger or something like that (it'll show up in the dropdown). This will trigger the steam workshop vote page to come up when published.
[spoiler]- BEE2 Addons | (BEE2)
- Hammer Addons
Maps:
- Crushed Gel
- Gel is Not Always Helpful[/spoiler]

Quote from Gemarakup on July 7, 2013, 11:39 amYou don't need the point_clientcommand for the workshop, and if you're using the PTI elevator instance, you don't need to do anything. And the rating dialogue will only pop-up when you're playing your map from the workshop.
You don't need the point_clientcommand for the workshop, and if you're using the PTI elevator instance, you don't need to do anything. And the rating dialogue will only pop-up when you're playing your map from the workshop.
Quote from fedebenarg on July 7, 2013, 1:28 pmOk. I do everything you said to me, but nothing happens. Maybe helps that im using the PTI elevator instance, and that in Expert mode, it says "No elevator transition found defaulting to transition", or something like that in white, and then "logic @trasition from map has been triggered, but its awaiting refire" and the something that i not remember, in red.
Ok. I do everything you said to me, but nothing happens. Maybe helps that im using the PTI elevator instance, and that in Expert mode, it says "No elevator transition found defaulting to transition", or something like that in white, and then "logic @trasition from map has been triggered, but its awaiting refire" and the something that i not remember, in red.
Quote from HMW on July 7, 2013, 2:09 pmWhen you look through the console messages, is there one line that has just the name of your map, without any other text? If so, then it's going to work fine once you upload your map to the workshop. Don't worry about the other two messages, those are false alarms.
I just checked the PTI elevator instances. The one you should be using is:
- Code: Select all
instances/p2editor/elevator_departure_logic.vmf
It is a version of the "logic" part of the elevator (IE the car, tube and fan) that calls up the rating window when the player enters it.
When you look through the console messages, is there one line that has just the name of your map, without any other text? If so, then it's going to work fine once you upload your map to the workshop. Don't worry about the other two messages, those are false alarms.
I just checked the PTI elevator instances. The one you should be using is:
- Code: Select all
instances/p2editor/elevator_departure_logic.vmf
It is a version of the "logic" part of the elevator (IE the car, tube and fan) that calls up the rating window when the player enters it.
Other Portal 2 maps: Medusa Glare
Portal 1 maps: Try Anything Twice | Manic Mechanic
Quote from fedebenarg on July 7, 2013, 2:19 pmOk. Im using that instance you mentioned. That means that I have no way to know if my map had ended until I release it in the workshop?
Ok. Im using that instance you mentioned. That means that I have no way to know if my map had ended until I release it in the workshop?
Quote from Lpfreaky90 on July 7, 2013, 2:28 pmfedebenarg wrote:Ok. Im using that instance you mentioned. That means that I have no way to know if my map had ended until I release it in the workshop?Basically not if you go for the global_pti_method; unless you change the relay a bit to display a text or anything, but I highly discourage you to do that. As soon as the map is released to the workshop subscribe to it and play it see if it works. If it doesn't; just edit the file
But as long as you trigger the global_pti_ents it should work just fine!
Basically not if you go for the global_pti_method; unless you change the relay a bit to display a text or anything, but I highly discourage you to do that. As soon as the map is released to the workshop subscribe to it and play it see if it works. If it doesn't; just edit the file
But as long as you trigger the global_pti_ents it should work just fine!
Quote from fedebenarg on July 7, 2013, 2:32 pmThanks to all of you! I will release my map now and test it
Thanks to all of you! I will release my map now and test it