Pretty much, the new unit group has a countdown to when it gets the ability to attack again.kyranzor wrote:Hey, just wanted to say great mod! great code too, I had a look at how you had such responsive movement in your unitgroups for the retreat mechanic (which looks great in-game btw, very responsive and realistic)
It seems you tackled it by making a new unit group and adding all the members back into that new group and issuing the order to the new group, yes?
The reassigning group members to a new group was the only way I could get the units to disengage when attacking.
I had planned on adding the config options already. TheSAguy had mentioned that earlier I believe on the mod portal._ImPat wrote:I'm not saying I hate this wonderful mod. But the enemy just knows where you are even if there is no an enemy miles away from the player. You can do whatever you want, even delete all the enemy units and they still know where you are. The "pheromones" should let the aliens allow to call backup but not just show up out of nowhere. This just makes the game tedious and annoying to play.
Another thing. Create a config file for your mod to enable and disable some of your planned features. I don't like the idea of tunnels and fire spitters so I would like the implementation of configs.
I hope you take my suggestions into consideration and improve the general gameplay of your amazing mod. Appreciate your work.
As to the knowing where you are, I'm not quite sure what you mean.
Is the behavior you are talking about present in Vanilla without Rampant?
I'll be back to doing some coding on this mod this week.