Jump to content

Problem Scrolling the map with BTmod


VinceBly

Recommended Posts

I'm having a problem with the map with BTmod (2.30). With the standard zoom level (150), I can only scroll down enough to just see the Fort Blueblood icon. If I zoom out, so more of the map is visible at one time, I can't scroll down enough to see all of Leyawiin. Has anyone else had this problem? If so, what parameters can be changed so one can scroll over all of the vertical extent of the map?
Link to comment
Share on other sites

Guest Tessera

I think we had a similar post awhile back. I'm not sure, but I think the "fix" had to do with your screen resolution in-game.

 

Alternatively, you could directly edit the XML files that control the map window, but I'm not very familiar with how to go about doing that.

Link to comment
Share on other sites

Alternatively, you could directly edit the XML files that control the map window, but I'm not very familiar with how to go about doing that.

Tessera, thank you for your help. Thanks to a note from Beider and my own research, I now have the full skinny on this problem. Since others may want to solve it also, I'm listing it here.

 

First, there is a minor error in the BTmod file "map_menu.xml".

 

The following line (about line number 1197):

 

<sub src="parent()" trait="_half_width"/>

 

should be changed to:

 

<sub src="parent()" trait="_half_height"/>

 

Once this change is made, you will always be able to see to the southern edge of the map. However, the map will scroll beyond the bottom edge of the map. If you want to solve this cosmetic error, use the text below which adds a new line:

 

<sub src="parent()" trait="_half_height"/>

<sub> 219 </sub>

The value to subtract (219 in the example above) depends on your setting of the zoom level. That is the value you set for _worldmapzoom in the "map_config.xml" file. The value needed in the second line above is equal to (_worldmapzoom - 13) * 1.6.

 

For example, you've set _worldmapzoom to 110. Well, 110 - 13 = 97. And, 97 * 1.6 = 155. So, the second line for this zoom level should be <sub> 155 </sub>.

 

I hope this is clear.

 

Note: Dilvish pointed out that the 1st word of the first line should be "sub", not "add". This correction has been made in the text above. vtb

Link to comment
Share on other sites

Thanks for setting me on the right track to fix this. In my "map_menu" file, I had to change the lines:

 

<copy src="me()" trait="height"/>

<sub src="parent()" trait="_half_width"/>

 

to:

 

<copy src="me()" trait="height"/>

<sub src="parent()" trait="_half_height"/>

 

This allows me to scroll past the bottom of the map.

Link to comment
Share on other sites

Dilvish, you are absolutely correct. I've corrected the mistake in my previous post. I would be happy if you would try the tweak described that makes vertical scrolling stop at the bottom of the map. It would be good to have someone else verify that it works as stated. Thanks.
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...