Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Level-changing doors??
FragdaddyXXL Offline
Member

Posts: 136
Threads: 20
Joined: Apr 2012
Reputation: 7
#1
Level-changing doors??

Simple question:
How does one create one of those level-changing doors in the level editor?
You come up to it, you click on it, and level-changing script runs.
I couldn't find it on the wiki. Sounds like it should be there Sad

Dark Seclusion Here
04-09-2012, 09:34 PM
Find
Strembitsky Offline
Senior Member

Posts: 254
Threads: 37
Joined: Feb 2012
Reputation: 3
#2
RE: Level-changing doors??

Entities > Doors > any door the the level_ prefix.

The Nightmares v1.0 - Dreadful Fires WIP
04-09-2012, 10:20 PM
Find
FragdaddyXXL Offline
Member

Posts: 136
Threads: 20
Joined: Apr 2012
Reputation: 7
#3
RE: Level-changing doors??

And what would the script look like?

Dark Seclusion Here
04-09-2012, 10:35 PM
Find
Tekkie Offline
Junior Member

Posts: 17
Threads: 1
Joined: Apr 2012
Reputation: 0
#4
RE: Level-changing doors??

(04-09-2012, 10:35 PM)FragdaddyXXL Wrote: And what would the script look like?

There is no script, you can choose which map you want it to load when you choose the level door. It should be under the entity tab, and then MapFile. It's really simple to do, and doesn't require any coding at all really.

My Youtube Channel: Check out my channel, it's fairly new, but at least the toilets work!


(This post was last modified: 04-09-2012, 10:50 PM by Tekkie.)
04-09-2012, 10:49 PM
Website Find
FragdaddyXXL Offline
Member

Posts: 136
Threads: 20
Joined: Apr 2012
Reputation: 7
#5
RE: Level-changing doors??

(04-09-2012, 10:49 PM)Tekkie Wrote:
(04-09-2012, 10:35 PM)FragdaddyXXL Wrote: And what would the script look like?

There is no script, you can choose which map you want it to load when you choose the level door. It should be under the entity tab, and then MapFile. It's really simple to do, and doesn't require any coding at all really.
Thanks!



Dark Seclusion Here
04-09-2012, 11:18 PM
Find
Putmalk Offline
Senior Member

Posts: 290
Threads: 13
Joined: Apr 2012
Reputation: 15
#6
RE: Level-changing doors??

You can also change levels without the use of a level door, via the ChangeMap function.

Syntax:
ChangeMap("newlevel.map", "PlayerStartArea_1", dooropeningsound, doorclosingsound);

04-10-2012, 04:51 AM
Find




Users browsing this thread: 1 Guest(s)