Page 1 of 1

How to destroy rocks in sandbox games?

Posted: Sat Sep 06, 2014 3:29 pm
by Schorty
Hi there,

I started a game in sandbox, just to try it out. But after some time I realised, that there is no obvious way to get rid of those nasty rocks, because I don't have a shotgun to fire at them (obviously because I don't have a character). Is there any possibility to destroy them?
Thank you in advance.

Greetings,
Schorty

Re: How to destroy rocks in sandbox games?

Posted: Sat Sep 06, 2014 4:01 pm
by Phillip_Lynx
no character?

You always have a character or do I miss something?

Re: How to destroy rocks in sandbox games?

Posted: Sat Sep 06, 2014 4:11 pm
by Schorty
No, you don't have one, if you play sandbox. And therefor you can't destroy those rock. At least as far as I know :)

Is it possible to add a new character temporarely so I can shoot the rocks to hell and then delete the char afterwards?

Re: How to destroy rocks in sandbox games?

Posted: Sat Sep 06, 2014 4:49 pm
by Phillip_Lynx
So what is Sandbox here? I do not find such a thing.

I have only campaing, start game and load game (and own scenarios wich I did not use). And in every type I have a char (not knowing about own scenarios).

But this ist OT. Sorry I can not help ou :(

Re: How to destroy rocks in sandbox games?

Posted: Sat Sep 06, 2014 6:14 pm
by n9103
Under scenarios, there's freeplay, which is the same as start game, and there's sandbox, which is a character-less accelerated start, sorta like a limited god-mode.

Re: How to destroy rocks in sandbox games?

Posted: Sun Sep 07, 2014 9:53 am
by arl85
back on topic...

edit: even simpler - center stone in your vision range (more or less...), open console and type

Code: Select all

for _, entity in ipairs(game.findentitiesfiltered{area={{game.player.position.x-32, game.player.position.y-32},{game.player.position.x+32, game.player.position.y+32}}, name="stone-rock"}) do entity.destroy() end
original post

Re: How to destroy rocks in sandbox games?

Posted: Sun Sep 07, 2014 11:36 am
by Schorty
Hell, yeah!
It works like a charm. Thank you very much =)

Re: How to destroy rocks in sandbox games?

Posted: Sun Sep 07, 2014 2:41 pm
by n9103
Oh Factorio. Why you require a Lua programming course just to work with console commands? :P

Re: How to destroy rocks in sandbox games?

Posted: Tue Jun 30, 2015 9:38 pm
by Reygan
Schorty wrote:Hell, yeah!
It works like a charm. Thank you very much =)
Another way - move mouse over any entity, then type game.player.selected.destroy()

Re: How to destroy rocks in sandbox games?

Posted: Wed Jul 01, 2015 8:59 pm
by PROTOS
if you use a mod called test mode i will let you switch betwen the 2

Re: How to destroy rocks in sandbox games?

Posted: Mon Jul 24, 2017 4:40 pm
by Kuldrtorix
Or use grenades?