Frictional Games Forum (read-only)
Door go to different map - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Door go to different map (/thread-20160.html)



Door go to different map - megsb927 - 02-03-2013

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


RE: Door go to different map - FlawlessHappiness - 02-03-2013

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.


RE: Door go to different map - Tiger - 02-03-2013

Your Computer has a great tutorial about this.

Here's a collection of his tutorials: From Noob to Pro


RE: Door go to different map - megsb927 - 02-03-2013

(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?


RE: Door go to different map - NaxEla - 02-03-2013

(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.


RE: Door go to different map - FlawlessHappiness - 02-03-2013

As NaxEla said: No scripting needed.

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