veden / Rampant

Factorio Mod - Basic AI augmentation using potential fields
GNU General Public License v3.0
57 stars 22 forks source link

Create explanation for AI behaviour #110

Open veden opened 1 year ago

veden commented 1 year ago

thread: https://mods.factorio.com/mod/Rampant/discussion/61d900024daff4330d9989de I would like to suggest an official explanation of the mechanics of rampant to people who won't just dig into the lua code.

I had like 4 hours of seemingly constant slowly intensifying attacks after i started to expand my defense line and wondered what happened. The AI was constantly in onslaught mode and the values of the debug text seemed to be stuck at high values. I started to think it may be a bug. After a few hours and looking in the code i now know it was probably caused by my abundant use of artillery to eradicate nearby nests to reduce aggression. I thought it would be caused by getting too close to them and with every shell i poured oil into the fire of aggression. Killing them all with some Spidertrons seemed to work without the same side effect. I would have suspected the opposite.

I'm still not sure i understand the role of temperament right. I'm still not sure what exactly the impact of siege and raiding ai is. Should i disable them if i want some peace possible due to avoiding pollution or can i leave them on without inviting trouble regardless of staying out of the biters receptors? What is the idea behind temperament? Am i doomed to push it to max later when rockets start every few minutes? What about pheromones? Are they just some pathfinding and directing hints? There are many options for the mod during gameplay but it is quite hard to understand what the result would be aside from general 'lower usually means less biters'.

Many questions and while i could inspect the code i still won't neccessarily understand the idea behind it. Some won't even get to that point. So i think it would be a nice thing to have some explanation for the mechanics as they are and what the idea behind them is.

I really like the mod by the way :) It certainly made me check my ammo production capabilities twice when the biters got angry.