With some clever use of triggers it is possible to mess with what units can gather from what. Some of tis guide is known previously, though I think some of this is new:
Changing resource quantity/type on units
This can be done in two steps:
For (1) use the Modify Protounit trigger to change the carry capacity of the unit you want to hold the resource. Most units this amount will be zero so raise it to the amount you want. If the unit you are going from has more resources than carry capacity, the resources will be capped by the carry capacity. This is sufficient to make a unit hold a resource it normally can't.
For (2) the simplest way is to do a change unit type followed by a unit mutate type call on the same unit. Make the unit you want to have the resources from be the change unit type unit, and the unit you want to see be the type for the mutate. Unit mutate type is a custom trigger written to work for patch 2.8 or later - you can download the pack with it in here:http://aom.heavengames.com/downloads/showfile.php?fileid=11491
A few notable units:
Gathering normally impossible resources
This can be done by simply allowing the gathering unit such as a villager to hold the resource by changing the carry capacity of the unit using Modify Protounit to allow it to carry it. This allows units to gather favor for instance.
Dropping off at unusual locations
It is possible to allow a resource that cannot normally be dropped off at a location to be dropped off there. E.g. Drop wood at a granary. This can be achieved simply by making the carry capacity of the resource you want to store be greater than zero. E.g. you can make a storehouse accept favor or food being deposited.
This can be done in two steps:
- Enable the unit to carry the resource
- Transform/Mutate from the object you want the new unit to contain it
For (1) use the Modify Protounit trigger to change the carry capacity of the unit you want to hold the resource. Most units this amount will be zero so raise it to the amount you want. If the unit you are going from has more resources than carry capacity, the resources will be capped by the carry capacity. This is sufficient to make a unit hold a resource it normally can't.
For (2) the simplest way is to do a change unit type followed by a unit mutate type call on the same unit. Make the unit you want to have the resources from be the change unit type unit, and the unit you want to see be the type for the mutate. Unit mutate type is a custom trigger written to work for patch 2.8 or later - you can download the pack with it in here:
A few notable units:
- Tamarisk tree/Taproot - this contains 20,000 wood.
- Giant Duck-billed Platypus - this contains 9,000 food.
- Shrine/Temple - this contains 1 favor.
- Farms/Fish - these contain infinite regardless of amount actually there. The resource count determines the maximum amount that can be taken in a single animation.
- Objects that gather and hold resources such as villagers/caravans can be changed to be an object you can gather from and they will have what is currently available.
- Giant Duck-billed Platypus - this contains 9,000 food.
This can be done by simply allowing the gathering unit such as a villager to hold the resource by changing the carry capacity of the unit using Modify Protounit to allow it to carry it. This allows units to gather favor for instance.
It is possible to allow a resource that cannot normally be dropped off at a location to be dropped off there. E.g. Drop wood at a granary. This can be achieved simply by making the carry capacity of the resource you want to store be greater than zero. E.g. you can make a storehouse accept favor or food being deposited.