Resource icon

Enhanced User Interface v1.29i

I understand this is the right thread for feature requests? Here's one I think would be quite useful, but I don't have the time or inclination to create myself:

Allow the player to visually overlay a radius-3 hexagon on the map, like the one you now provide when hovering over a city banner, but centered anywhere on the map. Controls would be something like ctrl+mouse-over. This could be used to find good city spots at a glance: which one captures exactly the resources I want?

Future improvements might include: highlighting where the area overlaps with existing or potential territory of existing cities.
 
I understand this is the right thread for feature requests? Here's one I think would be quite useful, but I don't have the time or inclination to create myself:

Allow the player to visually overlay a radius-3 hexagon on the map, like the one you now provide when hovering over a city banner, but centered anywhere on the map. Controls would be something like ctrl+mouse-over. This could be used to find good city spots at a glance: which one captures exactly the resources I want?

Future improvements might include: highlighting where the area overlaps with existing or potential territory of existing cities.

Hehe. I just noticed that this already exists, but it's a bit obscure: A settler needs to be selected, and you then need to hover over a tile for about two seconds.

So I guess all I'm asking is for that to be available under some modifier key (ctrl, alt, shift) at any time. No settler, no waiting 2 seconds. Just let the highlighted area follow the mouse cursor in real time.
 
Hehe. I just noticed that this already exists, but it's a bit obscure: A settler needs to be selected, and you then need to hover over a tile for about two seconds.

So I guess all I'm asking is for that to be available under some modifier key (ctrl, alt, shift) at any time. No settler, no waiting 2 seconds. Just let the highlighted area follow the mouse cursor in real time.

the function which does the thing with the settler can be found in PlotHelpManager.lua line ~750 and looks like this:
Code:
		local selectedUnit = UI.GetHeadSelectedUnit()
		local isCombatUnitSelected
		if selectedUnit then
			isCombatUnitSelected = selectedUnit:IsCombatUnit()
			if selectedUnit:CanFound( plot ) then
				g_isCityLimits = true
				local x, y = plot:GetX(), plot:GetY()
				if not OptionsManager.IsCivilianYields() then
					g_isCityYields = true
					Events.RequestYieldDisplay( YieldDisplayTypes.AREA, g_cityWorkingRadius, x, y )
				end
				for i=1, EUI.CountHexPlots( g_cityWorkingRadius ) do
					local p = EUI.IndexPlot( plot, i )
                    [I]if p == nil then
                        print("Settler selected. plot p is nil. PlotHelpManager.lua line 753. half solved by Serp by doing a break")
                        break
                    end[/I]
					local hex = ToHexFromGrid{ x=p:GetX(), y=p:GetY() }
					Events.SerialEventHexHighlight( hex, true, nil, "CityLimits" )
					local ownerID = p:GetOwner()
					if ownerID >= 0 and ownerID ~= activePlayerID or p:IsPlayerCityRadius( activePlayerID ) then
					--if p:GetCityRadiusCount() > 0 then
						Events.SerialEventHexHighlight( hex, true, nil, "OwnedFill" )
						Events.SerialEventHexHighlight( hex, true, nil, "OwnedOutline" )
					end
				end
			end
		end
(this is the version I use...I added the italic part myself, because it can happen that p is nil, which aborts the whole function. I kind of "solved" it, by just doing a break when this happens, which is not a real solution.. but does not abort the whole function)

Anyway, I think you just have to leave out the settler related things and replace them with an check if "ctrl" or simular is pressed. Unfortunately I don't know how to check this..
 
Hey guys! I've seen some streamers using this UI without deleting whole folders like city view in order for the vanilla "buy a tile" button to appear, instead of the little coin in the top left. How is this possible? Do I have to edit the .lua in the city view folder so that I can get rid of the coin button and go back to the vanilla one? If so can someone walk me through how to do this?

Also another thing I love about the UI is the notification panel folder and how it gives notifications for city boarder growth etc. However, I do not like how it makes the icons smaller, so I got rid of those diplo corner and list files which solved that issue, but I'm having a hard time figuring out how to get rid of the civ icon column on the far right of the screen. Is there also a way to make that go away without losing out on the notifications?

