I'm having trouble finding a straight answer to this on the forums.
Is there a way to edit the JSON or LUA files to permanently remove creeper attacks, or at least disable them while leaving the creeper spawners?
I've tried editing some of the values in some of the data files, but nothing seems to prevent them - turning their health to 0, increasing spawn time...maybe I'm editing the wrong files? Clear directions are needed please.
Thanks!
Disable/Remove Creepers
Re: Disable/Remove Creepers
Yes. Remove/Comment this command in control.lua in your savegame folder (or in freegame.lua for all new games)
or you can stop attack timing by neutralizing this line.
Code: Select all
game.setmulticommand({type=defines.command.attack,
target=glob.player,
distraction=defines.distraction.byenemy},
glob.attackcount)
Code: Select all
glob.untilnextattacknormal = glob.untilnextattacknormal - 1
Last edited by rk84 on Wed Mar 06, 2013 12:10 am, edited 1 time in total.
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela
Re: Disable/Remove Creepers
Perfect. Thank you very much.