Page 1 of 1

Game mode conversion.

Posted: Thu Jun 02, 2016 4:50 pm
by GDL
I started a 'Free play' and I've gotten a large number of hours in but I've run into some large issues that require functions not available to me.

Biters for research.
Portable drone use (Building and destruction)
ect ect.


Is there anyway to convert from Free play to normal - Maybe a command line?

Thanks.

Re: Game mode conversion.

Posted: Thu Jun 02, 2016 5:53 pm
by twepy
Warlord1981NL from the Biter bases topic i learned thats possible to spawn enemies through the console.

Open console with tilde (~) and type:

Code: Select all

/c game.get_surface(1).create_entity{name="biter-spawner", position={game.local_player.position.x, game.local_player.position.y-50},force=game.forces.enemy}
This creates a spawner base at 50 squares above your current position, ive tried it and it works. Im not sure if they gonna create new bases from that one spawner base.

The other option is cheating to get alien artifacts.

Code: Select all

/c game.local_player.insert{name="alien-artifact", count=<number>}

Re: Game mode conversion.

Posted: Thu Jun 02, 2016 6:02 pm
by Shokubai
GDL wrote:I started a 'Free play' and I've gotten a large number of hours in but I've run into some large issues that require functions not available to me.

Biters for research.
Portable drone use (Building and destruction)
ect ect.


Is there anyway to convert from Free play to normal - Maybe a command line?

Thanks.
You could just download the Alien Science Mod. You would still be in Free Play but could make Alien Science and Artifacts.

Re: Game mode conversion.

Posted: Thu Jun 02, 2016 7:08 pm
by GDL
Perfect. Many thanks gents.

You don't know how to reduce item removal time to near instant do you? - I've got a few 1000 railway lines and walls to remove lol

Re: Game mode conversion.

Posted: Thu Jun 02, 2016 7:57 pm
by searker
GDL wrote:Perfect. Many thanks gents.

You don't know how to reduce item removal time to near instant do you? - I've got a few 1000 railway lines and walls to remove lol
I´d use personal roboports and the Deconstruction Planner. Besides the bots having to charge near you and flying to / from you, the removal itself is instant.

Re: Game mode conversion.

Posted: Thu Jun 02, 2016 10:04 pm
by Adil
Am I correct to assume that by 'Freeplay' you mean 'Sandbox mode without character' and by 'normal mode' you mean 'Freeplay'?
If yes
If you don't have biter spawned, you could try altering map generator settings.
It is possible to increase character mining speed by using

Code: Select all

/c game.local_player.force.manual_mining_speed_modifier = 100

Re: Game mode conversion.

Posted: Thu Jun 02, 2016 10:10 pm
by GDL
Amazing, many thanks all. I'll have a play tomorrow :)

I owe ya one.

Re: Game mode conversion.

Posted: Fri Jun 03, 2016 7:36 am
by GDL
Hi all.

Sorry to bother you all again, but each one of the those commands just return.

"trying to call command, but it is not allowed" <Command>

Is there a global block on Sandbox mode for commands? - Thanks Adil for the correct term.

Re: Game mode conversion.

Posted: Fri Jun 03, 2016 8:19 am
by prg
GDL wrote:Hi all.

Sorry to bother you all again, but each one of the those commands just return.

"trying to call command, but it is not allowed" <Command>

Is there a global block on Sandbox mode for commands? - Thanks Adil for the correct term.
Is this a multiplayer game? You need to tick the "allow commands" checkbox when starting the server (or don't pass --disallow-commands when using the headless version)

Re: Game mode conversion.

Posted: Fri Jun 03, 2016 8:43 am
by GDL
It was created as a single sandbox game.
It was fired up at some point as a Multi to show a friend but that's it, could it have caused it to flag as a multiplayer map with the commands disabled?

Re: Game mode conversion.

Posted: Fri Jun 03, 2016 8:49 am
by prg
Yeah, seems like that setting sticks around. Load this map as a multiplayer game, tick the "allow commands" checkbox, then save it again and the issue should be fixed.

Re: Game mode conversion.

Posted: Fri Jun 03, 2016 12:44 pm
by GDL
That did it & all is now working just fine.

Many thanks all.