I tried opening the sandbox map as template, I tried removing the player (by placing water on top of it), I tried fiddling with the options.
I couldn't find it. How can I make a god-mode like sandbox scenario with the map editor. Can I?
How can I make a sandbox scenario with the map editor?
- Madara Uchiha
- Inserter
- Posts: 35
- Joined: Sun Feb 02, 2014 11:21 pm
- Contact:
- Madara Uchiha
- Inserter
- Posts: 35
- Joined: Sun Feb 02, 2014 11:21 pm
- Contact:
Re: How can I make a sandbox scenario with the map editor?
Found it. Edit the "player" entity (press T with mouse on it) and uncheck all of the difficulties. That'll make the player not appear when starting a game, and you in god mode
Re: How can I make a sandbox scenario with the map editor?
Actually that is not intended behavior, but it is nice that it works For the god mode game (custom scenarios -> sandbox) we disconnect the player from the script on creation.
Code: Select all
game.oninit(function()
local character = game.player.character
if character then character.destroy() end
game.player.setcontroller{type=defines.controllers.god}
end)
- Madara Uchiha
- Inserter
- Posts: 35
- Joined: Sun Feb 02, 2014 11:21 pm
- Contact:
Re: How can I make a sandbox scenario with the map editor?
Bump. This no longer seems to work. How can I do this in the newer versions?