Increasing resources in map editor

Place to get help with not working mods / modding interface.
Post Reply
n4rf
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Mar 02, 2013 6:30 pm
Contact:

Increasing resources in map editor

Post by n4rf »

I wasn't able to search to find this answer, so i figured i would ask here;

Is there a way to modify how quickly the editor increases resources or to increase the stock amount that it puts down from the editor?

I'd really like to just make a predictable resource string that will last ages, and using the stock editor... this is difficult.

tompinn23
Burner Inserter
Burner Inserter
Posts: 5
Joined: Mon Feb 25, 2013 7:33 pm
Contact:

Re: Increasing resources in map editor

Post by tompinn23 »

press f to increase resources look in game on the controls to see

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

Re: Increasing resources in map editor

Post by FreeER »

F will increase the resources but if you are trying to get a huge amount in one spot, I don't believe that there is a way to add alot at one time. You'll just have hold f down until it's at the level you want, or try using lua to add them in.
<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

Dakkanor
Fast Inserter
Fast Inserter
Posts: 243
Joined: Wed Feb 27, 2013 6:18 am
Contact:

Re: Increasing resources in map editor

Post by Dakkanor »

FreeER wrote:F will increase the resources but if you are trying to get a huge amount in one spot, I don't believe that there is a way to add alot at one time. You'll just have hold f down until it's at the level you want, or try using lua to add them in.
or use cheat engine....

when i had only the demo i used cheat engine to give an unlimited supply of ore.....

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

Re: Increasing resources in map editor

Post by FreeER »

Mango wrote:Actually you can make endless ressources in editor. The only thing you must do is to decrease amount of mineral in vein below 0. ;)
https://forums.factorio.com/forum/vie ... ?f=6&t=507

that might do what you want depending on how many 'ages' you want it to last :)

as for:
Dakkanor wrote:when i had only the demo i used cheat engine to give an unlimited supply of ore.....
in alpha (maybe demo too?) you can use the console to do the same + more.. hold shift and press the tilde key (~) next to 1
then type something to the effect of game.getplayer().insert{name="iron-ore", count=64}
but that's if you want to cheat in your game, if you were making a custom map to share, you wouldn't want to tell everyone to just cheat in resources...though you could add the same commands to the scenario script instead (just not under ontick, unless you only gave like 1 ore per tick lol).
<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

Post Reply

Return to “Modding help”