Please or Register to create posts and topics.

How I end my map?

Page 1 of 2Next

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?

Do you use the exit elevator Instance?

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! :thumbup:

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.

My stuff:
[spoiler]- BEE2 Addons | (BEE2)
- Hammer Addons
Maps:
- Crushed Gel
- Gel is Not Always Helpful[/spoiler]

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.

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.

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.

Sendificate series: Sendificate | A Beam Too Far | Airtime | 302
Other Portal 2 maps: Medusa Glare
Portal 1 maps: Try Anything Twice | Manic Mechanic

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?

fedebenarg 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!

Thanks to all of you! I will release my map now and test it

Page 1 of 2Next