Using a second or other map in a dmod?
Besides LOT (FB3), is there any other dmods that use multiple maps? Or is there any dmod that has used load_map() command?
As far as Im aware, FB3 is the only multi-map dmod and no dmod has made use of the load_map() command.
I do not believe any have. It is also worth mentioning that despite FB3 having two maps, it was never updated to use load_map(). The logistics involved in seamless use, particularly with saves, may present a challenge.
Hmm, I was actually talking to Rob a while back about possibly adding multi-map editing support to the as of yet unreleased WDED24... I kind of ran into some technical issues related to the editing action undo queue with having multiple maps, so I didn't implement that idea in the end
I don't think any other DMOD than FB3 ever used it... Although it would be interesting!...
I'm not sure about seamlessly swapping back and forth, but at the very least, it should work as an one off thing?

I don't think any other DMOD than FB3 ever used it... Although it would be interesting!...
I'm not sure about seamlessly swapping back and forth, but at the very least, it should work as an one off thing?
Yeah, provided the new commands like load map and clear editor info work as documented I think it should be pretty straightforward to do once. But since no one's really used them it wouldn't surprise me if they have... quirks.
I have tested load_map and clear_editor_info in the past and it seemed to work fine and that was years ago in 1.08.
Obviously haven't tested it extensively, but it seemed to work fine.
Only thing is I don't believe the new map is saved in the save file(I could be wrong, I'd need to test). But if not you'd have to somehow handle that on load game.
Also obviously the whole thing of you can't let the player return to previous maps due to the clear_editor_info.
Obviously haven't tested it extensively, but it seemed to work fine.
Only thing is I don't believe the new map is saved in the save file(I could be wrong, I'd need to test). But if not you'd have to somehow handle that on load game.
Also obviously the whole thing of you can't let the player return to previous maps due to the clear_editor_info.
I checked and it does get saved/loaded, or it's supposed to anyway. This is mentioned in the reference entry for save_game but not for load_map.
Yeah I was looking at the load_map() and clear_editor_info() stuff which prompted the question. Not that I'm thinking about doing it at the moment, it just occurred to me that I could've done a proper end world thing with PQ similar to FB3. Although using load_tile() and visions might achieve the same result with somewhat tighter control I'm thinking... Just random thought experiments.