In the top half of the proto description, set its start and max resource amount:
carrycapacity resourcetype="Food"400.0000/carrycapacity
initialresource resourcetype="Food"175.0000/initialresource
resourcesubtype meat resourcesubtype
then set the following unit type classifications
unittype HuntedResource /unittype
unittype Food /unittype
unittype Unit /unittype
unittype Nature /unittype
unittype Resource /unittype
the following flags
flag DoNotDieAtZeroHitpoints /flag
flag DieAtZeroResources /flag
and the autogather action if you want them to fatten over time
action name="AutoGather"
param name="AddResourcesFasterWhenOwned" /param
param name="AddResourcesToInventory" /param
param name="Rate" type="Food" value1="0.25" /param
param name="Persistent" /param
/action
This is how Orcs gather food by killing goblins in Age of Middle Earth. You may need to make them convertable if they are being eaten by other players.
[This message has been edited by Stephen Caines (edited 08-04-2007 @ 03:31 AM).]