thanks :)

edit: btw, sorry if anyone has already touched upon this in this thread, I really can't possibly scan through 90 pages of replies to find what I'm looking for :o
 
Hey guys! I've seen some streamers using this UI without deleting whole folders like city view in order for the vanilla "buy a tile" button to appear, instead of the little coin in the top left. How is this possible? Do I have to edit the .lua in the city view folder so that I can get rid of the coin button and go back to the vanilla one? If so can someone walk me through how to do this?

Also another thing I love about the UI is the notification panel folder and how it gives notifications for city boarder growth etc. However, I do not like how it makes the icons smaller, so I got rid of those diplo corner and list files which solved that issue, but I'm having a hard time figuring out how to get rid of the civ icon column on the far right of the screen. Is there also a way to make that go away without losing out on the notifications?

thanks :)

edit: btw, sorry if anyone has already touched upon this in this thread, I really can't possibly scan through 90 pages of replies to find what I'm looking for :o

seems really important to you when you double posting this ? ^^

Can you explain in different words or maybe with screenshot/videos what you want to do?
Let me summarize what I think I understood:
1)The first thing with "buy a plot". You don't want the coin button. Instead you want a "buy a tile" button. right?
Why? I don't think it is worth the work to just change the kind of button? Or do you want more changes?
So I think a video to see, if it is not only the button, would be helpful to see, what your aim is.

2) you want to get rid of the "civ icon column". You mean the "list" of civilizations you met so far at the right, right? The only thing I can imagine why someone would deactivate this, is that it is too big for low resolution. Anyway, you can enable the points list from base game in options, to "override" this civ icon column.
Unfortunately I don't know how to disable it in the lua codes.
 
seems really important to you when you double posting this ? ^^

Can you explain in different words or maybe with screenshot/videos what you want to do?
Let me summarize what I think I understood:
1)The first thing with "buy a plot". You don't want the coin button. Instead you want a "buy a tile" button. right?
Why? I don't think it is worth the work to just change the kind of button? Or do you want more changes?
So I think a video to see, if it is not only the button, would be helpful to see, what your aim is.

2) you want to get rid of the "civ icon column". You mean the "list" of civilizations you met so far at the right, right? The only thing I can imagine why someone would deactivate this, is that it is too big for low resolution. Anyway, you can enable the points list from base game in options, to "override" this civ icon column.
Unfortunately I don't know how to disable it in the lua codes.

Yep, you got both spot on. I like to mess with UI's until I have them exactly how I like them.
For the list of civs on the right they still show up even if I enable the points list..

thanks btw
 
Thank you so much for answering this question twice ;)
I think this answer can't be often enough in this thread since I would have never thought to try Ctrl+Click :)

You are welcome :)

I agree that this is an important thing that needs to be known by anyone who plays MP using EUI. I guess having this feature listed in the Version History is good but apparently not enough.

See Version history at the first page of this thread, check Version 1.23 which says:
Add control-click action on civilization ribbon leader icon to declare war (BNW only)"

BTW, I meant no offense to you when I mentioned the option for searching with keyword "war", it was just an attempt to make the process easier for all users who look for an answer. Not all, but many questions have been raised and answered before, so searching and finding an answer gives an immediate solution as opposed to posting a question and waiting for an answer, which may or may not come in a few days.
 
Sadly, this nice mod is not compatible with Whoward's UI - City Expansion. It allows the player to choose which tile will be claimed by cultural expansion, so I strongly recommend the author to consider talking to Whoward and merging things.

I liked what I saw here, but it is impossible for me to pass UI - City Expansion, it is too good.
 
Sadly, this nice mod is not compatible with Whoward's UI - City Expansion. It allows the player to choose which tile will be claimed by cultural expansion, so I strongly recommend the author to consider talking to Whoward and merging things.

I liked what I saw here, but it is impossible for me to pass UI - City Expansion, it is too good.

