vorians and aellis: Thanks for your continuing work to create map components, and to find the best way of doing it
I guess that would work, although this way I'd have to 'wait' for Dynamic Map to update its data before I update mine. Then again, this probably won't be noticable. Anyway, I assume those traits are static (as in, they aren't updated/changed when you change zoom or something)? And their exact position will already be according to the worldmap data, right? :unsure:
Dynamic Map does update the xml on the fly as it reads the ini file, so there's no faster way to do it than reading from the xml. One alternative is of course that you create a function in your MiniMap mod, that DM calls just after having created the map components. That way you don't have to wonder whether DM has been initlialized or not - but that function must work even when called before MiniMap has been initliazed, so coordinating the isn't that easy.
I'd love a user function (which I'd get with GetFormFromMod) that duplicates your submaps data array directly though.
You can call GetFormFromMod directly on my array_var too, can't you? But I don't create a submap data array, I just build the xml directly and then completely forgets about the submap elements. The only array I build, is an array consisting of all worldspaces that are initialized through the ini (for now, only 1). The submap xml copies zoom and set visibility based on a few traits in their parent element, which is defined in the tnoDMrect.xml file.
I experienced one strange error while using this mod (it's never appeared before i installed this mod) but i'm not really sure if it has something to do with this mod.
when opening the map, my screen became all black, then oblivion showed up in a windowed mode, but the screen was all black. my computer didn't respond to anything, except for CTRL + ALT + DEL, so i had to quit the game. i have had this for like three times now, in only 3 days.
is there a possibility that this is caused by Dynamic Map?
I cannot imagine how DM can cause this, but it is of course a possibility. But to me it sounds like there is another Windows process that gets focus for a moment, that causes it.
Interesting anomaly showing up in the game. I dropped a copy of (DC) Sutch Reborn.esp in to look up a formID for the city faction. Left the file sitting in the Data folder when I was done. It's *NOT* active in the game, however when I go to pull up the map, the map addition for Sutch has been added to the display. Still using OBSE 0019b for the moment, but I find this odd to say the least. Deleting the ESP returns to normal and the map slice is no longer displayed.
Ah, thanks. The cause is the "or_mod" variable that is used for "Open Cities Reborn - Full Merge.esp". I have forgot to reset it after each submap component initialzisation, so Sutch is visible since you have "Open Cities Reborn - Full Merge.esp" installed - or at least that's what I think is the cause (and will be the cause for similar errors). To fix it, just add
set tnoDM.or_mod to sv_Construct "" after the OCR block in Dynamic Map.ini. But I will fix it properly for next release.