Weird problem with an old map

Avatar
evang
14 Posts
Posted Apr 16, 2012
Recently I felt the urge to dig up my old Portal 2 map to show some friends. I played it just yesterday myself and it loaded fine, but when my friends dug it up they got stuck on the opening elevator and had to noclip down to play the map.

Sure enough, when I started the map up again today I ran into the exact same problem even though just yesterday I ran it without any roadblocks. I haven't touched Source SDK in over a year but I would really like to get to the bottom of this. I did recently install a few other maps while I was here to redownload my old one--is that any cause to this sudden change?

It isn't totally consistent; sometimes it will load fine but I'll die and the elevator will get stuck. I made the map pretty shoddily if I remember, but I still would like to fix it up if I can find the problem.

Advertisement
Registered users don’t see ads! Register now!
Avatar
ChickenMobile
2,460 Posts
Posted Apr 16, 2012
Replied 1 hour later
This is a problem with the script the elevator uses in order for it to move down.
If the map isn't in the array called MapPlayOrder[] generally it will not call the function which moves the elevator down.

You can fix this by editing the instance and manually putting it in yourself. Try searing in the TWP downloads section and find an edited instance someone has already made.

Avatar
evang
14 Posts
Posted Apr 16, 2012
Replied 19 hours later
Ah, thanks! I'm really glad those edited instances were around, because I took one look at my map and realized I have completely forgotten how everything in Hammer works.

Gotta Go Fast I'd feel weird necro-ing the forum post, so I'll just link the updated version here and be done with it (I did change a few other niggling errors but I didn't really go nuts because it's old and Hammer scares me). Thanks very much for the help!

&

Advertisement
Registered users don’t see ads! Register now!
Avatar
Lpfreaky90
2,842 Posts
Posted Apr 17, 2012
Replied 4 hours later

evang wrote:
Ah, thanks! I'm really glad those edited instances were around, because I took one look at my map and realized I have completely forgotten how everything in Hammer works.

Gotta Go Fast I'd feel weird necro-ing the forum post, so I'll just link the updated version here and be done with it (I did change a few other niggling errors but I didn't really go nuts because it's old and Hammer scares me). Thanks very much for the help!

I don't think that posting an update on an old map with a changelog is a bad thing :smile: updated maps are updated gameplay so it's interesting!