Difference between .xml and _small.xml

DeclanTKatt

Chieftain
Joined
May 29, 2011
Messages
19
Location
Chicago, IL
This appears all over the place in the Civ5 files, for example, two files: UnitPanel.xml and UnitPanel_small.xml. The two are identical except for some formatting alterations.

What is the difference between these two (or any two like them)? Is it a resolution, widescreen/letterbox thing? If I make the same change to both files, only the change to the _small.xml file seems to have an effect for me, but I run my game in 16:9 aspect ratio... so I'm confused.

I would like my mod to be used by anyone... so will I have to make the change to both files to make it universal? Any help on this would be appreciated. Thanks.
 
You can select, in game options, to have the normal UI or the small UI. The small UI is the one with the _small bit. The game can also choose automatically, for those who don't have a large enough screen (in terms of pixels). I don't know what the cutoff is.

So, you either have the small UI selected, or you've told it to choose automatically and you have a (fairly) low display resolution.
 
That's interesting. Thanks for the response. But I don't recall seeing anything like that in my options screen. I run the game at my native resolution of 1920x1080 which is certainly not a low resolution. Let me check those options again...
 
Ahh.. I see what you mean now. Wow.. that big UI is.... BIG. I've never seen it before. But seeing as I'm making a UI mod, I guess I will have to alter both of them to make it universal. Thanks for pointing me in the right direction Sam
 
Back
Top Bottom