code ? where ?

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
GMT
Burner Inserter
Burner Inserter
Posts: 15
Joined: Thu Mar 17, 2016 4:36 pm
Contact:

code ? where ?

Post by GMT »

hi can someone plz tell me how and where i change a command ?
i need to get the map to regenerate all the ores from bobs ores and bobs plates,
All the info i have is code: select all "regenerate" but i dont know where to do that.

plz help thanhkyou
Neemys
Filter Inserter
Filter Inserter
Posts: 461
Joined: Sat Apr 09, 2016 6:16 pm
Contact:

Re: code ? where ?

Post by Neemys »

I am assuming you are playing in single player.

To enter a command, first you need to know your console key. (by deffault it's B) to find it, go to Options > Controls. There look at Toggle Lua Console in the bottom right of the first Tab (Game). If not set, set it to whatever you will remember.

Now when you are in game, push that button and a chat will appear. Type /c then the command you need to run.

If your command is

Code: Select all

game.player.color={g=50,b=200,r=200,a=.9}
You need to type

Code: Select all

/c game.player.color={g=50,b=200,r=200,a=.9}

For bob's ore mod the command you need to type is

Code: Select all

/c remote.call("bobores", "Regenerate")
If you need nickel, cobalt or sulfur ore pick the command you need from the following ones.

Code: Select all

/c game.regenerateentity("nickel-ore")
/c game.regenerateentity("cobalt-ore")
/c game.regenerateentity("sulfur")
Want more space restriction ? Or maybe you want to be forced to use train for other thing than ore and oil ? Try Building Platform Mod !
Post Reply

Return to “Technical Help”