Resource icon

Multiple Unit per Tile 2016-11-07

Hi,

This doesn't seem to be working for me when enabled on Rise and Fall. Each time I move I get told I am declaring war on myself
 
While I'm not on Rise and Fall, it seems like the recent patch from a couple days has caused this mod to not work right. I can't move units.
 
An update: I was able to move units, however only when the end point was in unexplored territory. Seen territory, forget it, units won't budge. The worst thing is that the author of the mod hasn't been active on Civ Fanatics in over a year.
 
That fixes the movement issue, but doesn't allow multiple units per tile, which is the point of the mod.

are you sure about this? I've been using the mod for months without that file and it worked correctly, the only difference that file makes is that it disables the "swap these two adjacent units" functionality
 
are you sure about this? I've been using the mod for months without that file and it worked correctly, the only difference that file makes is that it disables the "swap these two adjacent units" functionality
With the lua file removed, swapping is what I see. When trying to move a unit onto a tile that already has a unit, it just swaps them.
 
I have updated this mod to include changes in latest patched Civ 6 and the Rise and Fall Expansion as of 2018-06-24.
Work consisted simply of merging vendor changes into Civ6Common.lua.
It should work fine now (until another vendor update that is).
 

Attachments

I have updated this mod to include changes in latest patched Civ 6 and the Rise and Fall Expansion as of 2018-06-24.
Work consisted simply of merging vendor changes into Civ6Common.lua.
It should work fine now (until another vendor update that is).
Though I haven't had a chance to play the game recently, that's awesome if you fixed this. Thanks for doing it!
 
Hello, I just tried this mod, and I have some important comments to make.

Already, the mod works well, the units stack as expected, and the stacked unit icons are present.

However, the mod poses some problems, as soon as you use it with CQUI (a mod you simply can't do without).
I did the test with only these two mods installed, and here is what happens:
- Unable to open the civilopedia (clicking on the button does not trigger its opening).
- As soon as you switch to a screen with a leader portrait, all resource icons are displayed over the image.

I consider this mod as important as CQUI, they are the only two mods I could not do without. How to make them work together?
 
Finally, I managed to make the corrections so that CQUI would work with MultiUnit, but it requires some editing.

SOLUTION 1.
- In CQUI, go to the Assets\UI\ directory and open the civ6common.lua file.
Line 164 approximately, find:
UnitManager.RequestOperation(kUnit, UnitOperationTypes.SWAP_UNITS, tParameters);
and replace it with:
UnitManager.RequestOperation(kUnit, UnitOperationTypes.MOVE_TO, tParameters);

- In MultiUnit, open the MultiUnit.modinfo file.
Delete this:
<ImportFiles id="MULTI_UNIT">
<Items>
<File>Civ6Common.lua</File>
</Items>
</ImportFiles>
Delete the file civ6common.lua from the mod, the one that will be used will be the one of CQUI.

SOLUTION 2.
- Make the first correction (line 164) mentioned above.
- In MultiUnit, open the MultiUnit.sql file.
Copy the entire file, in other words:
UPDATE GlobalParameters SET Value=3 WHERE Name='PLOT_UNIT_LIMIT';
UPDATE Units SET Stackable SET = 1;
Paste this into any file with the.sql extension of the CQUI mod.
- Do not install the MultiUnit mod, since it has been fully incorporated into the CQUI mod.
 
hi,
i am new to the game.the mod doesnt seem to work in my civilization 6 gathering storm. it says mod not compatible with the game version and when enabled i cant move units.
could anyone please update the mod so that it works with civ 6 gathering storm.
thanks
 
How can I use this mode with the Gathering Storm June Update?

I have updated this mod to include changes in latest patched Civ 6 and the Rise and Fall Expansion as of 2018-06-24.
Work consisted simply of merging vendor changes into Civ6Common.lua.
It should work fine now (until another vendor update that is).

How we can merge the mod file and the game's original file?Any help would be appreciated.
Nvm i've solved the issue.
 
Last edited:
I have updated this mod to include changes in latest patched Civ 6 and the Gathering Storm Expansion as of 2020-12-24.
Work consisted simply of merging vendor changes into Civ6Common.lua.
It should work fine now (until another vendor update that is).
 

Attachments

I have updated this mod to include changes in latest patched Civ 6 and the Gathering Storm Expansion as of 2020-12-24.
Work consisted simply of merging vendor changes into Civ6Common.lua.
It should work fine now (until another vendor update that is).

The AI doesn't seem to be using this. Their units aren't stacking
 
So I found a mod that conflicts with this one because it also edits civ6common.lua: https://steamcommunity.com/sharedfiles/filedetails/?id=2474028548

Playing around with load orders didn't fix the issue but I did find another way to fix the issue. Go to the folder with that id in your workshop folder, search for "civ6common" and open it. Then go to ~line 162 Basically you'll see this

UnitManager.RequestOperation(kUnit, UnitOperationTypes.SWAP_UNITS, tParameters);

Just replace that with this

UnitManager.RequestOperation(kUnit, UnitOperationTypes.MOVE_TO, tParameters);

The rest of the mod code should work fine.
 
Back
Top Bottom