Using the "map" console command to go to one of the campaign missions will actually take you to the level after that.
Easy enough to reproduce. Start a new game and type "map $bullet" into the console. It'll print "Entering 2..." and load $dozer.map instead.
[0.4.0] [SW] "map" console command acts weird
Moderator: Raze Developers
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.
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.
-
- Posts: 7402
- Joined: Fri Oct 22, 2004 9:22 am
- Graphics Processor: nVidia with Vulkan support
- Location: MAP33
-
- Lead GZDoom+Raze Developer
- Posts: 49189
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [0.4.0] [SW] "map" console command acts weird
Probably some stupid miscounting somewhere. I think it comes from copy/pasting the code and forgetting to change that this is 0-based while the other games are 1-based.
-
- Lead GZDoom+Raze Developer
- Posts: 49189
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
-
- Posts: 13836
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: [0.4.0] [SW] "map" console command acts weird
EDuke32 is 0-based, I found that out the hard way when implementing levelwarp and wondering why I kept going to the wrong map.Graf Zahl wrote:Probably some stupid miscounting somewhere. I think it comes from copy/pasting the code and forgetting to change that this is 0-based while the other games are 1-based.
-
- Lead GZDoom+Raze Developer
- Posts: 49189
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [0.4.0] [SW] "map" console command acts weird
I know that EDuke is 0-based. My own map list is also 0 based. The mistake I made was assuming that the "swtrek" cheat was 1-based.