As you used it in the next post, probably default to this when other conditions are not met?
Here, I would say that the “Move to me” usage is not necessary, Follow me would be better for this use case. I don’t see why a less aggressive species should cluster together more and obstruct itself?
This should have the requirement that the species has pili or toxins, otherwise additional numbers will not help them in a fight.
There should be some quorum sensing here: they should become aggressive if there’s enough of them to win. Perhaps the required number of allies nearby to trigger it could depend on set aggression/bravery?
That’s a fairly high aggression requirement. Won’t species that already have such high aggression fight without the command anyway?
Come to think of it, this command should probably also increase bravery?
I don’t think putting in the fear setting requirement here is necessary. If microbe AI has decided to flee, that means it wants to run away from this other cell based on its fear setting. I think that’s sufficient.
Rather than using the behaviour requirement, I think it would be better to check if the cell is actively trying to move, but failing.
I can think of a logic scheme for the “should we fight back?” question that I will add later.
I agree because the “move to me” is basically only added to be useful for binding to other cells. So before the AI can use the binding agent, I think the AI should never send that signal.
Also one thing in general is that the microbe AI usually doesn’t totally lock behaviours for certain behaviour value ranges. Like instead of requiring 50% aggression value to ever use the become aggressive signal, I think there should be a range like if your aggression slider is maxed out the chance to be aggressive should be like 90% and instead if it is quite low, the AI could still have like a 10% chance to become aggressive (with 0% only being at quite passive behaviour).
Yeah, definitely need to avoid triggering this for sessile species accidentally.
I was thinking that maybe it’s made so that the commands that require aggression are used if RollCheck(speciesAggression, Constants.MAX_SPECIES_AGGRESSION, random) is true. Would that be a good idea?
Alright, here’s the updated table that incorporates your suggestions. Still not final.
Command
When to use
Move to me
Precursor to using the Binding Agent if there is one and conditions are right
Follow me
Precursor to becoming aggressive, has pili and/or toxins
Become aggressive
Attacking
Flee from me
Fleeing after being attacked
Flee from me
Trying to move but hasn’t been able to, assumption is it’s being blocked by something
No command
30 seconds or less after last command was used (Credit to “blak” on Discord)
I can’t remember the exact way to use the RollCheck (as the microbe AI is one of the rare systems that I did not write myself), but that looks like a pretty reasonable way.