Turret Shields deprecated

by OwnlyMe

Lightweight scripted shields with power consumption for all turrets (configurable or researchable)

Content
4 years ago
0.16 - 0.18
127
Combat

b I have a problem

6 years ago

When i load 0.16.13 / 0.16.10 version (i haven't tried the rest), it says something like: 'First number must be a number, table, or string. Location: []--Turret_Shields_0.16.13/control.lua:351: in main chunk
Any ideas?

6 years ago
(updated 6 years ago)

more information pls.
what version did you run before?
line 351 is script.on_event(defines.events.on_entity_damaged,function(event) so that error seems weird
are you running normal freeplay mode?
maybe try this one https://www.dropbox.com/s/3z54wse04n1ypan/Turret-Shields_0.16.14.zip?raw=1
and pls tell me the exact error message
is anybody else getting this error?

6 years ago
(updated 6 years ago)

try this one:
https://www.dropbox.com/s/ux5qrx4utfygeph/Turret-Shields_0.16.16.zip?raw=1
if i am right, your game somehow forgot what "defines.events.on_entity_damaged" is.
i replaced that with "defines.events.on_entity_damaged or 97".
if it works now, there might be something wrong with your game files or you don't have the latest factorio beta installed.
good luck

6 years ago

It workds now, thanks! :D

New response