I've been trying to figure this out for a while and it's got me stumped.
Essentially what I want is to have 2 or more different types of supplies for different units, so for example a supply for infantry and a separate supply for vehicles, or what ever I end up using it for.
maybe use custom resource? maybe you could start the game with a certain amount of custom resource and have the vehicles use up some of the resource and when they die they replenish the resources they used?
well you can set the starting custom resources from the "races" tab in the data editor. what i can think of for using the data editor may be irritating due to lots of work, but.... essentially using up the custom resource would just mean setting the cost for your vehicles to consume a certain amount of custom resource, no problem there. to get them to give it back on death... well making a behavior that has a "modify player" effect put in its "effect: effect-final" that modifies the player's custom resources by a positive amount. this would probably mean making specific buffs for each custom resource "supply" cost and their corresponding modify player amounts. after doing all that, all you would have to do is give specific units their individual "replenish supply" buff.
for example: you have a unit that uses 3 custom resource supply. its buff would have the "effect-final" have a modify player effect that would have the value of '3' in the custom resource section of either the effect: resources+ or the effect: resources gathered+ (one of them should work properly). then of course making different buffs with different values for the custom resource modification for each "supply" cost. lot of repetitive work, but it should work all right. there may be a simpler way of doing this, but this should do just fine :)