Skip to content
This repository has been archived by the owner on Dec 18, 2017. It is now read-only.

Quick relations preview #269

Closed
mp0011 opened this issue Jan 25, 2017 · 4 comments
Closed

Quick relations preview #269

mp0011 opened this issue Jan 25, 2017 · 4 comments
Assignees

Comments

@mp0011
Copy link

mp0011 commented Jan 25, 2017

I like the leaders avatars improvement to show points and stuff.

Can You improve it more by adding relations info? Just to quick view who is in war/alliance/friendly with, without switching to each leader?

Option #1
Arrows between hovered avatar and other leaders. Red for war, light blue for alliance, etc.
in example, Gandhi declared war on Spain. War between Poland and Japan is not visible until I hover Jadwiga or Hojo.

image

You may also put some additional info above the line, eg. how many turns there are fighting, or which Casus Belli was used.

Option #2
Another option, maybe simpler, is to change those little relations icons when one of avatars is hovered.
In this case, When Spain is hovered, Gandhi's yellow face should turn to red war icon, and Hojo's into green (if they are friendly). But then, you can't tell who is the invader...

In Civ III, there was simple relations screen, where you could quickly see every war, alliance, defensive pact, trading relations and all other possible relations. I really miss it since then...

@Sesostrismage
Copy link

Maybe instead of a hover, having a report screen like the global relations from InfoAddict in Civ 5?

@chaorace
Copy link
Member

I am somewhat worried about increasing the complexity of this part of the UI any further. There's already lots of info compressed into that space and I don't really see much merit to having that specific extra chunk of info inserted there. I think having a separate panel for showing this info is going to be the right call, but preferably with some sort of quick-access shortcut for accessing it from the main map ui

@ricanuck
Copy link

ricanuck commented Mar 22, 2017

This I just did, and I think you will all find it very cool... I am waiting for chaorace to catch up with the PRs and then add the code that solves this. Basically, when hovering with mouse over any leader icon while holding ALT down, all relation icons will change to reflect relations towards the "mouse-overed" leader. It stays like that until the normal events that update the ribbon, or until the player leader is right-clicked, or until the player leader is "mouse-overed". Super cool.
Relation tooltips are shown for the relation icons only if the selected leader is the player. Also, to make it clear for the player who is selected, the "YouIndicator" (golden corona surrounding the leader icon) envelopes the selected leader.
Cool, isn't it?

Coming soon... it's ready, just don't want to mix it up with the changes already PRd in diplo ribbon.

@ricanuck
Copy link

BTW, I did not test this with the hanging banner, I am still trying to convince chao to get rid of it and use the extended tooltip (PRd) and now this... come on, Chris...

@ghost ghost assigned ricanuck Mar 23, 2017
@ghost ghost added in progress and removed enhancement labels Mar 23, 2017
@ghost ghost removed the in progress label Mar 23, 2017
chaorace pushed a commit that referenced this issue Mar 23, 2017
This introduces a new feature to CQUI that presents the same information that can be found inside the diplo screen (in the Relations section) in a quick and handy manner. Simple hold CTRL or press the middle mouse button while hovering over a leader icon to change the displayed diplomatic attitudes to that of the selected leader
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants