However, if someone faced with the same and missed the precious natives waves, it can be arranged.
if you attentively examine savegame folder you will find a simple little script that is responsible for attacks:
(rather, it is not a script, only the current data for his work)
![Image](https://forums.factorio.com/images/ext/5983e93c9562c9ab92d86825314bf8f0.jpg)
You see, the timer, a large number in the center, isn't an integer and has many signs after a comma.
If a little to wait and look at it again, you will see that the number left lower than zero that is abnormal for time variable. Speaking roughly, it didn't work:
![Image](https://forums.factorio.com/images/ext/9bdc1b0b8e6f12fbd75cb7698412834a.jpg)
That is what caught my attention.
control.lua file, actually body of a script, feeds from body game - freeplay.lua in lualib folder.
from it is evident that the attack is triggered when the variable is zero. exactly zero.
so this is just an alpha and still many times will change, I found a simple and fast solution of the problem:
![Image](https://forums.factorio.com/images/ext/49ee79158fe62917701284c4cab8c94f.jpg)
Code: Select all
glob.untilnextattacknormal = math.ceil (glob.untilnextattacknormal)
You have to put this line there, as shown in the screenshot, in freeplay.lua or control.lua if you want this to work in the already started game.
I selected the second line - this number (+2) determines how much will increase each subsequent attack. You can put there what you like.
very soon all your buildings will resemble something like this:
![Image](https://forums.factorio.com/images/ext/a36fdaf14ca4ce9076543cdddba9bbce.jpg)
On this occasion, I would like to note that it would be good to the number of attacking depended on the number of open "creeper spawners" by player (have in mind those who have noticed the player and have attacked him).
This will force to clean each open settlement and will lead to a massive attack if just walk past them.
Additionally, I would like to see an enemy attack is all the traces of the player, not just a few buildings. It's great all the harder, and will require to protect any building. Jeopardize the communications and logistics - that is what this game live.
Sooo! I want to notice that as the counter is infinite by definition, having included this option sooner or later surely you will die (you'll be pleasantly surprised if you try to edit the script.dat).
And, using this opportunity, I want to wish you what I love most desire: die well!
As always, I apologize for my English, if suddenly during reading this text your eyes wished to die.