Update:
Managed to make a food.chicken specific resource and the UnitAI component to read the specific resource type to play the chicken specific animation:
For testing purpose chicken is a single gatherer only and only 10 food.
UnitAI code line modified:
Ah, I missed the script you posted before, and it wasn’t clear to me what you meant by “root degree”, you meant polynomial. Your formula is, for p>T, P=T+(p-T)^1/H, where P are the effective capture points, p the capture points to modify, T “threshold points” (what would be my C) and G is “diminish strength” (what would be my S). So, you have 2 independent parameters and a region condition, and I have 3 independent parameters, and no region condition. The issue is, your formula will still be visually non-linear, because you calculate effective capture points in two different regions, while I calculate only one effective rate, making the observed behavior linear. Another problem your formula has is that your T is not that intuitive as a normal/fast discriminator as my C (that’s why you have to use T=90 when P=3000, while I use C=300 when I want my threshold to be around there). Of course the advantage of your equation is that it’s easier to understand just by looking at it (and maybe easier to implement, depending on how rates can be directly handled).
Thanks but that formula is too hard to work with as it has too many parameters. The root degree I'm proposing only take 1, and produce a perfectly customizable and predictable diminishing return. We're not trying to revise capture again, just have a tool to make it less likely to instant capture certain buildings.
You can already add capture resistance that seems to be subtracted from every capture attack. But that's obviously not going to help our case.
Yes! No idea why it's set so low currently