Game mode conversion.

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
GDL
Inserter
Inserter
Posts: 26
Joined: Tue Mar 22, 2016 8:30 pm
Contact:

Game mode conversion.

Post 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.
twepy
Long Handed Inserter
Long Handed Inserter
Posts: 95
Joined: Tue Apr 28, 2015 6:19 pm
Contact:

Re: Game mode conversion.

Post 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>}
Shokubai
Filter Inserter
Filter Inserter
Posts: 470
Joined: Mon May 02, 2016 3:17 pm
Contact:

Re: Game mode conversion.

Post 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.
GDL
Inserter
Inserter
Posts: 26
Joined: Tue Mar 22, 2016 8:30 pm
Contact:

Re: Game mode conversion.

Post 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
searker
Long Handed Inserter
Long Handed Inserter
Posts: 91
Joined: Fri Nov 27, 2015 3:12 pm
Contact:

Re: Game mode conversion.

Post 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.
Last edited by searker on Thu Jun 02, 2016 11:15 pm, edited 1 time in total.
User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

Re: Game mode conversion.

Post 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
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
GDL
Inserter
Inserter
Posts: 26
Joined: Tue Mar 22, 2016 8:30 pm
Contact:

Re: Game mode conversion.

Post by GDL »

Amazing, many thanks all. I'll have a play tomorrow :)

I owe ya one.
GDL
Inserter
Inserter
Posts: 26
Joined: Tue Mar 22, 2016 8:30 pm
Contact:

Re: Game mode conversion.

Post 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.
User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Game mode conversion.

Post 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)
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
GDL
Inserter
Inserter
Posts: 26
Joined: Tue Mar 22, 2016 8:30 pm
Contact:

Re: Game mode conversion.

Post 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?
User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Game mode conversion.

Post 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.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
GDL
Inserter
Inserter
Posts: 26
Joined: Tue Mar 22, 2016 8:30 pm
Contact:

Re: Game mode conversion.

Post by GDL »

That did it & all is now working just fine.

Many thanks all.
Post Reply

Return to “Gameplay Help”