Kailric
Jack of All Trades
I was wanting these commands to use in other mods so I created a modcomp for them to make it easier to merge with those mods and decided to post it here as well so others can merge it if desired.
DOWNLOAD HERE
This Mod adds two new commands defined below.
Assign Home City: allows you to assign a home city to the unit to be used in conjunction with the Return to Home City Command.
Return Home and Unload: if the unit has a home city selected it will return there and unload if able. If not it will move to the closes city to unload if able.
These commands are available to:
Treasure Units: only coastal cities are selectable
Ships: only coastal cities are selectable
Land units with Cargo space: only cities the unit can move to are selectable
Applications:
1. If you find a treasure unit you can assign it a home city and have it moved there with little effort
2. Helps in manualy moving around your transport ships when arriving from Europe with new Immigrants
3. When your Privateers are full of cargo you can have them return to their home port.
Modders:
Source code is provided. Changes are marked with //TKs Return Home in the SDK.
In the GlobalAltDefines there is a new Attibute called "TREASURE_UNITS_ONLY_SELECT_COASTAL". The default is "1" on. If this is on then Treasure units will only select Coastal cities for Home Cities, if its set to 0 they will select any city they can move to.
DOWNLOAD HERE
This Mod adds two new commands defined below.
Assign Home City: allows you to assign a home city to the unit to be used in conjunction with the Return to Home City Command.
Return Home and Unload: if the unit has a home city selected it will return there and unload if able. If not it will move to the closes city to unload if able.
These commands are available to:
Treasure Units: only coastal cities are selectable
Ships: only coastal cities are selectable
Land units with Cargo space: only cities the unit can move to are selectable
Applications:
1. If you find a treasure unit you can assign it a home city and have it moved there with little effort
2. Helps in manualy moving around your transport ships when arriving from Europe with new Immigrants
3. When your Privateers are full of cargo you can have them return to their home port.
Modders:
Source code is provided. Changes are marked with //TKs Return Home in the SDK.
In the GlobalAltDefines there is a new Attibute called "TREASURE_UNITS_ONLY_SELECT_COASTAL". The default is "1" on. If this is on then Treasure units will only select Coastal cities for Home Cities, if its set to 0 they will select any city they can move to.