Search found 4 matches

by JonnyOnSeSocks
Sat Dec 19, 2020 4:56 pm
Forum: Modding help
Topic: Radius visualisation picture on assembling machine ?
Replies: 2
Views: 1007

Re: Radius visualisation picture on assembling machine ?

I was looking for help with radius visualisation as well and found this post. Maybe you also still need this. I was able to add a visualisation area by adding the radius_visualisation_specification property to my new assembling-machine prototype like this: radius_visualisation_specification = { spri...
by JonnyOnSeSocks
Mon Nov 30, 2020 6:16 pm
Forum: Modding help
Topic: Add unassigned unit to a spawner
Replies: 0
Views: 530

Add unassigned unit to a spawner

Is there a way to add a unit to a spawner after it has been removed from a spawner with LuaEntity.release_from_spawner() The only way I found, is to set the unit command to wandering and wait. but there is no trigger event to check when the unit has been reassigned to a spawner and it might take som...
by JonnyOnSeSocks
Tue Nov 24, 2020 7:38 pm
Forum: Modding help
Topic: Need help replacing a recipie
Replies: 8
Views: 2272

Re: Need help replacing a recipie

in the control stage, recipes are unlocked for forces. You can disable the old recipes for the force of the research trigger event. script.on_event(defines.events.on_research_finished, function(event) if event.research.name == "deep-mine-MKX1" then local force = event.research.force force....
by JonnyOnSeSocks
Wed Nov 18, 2020 10:56 pm
Forum: Modding interface requests
Topic: Target masks for active-defense-equipment, artillery turret and spidertron
Replies: 5
Views: 2195

Re: Target masks for active-defense-equipment, artillery turret and spidertron

+1 I just found this request as I had the same issue with the artillery turret attacking enemy "dummy target entities" of the simple-entity-with-force prototype. I could also use the combat-robot or land-mine prototype workaround to keep the artillery from firing at the dummy entities but ...

Go to advanced search