Search found 9 matches

by MartinMaxKing
Sat Dec 03, 2022 12:37 pm
Forum: Modding discussion
Topic: Increase range of gun turret with code for BB special games
Replies: 2
Views: 990

Increase range of gun turret with code for BB special games

I want to increase gun-turret range for Bitters Battles server multiplayer special games But can't figure it out. Preferably increase gun turrets range by force, similar to increasing arty range that i have and it works: game.forces.north.artillery_range_modifier = 1 I want to increase range for all...
by MartinMaxKing
Fri Nov 04, 2022 12:39 pm
Forum: Frequently Suggested / Link Collections
Topic: Use of Monitors (Dualscreen..., more than 60 FPS ...)
Replies: 23
Views: 28198

Re: Use of Monitors (Dualscreen..., more than 60 FPS ...)

There is a "simple" solution to that and somewhat suggested already. Not ideal but better that 1 screen. Create separate program to display some additional info inside it on secondary monitor. You can call it "factorio display" or whatever ;) I will just call it secondary program...
by MartinMaxKing
Mon Oct 24, 2022 5:15 pm
Forum: Modding help
Topic: Code to disable automatic artillery shooting
Replies: 1
Views: 676

Code to disable automatic artillery shooting

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 artil...
by MartinMaxKing
Mon Oct 24, 2022 5:07 pm
Forum: Modding help
Topic: My code for building blueprints from string not working
Replies: 3
Views: 1007

Re: My code for building blueprints from string not working

Thank You guys. Now I understand :)
by MartinMaxKing
Sun Oct 23, 2022 4:39 pm
Forum: Modding help
Topic: My code for building blueprints from string not working
Replies: 3
Views: 1007

My code for building blueprints from string not working

local bp_string = "your blueprint string here" local surface = game.player.surface local bp_entity = surface.create_entity{name = 'item-on-ground', position= game.player.position, stack = 'blueprint'} bp_entity.stack.import_stack(bp_string) local bp_entities = bp_entity.stack.get_blueprin...
by MartinMaxKing
Sat Oct 15, 2022 9:32 pm
Forum: Modding discussion
Topic: How can I make enemy artillery to shot all player entities including player with LUA?
Replies: 1
Views: 835

How can I make enemy artillery to shot all player entities including player with LUA?

Artillery shoots only enemy military buildings.
How can I make enemy artillery to shot all player entities including players with LUA?
by MartinMaxKing
Sun Oct 09, 2022 12:51 pm
Forum: Gameplay Help
Topic: Any way to copy/paste entity properties in MAP EDITOR?
Replies: 2
Views: 1028

Any way to copy/paste entity properties in MAP EDITOR?

Any way to copy/paste entity properties in MAP EDITOR?
I mean properties like: Indestructible, Not mineable, Not rotable, Not operable.
shift+LMB or blueprints do not copy them :(

Go to advanced search