NadTheBat
Junior Member
Posts: 38
Threads: 4
Joined: Aug 2011
Reputation:
0
|
Door doesn't load next map when clicked on.
It's basically what the title says: I have a door in my level, the name of the next map is in "MapFile" under the entity tab, and the correct StartPos is also set. Is there something I'm missing?
(This post was last modified: 08-14-2011, 08:48 PM by NadTheBat.)
|
|
08-13-2011, 10:25 AM |
|
Tesseract
Senior Member
Posts: 498
Threads: 7
Joined: Mar 2011
Reputation:
18
|
RE: Door doesn't load next map when clicked on.
(08-13-2011, 10:25 AM)NadTheBat Wrote: It's basically what the title says: I have a door in my level, the name of the next map is in "MapFile" under the entity tab, and the correct StartPos is also set. Is there something I'm missing?
did you make sure "MapFile" ends with .map
Quote:MapFile.map
|
|
08-13-2011, 12:33 PM |
|
NadTheBat
Junior Member
Posts: 38
Threads: 4
Joined: Aug 2011
Reputation:
0
|
RE: Door doesn't load next map when clicked on.
(08-13-2011, 12:33 PM)Saffire192 Wrote: (08-13-2011, 10:25 AM)NadTheBat Wrote: It's basically what the title says: I have a door in my level, the name of the next map is in "MapFile" under the entity tab, and the correct StartPos is also set. Is there something I'm missing?
did you make sure "MapFile" ends with .map
Quote:MapFile.map
Yes, the MapFile does end with .map
|
|
08-13-2011, 05:07 PM |
|
GreyFox
Member
Posts: 162
Threads: 23
Joined: Jul 2011
Reputation:
2
|
RE: Door doesn't load next map when clicked on.
Are you sure it's a level door? Do you also have it in your Script that when you interact with that entity (Door) that it Changes the Map?
-Grey Fox
Current Project
Forgotten
|
|
08-13-2011, 05:15 PM |
|
NadTheBat
Junior Member
Posts: 38
Threads: 4
Joined: Aug 2011
Reputation:
0
|
RE: Door doesn't load next map when clicked on.
(08-13-2011, 05:15 PM)GreyFox Wrote: Are you sure it's a level door? Do you also have it in your Script that when you interact with that entity (Door) that it Changes the Map?
-Grey Fox
Ahh it has to be in the script? Could you possibly put what I need to put in there? Or a link at least, because I've looked everywhere and I haven't found a single thing on doors.
|
|
08-13-2011, 07:24 PM |
|
Rownbear
Member
Posts: 157
Threads: 13
Joined: Apr 2011
Reputation:
2
|
RE: Door doesn't load next map when clicked on.
No doesnt need to be a script if you use the leveldoors, just place one out, and click it, go to entity and you'll see a box there which says Mapfile. Then just click on it and find the map you want to load in your folders.
If you're not using the leveldoors and want to use normal doors you need to script a normal player interact script followed by
ChangeMap(string& asMapName, string& asStartPos, string& asStartSound, string& asEndSound);
|
|
08-14-2011, 03:08 PM |
|
NadTheBat
Junior Member
Posts: 38
Threads: 4
Joined: Aug 2011
Reputation:
0
|
RE: Door doesn't load next map when clicked on.
(08-14-2011, 03:08 PM)Rownbear Wrote: No doesnt need to be a script if you use the leveldoors, just place one out, and click it, go to entity and you'll see a box there which says Mapfile. Then just click on it and find the map you want to load in your folders.
If you're not using the leveldoors and want to use normal doors you need to script a normal player interact script followed by
ChangeMap(string& asMapName, string& asStartPos, string& asStartSound, string& asEndSound);
Could the problem be that the door is opened with a key? Because I use the key on the door and when I try to open it I still hear the locked sound.
|
|
08-14-2011, 05:55 PM |
|
NadTheBat
Junior Member
Posts: 38
Threads: 4
Joined: Aug 2011
Reputation:
0
|
RE: Door doesn't load next map when clicked on.
Well I figured out a solution. I'm going to put a regular door that locks and make a small hallway leading to the level door. Thanks for the help anyway guys.
|
|
08-14-2011, 08:47 PM |
|
|