Extra Unique

Bielsabub

Chieftain
Joined
Jul 23, 2018
Messages
3
Hi there, i'm new to modding in civ, and have been working on editing a confed states mod to use with a group of friends.

I created a custom worker replacement which provides unhappiness as a unique unit, exactly same as the base worker but gives unhappiness.

But now on the loading screens and civ select, that worker unit shows above the unique improvement for the civ. Is there a way I can make the actual UU and the UI show on these screens and the worker be an invisible unique?

Or is there a way I can add unhappiness to the normal worker for only this civ?

Any help would be appreciated, cheers.
 
No, the user interface shows UUs, then UBs, then UIs. You'd have to change the interface to fix that.
I'd suggest, instead of using UnitClassOverrides, that you use Lua to swap out the vanilla worker for the special version for your civ as soon as it's created.
 
No, the user interface shows UUs, then UBs, then UIs. You'd have to change the interface to fix that.
I'd suggest, instead of using UnitClassOverrides, that you use Lua to swap out the vanilla worker for the special version for your civ as soon as it's created.

How would I go about doing that? Like i said, new to modding.
 
Back
Top Bottom