Jump to content

Next level


Recommended Posts

Hi! How can I change next map? When I use "Exit_Normal" starts next level by number (?). Is there script to spawn player on self defined map?

Share this post


Link to post

It's defined in MAPINFO, you'll have to create your own MAPINFO, This will define which map will be loaded after exiting that map .

E.G :
map map01 "DABOOM !"
{
next = 2
}

map map02 "Woohoo !"
{
next = 4
}

...etc

Share this post


Link to post
Krechet777 said:

Thanks. But, is there any way to have two exits on map leeding to different maps?

I'd assume you'd have to tag one as a secret exit so...

map map01 "Example"
{
next = 2
secretnext = 15
}

Share this post


Link to post

Oh, this is good idea!
But two questions (i'm newbie, sorry)
1) What is MAPINFO? (I'm using GZDoom builder)
2) Two next maps (standart and secret) is good enough, but is there any way to start map by my choise (e.g. Exit(my_map_name))?

Share this post


Link to post

MAPINFO does what you wanted ,Put secret exit in second level, and define it in MAPINFO by secretnext:

map MAP10 "YOUR MAP NAME"
{
next = "MAPXX" - this defines the next map for normal exit .
secretnext = "MAPXX" - this defines the next map for secret exit .
}

Share this post


Link to post

No, with MAPINFO I can create two exits: standart and secret, but I want to MORE next maps
Edit:
There is RETURN trigger whitch act when player RE-enter level, so I'm sure there is way to manage next level. but I dont know how...

Share this post


Link to post

You're gonna need an ACS Script to achieve this . Of course you're gonna have to put more than 1 exit .
EDIT : For instance :

#Include "zcommon.acs"
Script 1 (void)
{
Teleport_NewMap (map, 0, 0);
}

and give lindef effect 80 to the exit, set script number, and activation method ... that's all .

Share this post


Link to post

Thanks, but seems it work only with maps MAP*, if mapname starts with another string (not "map") it will give you error: "No player 1 start" (but there it is)

Share this post


Link to post

I Already suggested MAPINFO, but he wanted to put multiple exits for his map that lead to many Levels (Not only Normal and Secret) , Looks like the only trick is Teleport_NewMap .

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...