Coop Endlevel

Avatar
XnowFM
11 Posts
Posted Feb 10, 2012
I've started working with Hammer two weeks ago and am currently busy finishing my first map.
However, I'm stuck at the end and spend the last hour searching for answers on this forum, however, i did not find any (or in case there are: Im very blind).

my question:

I want my CO-OP level to end with the elevators and therefore I'm currently using the standard instance: coop_endlevel_room.vmf.
When running the map and finishing it in Portal 2, it does not disconnect (ofcourse).

Is there any tutorial on how to create my own coop endlevel room? (Or a tutorial on how to adjust the standard instance to my liking?)

Advertisement
Registered users don’t see ads! Register now!
Avatar
ChickenMobile
2,460 Posts
Posted Feb 10, 2012
Replied 4 hours later
This has been explained and done before, you need to either:
1. Create a custom transition script which you need to replace with valves OR

  1. Edit the instance (saveas dont want to replace theirs). Select the coop_manager named: coopman_exit_level (ctrl+shift+F) change the last option from a delay of 20 seconds to 0. Next find rl_start_exit_finished and replace "template_movie_level_transition->ForceSpawn" to "@command->command->disconnect"
    @command will be a point_servercommand which you will place into your instance. Remember to name it @command.

This is a very simple way of ending the map but it works.

Avatar
Jepp
134 Posts
Posted Feb 11, 2012
Replied 19 hours later

https://developer.valvesoftware.com/wik ... ortal_2%29

Useful link! Good luck with your level, always great with to play new coop maps :thumbup:

Advertisement
Registered users don’t see ads! Register now!
Avatar
XnowFM
11 Posts
Posted Feb 15, 2012
Replied 3 days later
Thank you both!

I'm close to finishing my map now, so I think I'll release it tomorrow!