Guys, I need code to disable automatic artillery shooting for military targets for BB server (for special games) so I can not use mods there.
Unfortunately I can not find anything about it.
Can someone share this code, please.
Disable automatic artillery shooting - can be performed on selected artillery in map editor (preferable) or just for all artillery on map.
Thank You
Code to disable automatic artillery shooting
-
- Burner Inserter
- Posts: 9
- Joined: Sun Oct 09, 2022 12:47 pm
- Contact:
-
- Smart Inserter
- Posts: 2768
- Joined: Tue Apr 25, 2017 2:01 pm
- Contact:
Re: Code to disable automatic artillery shooting
As far as I know, mods accomplish this by creating an entity variation that doesn't have automatic targeting, then swaps/replaces the needed entities in game as the player toggles it on/off.
You can check out the code of the mods that allow toggling automatic fire to verify what they do and adapt it for yourself. But if the needed method is to create a new entity, then I'm not sure you can do it without a mod.
You can check out the code of the mods that allow toggling automatic fire to verify what they do and adapt it for yourself. But if the needed method is to create a new entity, then I'm not sure you can do it without a mod.
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics