Edit current map?

Don't know how to use a machine? Looking for efficient setups? Stuck in a mission?
Post Reply
shanethegooner
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sun Feb 09, 2014 10:20 am
Contact:

Edit current map?

Post by shanethegooner »

Is it possible to edit my current map in the map editor? I've ran out of Oil and there's literally none on the map. I've traveled for miles in all directions and can't find any so I need to add some myself.

I've managed to load my map with the map editor but I can't find my base as it just spawns me in some random place.

Any help would be appreciated!

Thanks.

eduran
Filter Inserter
Filter Inserter
Posts: 344
Joined: Fri May 09, 2014 2:52 pm
Contact:

Re: Edit current map?

Post by eduran »

This is what worked for me:
slpwnd wrote:Save can be migrated to "scenario" by running factorio from the commandline as follows (let's presume we have save foo.zip in the saves directory):

Code: Select all

./bin/prod/factorio --map2scenario foo
Factorio will start, load the save, store it as a blueprint (foo in the scenarios folder) and then quit. This is kind of a "development feature" so it is not really user friendly.

User avatar
FreeER
Smart Inserter
Smart Inserter
Posts: 1266
Joined: Mon Feb 18, 2013 4:26 am
Contact:

Re: Edit current map?

Post by FreeER »

I attempted to use the map2scenario feature as suggested by eduran (on 0.9.8)...and it failed to see the new scenario (and while unzipping it allowed Factorio to see it, the editor simply placed me in either a random area or only used the map gen settings to create a new map...). so yeah...not sure how to use the map editor lol

however, you can use the console (~ or /) and this command:

Code: Select all

game.createentity{name="crude-oil", position={-41.2,23}, amount=7500}
where position is the x,y location that you want it to spawn at (you can press F5 to see the xy position of the mouse and then replace the numbers in the command). Amount = 7500 creates it with a yield of 100% (on a scale of 750=0% to 7500=100%)
<I'm really not active any more so these may not be up to date>
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me :)
Or drop into #factorio on irc.esper.net

shanethegooner
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sun Feb 09, 2014 10:20 am
Contact:

Re: Edit current map?

Post by shanethegooner »

Thanks!

That works perfectly. :D

Feel dirty for cheating but after driving for hours looking for some I finally gave up haha.

Post Reply

Return to “Gameplay Help”