[SOLVED]Boat as a Builder or a Trader

raen

Coat of Arms
Joined
May 12, 2003
Messages
2,595
Location
Portugal
I can make boat a trader, but he can make trade routes in land, It should be only in water, some civ 6 Lua experts can en-light me what to do for this?

Also I tried to make a boat a Builder, but cant build anything, maybe changing interface?

Thank you!
 
Last edited:
I don't..... understand what you're asking. Possible language barrier aside, I'm not sure you know all the pieces you're talking about. A Builder is a single unit. When embarked, it changes its model into a boat, and can build improvements. A Trader is also a single unit. It also has 2 forms, whether it's used for a water or land trade route. Both of these units can have boat models, but they are very different, distinct units. A 'Boat' is simply not something that exists in the lexicon of Civ 6.

From what I can guess, you want to restrict a civ's trade routes, or maybe a custom Trader unit, to only being able to establish naval trade routes, and be completely unable to establish land routes. If you were to edit the Trade Route UI menu, you could absolutely restrict a player from selecting a land trade route, but this would likely cause a number of problems: firstly, this makes your mod much less compatible with other mods, as two mods can't change the same base game lua file; second, this will NOT restrict the AI from selecting land trade routes! Unfortunately, I know of no way to restrict trade routes in this way, and there is no effect in the base game even to affect the range of trade routes. If it's a thing you absolutely need, and don't mind the extra problems, you may well look into changing the UI, as you suggested. There's at least a couple mods that edit that menu, you can use those as a starting point.
 
I say boat to be generic, boat means a caravel for instance. Simplifying, I want my caravel to be a builder or a trader.

As builder I tried once, didn't appear nothing to build, but I have to try more times, maybe I got some prop wrong.

As trader, I can trade, but my Caravel also "walks" in land terrain lol. I get your point, and I saw that menu changes in some mods, but what I need is "IF unit is Caravel, Appear only sea routes in screen chooser", I have to find how to do this in that screen.

Thanks
 
Top Bottom