Jump to content


Photo

Switching worldmaps


  • Please log in to reply
4 replies to this topic

#1 vecna808

vecna808
  • Member
  • 2 posts

Posted 13 April 2017 - 04:29 AM

Hi
There are 2 worldmaps in tob, worldmap.wmp and tobmap72.wmp, how does the game switch between the 2? Can one add more worldmaps and likewise switch between them ? If that's not possible , the wmp format has provision for multiple worldmaps , within one .wmp file, how does one acess these other maps ?
Thanks

#2 Argent77

Argent77
  • Administrator
  • 1397 posts

Posted 13 April 2017 - 04:51 AM

In Enhanced Edition games it can be done with the script action SetWorldmap("newmap"). There is no such script action in the original games though, so I don't know whether it's possible at all. TobEx doesn't appear to provide such a command either.



#3 Roxanne

Roxanne

    Modder

  • Member
  • 3564 posts

Posted 13 April 2017 - 05:51 AM

I only know about worldmap.wmp and worldm25.wmp for the ToB part. In a mod I once made for the ToB part it was as easy as naming the map I wanted to have in ToB to worldm25.wmp.

In fact I used the same worldmap for all parts of the game, so simply adding everything to worldmap.wmp and then
COPY ~override/worldmap.wmp~ ~override/worldm25.wmp~

did that)

In game the map is automatically switched when ToB starts, just like all the 25 scripts or 25 dialogues.


Edited by Roxanne, 13 April 2017 - 05:52 AM.

The Sandrah Saga

another piece of *buggy, cheesy, unbalanced junk*

 


#4 vecna808

vecna808
  • Member
  • 2 posts

Posted 13 April 2017 - 08:54 AM

In Enhanced Edition games it can be done with the script action SetWorldmap("newmap"). There is no such script action in the original games though, so I don't know whether it's possible at all. TobEx doesn't appear to provide such a command either.


Thanks a LOT mate, it is a EE mod I am writing, ( suppose should have said that lol ).
As soon as I have uploaded it to github, I will have quite an announcement to make :)

#5 K4thos

K4thos
  • Modder
  • 315 posts

Posted 14 April 2017 - 05:57 AM

In Enhanced Edition games it can be done with the script action SetWorldmap("newmap"). There is no such script action in the original games though, so I don't know whether it's possible at all. TobEx doesn't appear to provide such a command either.


Thanks a LOT mate, it is a EE mod I am writing, ( suppose should have said that lol ).
As soon as I have uploaded it to github, I will have quite an announcement to make :)

I can confirm that SetWorldmap works correctly in EE. Whenever you switch the map, WMP is moved to the save (Baldur.sav) if it doesn't exists there yet, so you can freely switch between maps and all progress made is saved within them.