Frictional Games Forum (read-only)

Full Version: Door go to different map
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For example, how would I make A door from map1 go to map2 when i enter it. It's a level door but I don't know how to make it teleport to another map
When you place the leveldoor inside your level you can click the level door, and then look around in it's properties.

The first window that appears on the right side of the editor, is standard data, like where it is placed in the level, how the rotation is, and how much it is scaled.
If you click the other tab, in the top of that window, the window will change into a new one, where you can change all sorts of things.

In this window there should be a tab called something like "map file", (I don't remember the correct name, but something like that).
It has a button with 3 dots: [...]

Click the button, and you will be able to select which level you want to change to.

Remember that if no level is selected, the game will crash, when clicking the it.


One thing that is very important when you do this, is to, in another tab, write what the StartArea is in the next level.

Usually it's PlayerStartArea_1.
Your Computer has a great tutorial about this.

Here's a collection of his tutorials: From Noob to Pro
(02-03-2013, 05:37 PM)BeeKayK Wrote: [ -> ]When you place the leveldoor inside your level you can click the level door, and then look around in it's properties.

The first window that appears on the right side of the editor, is standard data, like where it is placed in the level, how the rotation is, and how much it is scaled.
If you click the other tab, in the top of that window, the window will change into a new one, where you can change all sorts of things.

In this window there should be a tab called something like "map file", (I don't remember the correct name, but something like that).
It has a button with 3 dots: [...]

Click the button, and you will be able to select which level you want to change to.

Remember that if no level is selected, the game will crash, when clicking the it.


One thing that is very important when you do this, is to, in another tab, write what the StartArea is in the next level.

Usually it's PlayerStartArea_1.

I put the correct things in the mapfile tab but how do I script it?
(02-03-2013, 10:16 PM)megsb927 Wrote: [ -> ]I put the correct things in the mapfile tab but how do I script it?

You don't need to script anything. Once you've specified the map and player start position in the properties for the level door, you can go ahead and use it in-game.
As NaxEla said: No scripting needed.

You only have a to script it, if you want to do it without a level door.