Snarkpit Articles


The HL2 level changes are the same as in HL1 so I'll just refer you to that. This tut is about dealing with the bugs brought along with HL2

HL1 level change tutorial: www.snarkpit.com/editing.php?page=tutorials&game=HL&id=132

With HL2 there are two (known) bugs:

Bug 1: No matter where you put your info_landmark it will always spawn on the origin. However, the excellent Team Deathmatch tutorial here gave me an idea for the solution:
  1. Put the info_landmark where you want the player to be when your level changes

    EDIT: I still haven't figured out how to, for instance, enter, exit and then return to the level - I think it may have something to wth filters, or maybe having two teleports - one for the entrance to the level which deactivates itself and activates the second teleport that will take you to the exit after it teleports you

  2. On the orgin make a little room. Covering the origin have a trigger_teleport and, you guessed it, set its target to the landmark!
Bug 2: For some reason there always has to be another trigger_changelevel that you can get back to the previous one. So simply place the changelevel where the player can't get to if you don't want them going back!


Post ReplyView Topic
Discussion
0 starsPosted by FIDDLER on Mon Jun 25th 2007 at 9:39am

One year later and no new tutorial? smiley
[author]
Posted by Guessmyname on Mon Nov 13th 2006 at 4:53pm

For Your Infomation: This tutorial is a load of crap. The first time I tried level transitions, I'd gotten things wrong, basically, and instead of things 'where did I mess up', I thought 'Engine Bug! Curses!'. Yes, you may use this as evidence that I am an idiot.

Changelevels work fine if you know how. I might write a tutorial on how to do it properly later on...
0 starsPosted by OtZman on Thu Dec 29th 2005 at 2:58pm

The link to "HL1 level change tutorial" should be changed to .net instead of .com.
[author]
Posted by Guessmyname on Sun Jun 19th 2005 at 6:13pm

I've never got that. Ask in the forums
0 starsPosted by Madcow on Sun Jun 19th 2005 at 11:06am

I don't got that problem (spawn at the orgin)
But I do got the ai disabled problem,
when I go through, the ai gets disabled.. :S
[author]
Posted by Guessmyname on Fri Feb 18th 2005 at 9:39am

I never had that problem in HL1 though... wierd.
0 starsPosted by Valve_Assassin on Thu Feb 17th 2005 at 4:06pm

The second bug is not unique to HL2, it was like that in HL1 as well.
[author]
Posted by Guessmyname on Wed Jan 12th 2005 at 8:07pm

Not with me...

I never needed a way back in HL1
0 starsPosted by JFry on Wed Jan 12th 2005 at 8:05pm

I'm not sure about the first one, as I haven't attempted a hl2 level change, but the second bug really isn't a bug at all I'd say. It was like that in hl1 as well.
Post ReplyView Topic