Krechet777 Posted August 29, 2015 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? 0 Share this post Link to post
snapshot Posted August 29, 2015 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 0 Share this post Link to post
Krechet777 Posted August 29, 2015 Thanks. But, is there any way to have two exits on map leeding to different maps? 0 Share this post Link to post
Gentlepoke Posted August 29, 2015 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 } 0 Share this post Link to post
Krechet777 Posted August 29, 2015 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))? 0 Share this post Link to post
Krechet777 Posted August 29, 2015 There is no questions about MAPINFO, I got it. But second question is stil alive) 0 Share this post Link to post
snapshot Posted August 29, 2015 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 . } 0 Share this post Link to post
Krechet777 Posted August 29, 2015 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... 0 Share this post Link to post
snapshot Posted August 29, 2015 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 . 0 Share this post Link to post
Krechet777 Posted August 29, 2015 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) 0 Share this post Link to post
scifista42 Posted August 29, 2015 Indeed, Teleport_NewMap uses Levelnum to determine the level. Levelnum is set by default when the mapname is in MAPXX format, but if the format is different, Levelnum can be set manually in MAPINFO, and if you plan to use Teleport_NewMap, you should set it manually. Info here: http://zdoom.org/wiki/MAPINFO/Map_definition 0 Share this post Link to post
snapshot Posted August 29, 2015 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 . 0 Share this post Link to post