Trigger changelevel

Half-Life HL
Trigger changelevel by BJ
Posted 14 years ago2006-12-21 18:53:51 UTC • Examples • Half-Life
Loading...
Screenshot Thumbnail
Name
Trigger changelevel
By
BJ BJ
Type
Map
Engine
Goldsource
Game
Half-Life
Category
Examples
Included
BSP, RMF/VMF
Created
14 years ago2006-12-21 18:53:51 UTC
Updated
14 years ago2006-12-21 19:22:34 UTC
Views
3576
Downloads
834
Comments
3
Download

The zip contains 2 RMFs and 2 BSPs. The maps show the simplest of examples of using trigger_changelevel entities and info_landmarks.

Run "bj_example1.bsp." Go through the portal and the map changes to "bj_example2." Go back through the portal to return to bj_example1.

In each of the two maps, the portal is a brush textured with the AAATRIGGER texture. The brush is tied to a trigger_changelevel entity. The New Map property of the trigger_changelevel entity is set to the name of the "other" map - in bj_example1, it's set to "bj_example2" and, in bj_example2, it's set to "bj_example1."

The Landmark Name in BOTH trigger_changelevel entities is set to "cl1."

The portal is surrounded by simple world brushes to create a "doorway."

An info_landmark named "cl1" is placed in each map about where you want the player to end up when he goes through the doorway and changes maps.

NOTE: The info_landmarks and the trigger_changelevel brushes don't have to be in the same location in the maps. One set of entities can be on the west side of one map and on the east side of the next map. But the naming conventions described above MUST be adhered to - each trigger must point to the next map and BOTH info_landmarks MUST be named the same to go back and forth between the maps.

3 Comments

Commented 14 years ago2006-12-28 18:54:13 UTC Comment #13847
Nice example though I can use If I ever have a multipe-bsp map, and useful since I know lots of people have trouble with landmarking.

Good work, and nice explanation/description--helpful too for keywords if people are searching for using keywords and the search function.
Commented 12 years ago2008-09-02 16:32:23 UTC Comment #15183
wow nice i needed this, thanks
Commented 10 years ago2010-08-07 15:12:20 UTC Comment #18334
can this work with hl2 ?

You must log in to post a comment. You can login or register a new account.