Diplomacy World View(Released)

Human Crouton

Prince
Joined
Jul 27, 2011
Messages
441
No longer must you memorize every relationship in the world before making diplomatic decisions.

VEieRG1.jpg


Overview
Aristos made an excellent mod called "Extended Diplomacy Ribbon" a few weeks back, and one of the first things I thought of upon using it was how useful it would be to see this information in the diplomacy screen. So I added that, and the minimap to the diplomacy screen to create this mod.

The Diplomacy World View allows you to view stats of all of the empires you've met, and the world map while making diplomatic decisions. This overlay will show up in all diplomacy screens.

This mod is designed to answer all of the questions you have when conducting diplomacy. Is this person asking for friendship on good relations with my allies? Are they surrounded by enemies? Can they hold their own in a fight?

Whether you are trading, or being asked for friendship, or even just being yelled at; the overlay will show up and give you the data you need to make an informed decision.


Game Version Compatibility
Diplomacy World View works with both the base game and R&F. It was mostly tested in R&F however.

The base game will have a slight graphical issue where the diplomacy ribbon will cut off a little bit on the right when in the diplomacy screen. This does not affect the usability though.


How it works
The Diplomacy Ribbon

Whenever the diplomacy screen opens, it will now show the diplomacy ribbon and the minimap on the right side of the screen.

I've edited Aristos' Extended Diplomacy Ribbon slightly to make it have a more consistent behavior when being displayed on two screens instead of the one screen that mod was originally intended for.
-Hover over any leader to see their stats.
-Right-click on any leader to see their relationship with other leaders.

The minimap
The minimap will now show up on the diplomacy screen. It will also open, close, and rearrange itself as you open forms and screens to prevent it from overlapping with other screens.

The minimap will hide itself during wonder videos, and when tech trees, civics trees, etc are shown. When those screens are closed, the minimap will expand itself again. The minimap will also remember if the user had previously manually collapsed the minimap, and will keep the minimap collapsed until the user expands it themselves.


Mod Compatibility
Diplomacy World View is compatible with most mods. The exceptions are that it will not work with mods that edit the DiplomacyActionView.xml.

I got the minimap to appear on the diplomacy screen by changing its draw order in the InGame.lua file. It is now considered a UserInterface and therefore is drawn last and above all other controls. For this reason, I had to write procedures to move the minimap around as the user interacts with the other UI elements so that the minimap would not get in the way.

It will also have minor problems with anything that changes the launchbar, since the minimap movement relies on specific events fired by the launchbar, and launchbar mods will not have these. but it will still work and be functional. I use mods that add functions to the launchbar, and the only issue is that the map will collapse or expand are the wrong time, but that is no problem because you can always manually adjust whether or not the map is expanded or collapsed.

Most mods that edit the minimap will still work. I have been using mods that edit the minimap with this mod, and have seen very little issue with them. One example would be screenshot mode in Sukitact's Simple UI Adjustments Screenshot Mode. This is likely because of the drawing issue mentioned above.

Bug Reporting
There are some small bugs concerning the movement of the map, but nothing game breaking or too annoying. Let me know any issues you have in this thread. I'd like to get this out to the steam workshop sometime in the next couple of weeks after I've gotten some feedback.

How To Install
Download the attacehd .zip file and extract it to your mods folder. (Usually C:\Users\[User]\Documents\my games\Sid Meier's Civilization VI\Mods)

From there, just activate it in game like any other mod.
 

Attachments

Last edited:
New version uploaded:
-Improved map reaction to opening and closing of trade, espionage, and governor panels.
 
Back
Top Bottom