We-the-People-civ4col-mod / Mod

This is the repository where the mod resides.
89 stars 37 forks source link

Could not select military units by click, another unit is selected instead #853

Open lelekov-ag opened 1 year ago

lelekov-ag commented 1 year ago

When I click onto the military units (or the ship) at the separate continent, only one unit has been selected instead of any clicked. Workaround: Selecting that units only works by "skip turn" button

Attached: Screenshot of the map fragment, where units to be selected by click are rounded by red, and the unit selected is rounded by yellow; Savegame Civ4ScreenShot0001 Marx II AD-1545-January1.zip

Branch: Develop

MrZorG33 commented 11 months ago

I also faced a similar problem (develop). load the save, the screen will center on the Baker, and try to select the Mounted Conquistador (to the right of the Baker) - the Heavy Artillery in the city below is selected instead. image test.zip

Schmiddie1979 commented 11 months ago

The save Marx II AD-1545-January1.zip cannot be used because the mod has been changed. The test.file works. I have the same issue, but have no idea what the issue may be here.

However, don't know what causes this issue. The graphic files cannot be the reason. Hence, maybe an issue which cannot be explained.

raystuttgart commented 11 months ago

We have had issues selecting Units in the past, but those were related to Unit graphics that used several Units in a "formation", like the "Colonial Guards". (The radius of the Unit graphic somehow was then way too big and extended beyond a single plot, making it difficult to select nearby Units.)

If the Artillery Unit is always selected, we could check it if there is a similar issue with that graphic. (Meaning if it is possible tht the "formation" of the graphic causes similar issues.)

It could possibly be solved by reducing the size of the Unit radius. (Or by adjusting other settings in the graphic.)

Schmiddie1979 commented 11 months ago

Strange, I had no issues with this unit so far - and I ever play the British. Nevertheless try the fix, please. maybe it works.

MrZorG33 commented 11 months ago

I updated the mod and the fix worked for my save. I also checked the save from lelekov-ag. I can only choose Line Infantry. You cannot select Dragoon by clicking. I made a short video. look at where the cursor is and the behavior of the Artillery pennant. video video 2 - if the first link doesn't work

Schmiddie1979 commented 11 months ago

Ok, Thanks. As aoutlined this should have been fixed because it was triggered - hopefully - by the bugged artillery. Please let me know if it happens again.

MrZorG33 commented 11 months ago

@Schmiddie1979 I repeat - this happens AFTER I downloaded the update.

Schmiddie1979 commented 11 months ago

Which unit is it - I can't see it in the video - please explain which unit/profession it is (veteran artillery or normal artillery?)

Schmiddie1979 commented 11 months ago

As I said, I have no further issue with the Russian units. Therefore it is extremly difficult to identity the issue.

MrZorG33 commented 11 months ago

I don’t know this, I haven’t looked. the video shows that the cursor is located several tiles away from the Artillery unit, and its pennant begins to highlight as if the cursor is above this unit.