[0.4.0] [SW] "map" console command acts weird

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: [0.4.0] [SW] "map" console command acts weird

Re: [0.4.0] [SW] "map" console command acts weird

by Graf Zahl » Wed Feb 05, 2020 12:13 pm

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.

Re: [0.4.0] [SW] "map" console command acts weird

by Rachael » Wed Feb 05, 2020 12:10 pm

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.
EDuke32 is 0-based, I found that out the hard way when implementing levelwarp and wondering why I kept going to the wrong map.

Re: [0.4.0] [SW] "map" console command acts weird

by Graf Zahl » Wed Feb 05, 2020 4:52 am

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.

[0.4.0] [SW] "map" console command acts weird

by Kinsie » Wed Feb 05, 2020 4:44 am

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.

Top