[All?] Bug? Teleport_NewMap doesn't work over 99

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: [All?] Bug? Teleport_NewMap doesn't work over 99

Re: [All?] Bug? Teleport_NewMap doesn't work over 99

by TimeOfDeath » Wed Jul 25, 2012 10:40 am

Ok great, thanks it works now. My bad, a lot of programming stuff is over my head. I thought the levelnum meant map map150 "map150".

Re: [All?] Bug? Teleport_NewMap doesn't work over 99

by Enjay » Wed Jul 25, 2012 10:14 am

As has been stated already, you need to used the levelnum map property. If you add that, it works.

map map150 "map150"
levelnum 150
next map150
nocrouch

instead of

map map150 "map150"
next map150
nocrouch

Also, you are using the old [wiki]MAPINFO[/wiki] format. You should use the newer format.

Re: [All?] Bug? Teleport_NewMap doesn't work over 99

by TimeOfDeath » Wed Jul 25, 2012 9:47 am

example wad: telnewmap150.wad

I do have a mapinfo lump in mine. The maps above 99 work fine with the normal exit action and console command, it's just teleport_newmap that I can't get to work (you start on map01 and can pick which map to go to). I did just notice in xwe that all maps above 99 are listed as "markers" instead of "maps" for some reason, is that a problem? I'm using doom builder 1.68.

Re: [All?] Bug? Teleport_NewMap doesn't work over 99

by Enjay » Wed Jul 25, 2012 3:43 am

[edit] beaten to it [/edit]

Not quite sure what is going wrong for you but it does work. My Burghead mod (all the map numbers are above 99) uses Teleport_NewMap for most, if not all, of the map changes and it still works with the current ZDoom release.

I don't know if this is where the problem lies or not but all my maps above 99 have a levelnum defined in MAPINFO. If yours do not have this, then try adding it and see if it makes any difference.

Re: [All?] Bug? Teleport_NewMap doesn't work over 99

by Gez » Wed Jul 25, 2012 3:38 am

Is the map number explicitly set in MAPINFO? I think the automatic numbering is only done for map names of the form MAPxx, and with two digits you can only go from 00 to 99. If you have MAP100, you need to tell it that its levelnum is 100 in the [wiki]map definition[/wiki].

[All?] Bug? Teleport_NewMap doesn't work over 99

by TimeOfDeath » Tue Jul 24, 2012 9:06 pm

I tried the action on a line and with a script, but Teleport_NewMap does nothing if the map number is more than 99.

Top