Level Change Not Working Created 18 years ago2005-12-17 18:54:35 UTC by HeAdCrAb KILLA HeAdCrAb KILLA

Created 18 years ago2005-12-17 18:54:35 UTC by HeAdCrAb KILLA HeAdCrAb KILLA

Posted 18 years ago2005-12-17 18:54:35 UTC Post #152902
One of my level changes is not working. I have the landmarks (same name) in each of the maps with the trigger_changelevels but it doesn't work right. A trigger_changelevel is triggered (not by the player) in the previous map to the next map. Once the new map loads, it appears that the player is "stuck" in the floor or something and the map "whirls" around and blurs out the screen. WTF! I've tried a bunch of different things but I can't seem to figure out what's wrong. Please help!
Posted 18 years ago2005-12-17 19:22:43 UTC Post #152913
You probably placed the landmarks in the wrong place. Remember that the player starts in the next level at the same distance from the landmark as he was in the previous level - the landmark entities are a solid point, considered to be the same location in both levels (while they don't have to be placed in the same spot, they're the comparing point, so to say).

In other words, if you're 20 units below the landmark in level 1, and the trigger_levelchange is triggered, you'll end up 20 units below the landmark in level 2.
Posted 18 years ago2005-12-17 20:07:46 UTC Post #152922
Oh I get ya! I understand exactly what you're saying. Ok. I just need to tweak the two maps a little bit in this case. Thanks! I guess I still have to get used to the Single-Player aspect of Half-Life. The only thing is that I've used level changes before but this one's giving me trouble. It's a lot harder to change levels in between cutscenes too!
Posted 18 years ago2005-12-18 09:17:02 UTC Post #152990
I'd say, test the level change without those camera's first, so you'll have it working before you can't walk around the map yourself anymore. ;)
You must be logged in to post a response.