I wrote it some days/weeks ago here in this thread that the mod IS partly compatible ;)
Just the CityView files are not.
So you can simply delete the CityView Files from UI-City Expansion. Then it works without problems ;)

And maybe you should have a look at the improvements I made to the Mod UI-City Expansion ;)
Choose city tile, set for city! (UI-CityExpansion)

This is basically UI-City Expansion, but with an additional building, which lets you choose for which city you want it enabled and for which not ;)
 
How can Marbozir see things so different, he can see the horses icon, oil and many other things and i don't.
Screenshot of what i see
Spoiler :
 
How can Marbozir see things so different, he can see the horses icon, oil and many other things and i don't.
Screenshot of what i see
Spoiler :

Icons like oil and other strategic ressources are only displayed after discovering them ;)

@CaptainMKirk:
In the screenshot from Kaitoh you see, that enabling the point list, should disable the civ leader portraits on the right. If it doesn't work on your side, I don't know why...
 
Icons like oil and other strategic ressources are only displayed after discovering them ;)

@CaptainMKirk:
In the screenshot from Kaitoh you see, that enabling the point list, should disable the civ leader portraits on the right. If it doesn't work on your side, I don't know why...

Yeah but he can see lots of resources with those icons on the first turns while i don't
Spoiler :
 
He can see the sheeps/diamonds and salt and now look to what i see
Spoiler :
ah, that is what you are talking about. You should explain it more detailed next time ;)

This has nothing to do with EUI I think.
I think you can set this on the down right next to the minimap... but not quite sure..

edit:
but your screenshoot looks strange... I wonder why some yields (apple, production..) are displayed, while other not...
Do you use additional mods or DLCs downloaded from forums? (so non official DLCs like this EUI mod)
 
ah, that is what you are talking about. You should explain it more detailed next time ;)

This has nothing to do with EUI I think.
I think you can set this on the down right next to the minimap... but not quite sure..

edit:
but your screenshoot looks strange... I wonder why some yields (apple, production..) are displayed, while other not...
Do you use additional mods or DLCs downloaded from forums? (so non official DLCs like this EUI mod)

Ohhh you just solved all the problems, i didn't know there were options on the left of the mini map since i'm a newbie at this type of game :thanx:
 
Just installed EUI for the first time. Everything seems to work except that I have no unit panel. I can move units and use them, but it's difficult to tell which unit is selected and which one is not without having access the the unit panel in the bottom left. Any idea what the problem could be?
 
Just installed EUI for the first time. Everything seems to work except that I have no unit panel. I can move units and use them, but it's difficult to tell which unit is selected and which one is not without having access the the unit panel in the bottom left. Any idea what the problem could be?

It is very sure, that anothoer mod you use causes problems.
It can be a real mod, or another "DLC like" mod, like it is EUI, which you installed in DLC folder.
Try to delete one after the other, to find out which in combination with EUI is causing the problem.
 
I'm having a problem with the mod. My tooltips have stopped working all of a sudden, I have both the primary tooltip thing set to .3 seconds and the second one to 0 seconds. It worked for a while but now my tooltips have stopped appearing. Did a reinstall of the mod and still no tooltips. Any ideas of what's causing this or how I could fix it?

EDIT: I tried without mods and it's one of my mods that is doing it, I have no clue as to which one it could be though. If any kind sould out there could look at this mod list and tell me which one is causing this problem you shall recieve a virtual cookie.

Mod list
Spoiler :
https://steamcommunity.com/sharedfiles/filedetails/?id=116236628
https://steamcommunity.com/sharedfiles/filedetails/?id=320198886
https://steamcommunity.com/sharedfiles/filedetails/?id=461550380
https://steamcommunity.com/sharedfiles/filedetails/?id=317625966
https://steamcommunity.com/sharedfiles/filedetails/?id=322515325
https://steamcommunity.com/sharedfiles/filedetails/?id=321319743
https://steamcommunity.com/sharedfiles/filedetails/?id=322554338
https://steamcommunity.com/sharedfiles/filedetails/?id=183039194
https://steamcommunity.com/sharedfiles/filedetails/?id=115503885
https://steamcommunity.com/sharedfiles/filedetails/?id=114654710
https://steamcommunity.com/sharedfiles/filedetails/?id=112533239
https://steamcommunity.com/sharedfiles/filedetails/?id=112500384
https://steamcommunity.com/sharedfiles/filedetails/?id=109300782
https://steamcommunity.com/sharedfiles/filedetails/?id=103369765
https://steamcommunity.com/sharedfiles/filedetails/?id=319530614
https://steamcommunity.com/sharedfiles/filedetails/?id=314213410
https://steamcommunity.com/sharedfiles/filedetails/?id=312060464
https://steamcommunity.com/sharedfiles/filedetails/?id=82186217
https://steamcommunity.com/sharedfiles/filedetails/?id=170325798
https://steamcommunity.com/sharedfiles/filedetails/?id=79544687
https://steamcommunity.com/sharedfiles/filedetails/?id=79000477
https://steamcommunity.com/sharedfiles/filedetails/?id=177650706
https://steamcommunity.com/sharedfiles/filedetails/?id=173704558
https://steamcommunity.com/sharedfiles/filedetails/?id=103283500
https://steamcommunity.com/sharedfiles/filedetails/?id=130289827


EDIT 2: You can add the Ocean cities mod to the incompatibility list.
 
I'm having a problem with the mod. My tooltips have stopped working all of a sudden, I have both the primary tooltip thing set to .3 seconds and the second one to 0 seconds. It worked for a while but now my tooltips have stopped appearing. Did a reinstall of the mod and still no tooltips. Any ideas of what's causing this or how I could fix it?

EDIT: I tried without mods and it's one of my mods that is doing it, I have no clue as to which one it could be though. If any kind sould out there could look at this mod list and tell me which one is causing this problem you shall recieve a virtual cookie.

Mod list
Spoiler :
https://steamcommunity.com/sharedfiles/filedetails/?id=116236628
https://steamcommunity.com/sharedfiles/filedetails/?id=320198886
https://steamcommunity.com/sharedfiles/filedetails/?id=461550380
https://steamcommunity.com/sharedfiles/filedetails/?id=317625966
https://steamcommunity.com/sharedfiles/filedetails/?id=322515325
https://steamcommunity.com/sharedfiles/filedetails/?id=321319743
https://steamcommunity.com/sharedfiles/filedetails/?id=322554338
https://steamcommunity.com/sharedfiles/filedetails/?id=183039194
https://steamcommunity.com/sharedfiles/filedetails/?id=115503885
https://steamcommunity.com/sharedfiles/filedetails/?id=114654710
https://steamcommunity.com/sharedfiles/filedetails/?id=112533239
https://steamcommunity.com/sharedfiles/filedetails/?id=112500384
https://steamcommunity.com/sharedfiles/filedetails/?id=109300782
https://steamcommunity.com/sharedfiles/filedetails/?id=103369765
https://steamcommunity.com/sharedfiles/filedetails/?id=319530614
https://steamcommunity.com/sharedfiles/filedetails/?id=314213410
https://steamcommunity.com/sharedfiles/filedetails/?id=312060464
https://steamcommunity.com/sharedfiles/filedetails/?id=82186217
https://steamcommunity.com/sharedfiles/filedetails/?id=170325798
https://steamcommunity.com/sharedfiles/filedetails/?id=79544687
https://steamcommunity.com/sharedfiles/filedetails/?id=79000477
https://steamcommunity.com/sharedfiles/filedetails/?id=177650706
https://steamcommunity.com/sharedfiles/filedetails/?id=173704558
https://steamcommunity.com/sharedfiles/filedetails/?id=103283500
https://steamcommunity.com/sharedfiles/filedetails/?id=130289827


EDIT 2: You can add the Ocean cities mod to the incompatibility list.

Ocean cities sounds nice :)
But yes, in the describtion you can read:
* Conflicts with mods that change PlotHelpManager.lua

And EUI changes exactly this file. And this file is the one that shows the plot information ;)

To make it compatible, you have to merge both files.
 
Top Bottom