modding base - how to make it be save compatible?
-
- Manual Inserter
- Posts: 4
- Joined: Tue Apr 22, 2014 1:32 am
- Contact:
modding base - how to make it be save compatible?
I've modded the base folder (saved a backup) but when i go in game and load my game, nothing changed, but when i start a new game, the changes can be seen though, so how do i make what i changed save-compatible?
Re: modding base - how to make it be save compatible?
If you changed something in the file control.lua, you have to copy it into the save manually.
If you changed recipes, use `game.player.force.resetrecipes()` in console, if you changed technologies, you need `game.player.force.resettechnologies()`.
Also, changing stuff in the base mod is generally not a good idea. When an update comes, it will fail and you will have to reinstall the game (or do some black magic and fix the installation).
For changing small stuff in the game it is best to create a small mod. A bare bones example mod is here: https://github.com/bluecube/factorio-example-mod .
If you changed recipes, use `game.player.force.resetrecipes()` in console, if you changed technologies, you need `game.player.force.resettechnologies()`.
Also, changing stuff in the base mod is generally not a good idea. When an update comes, it will fail and you will have to reinstall the game (or do some black magic and fix the installation).
For changing small stuff in the game it is best to create a small mod. A bare bones example mod is here: https://github.com/bluecube/factorio-example-mod .
I have no idea what I'm talking about.
-
- Manual Inserter
- Posts: 4
- Joined: Tue Apr 22, 2014 1:32 am
- Contact:
Re: modding base - how to make it be save compatible?
oh... thank you very much!!!
well i did backed it up already. Btw, are there a list of console commands?
well i did backed it up already. Btw, are there a list of console commands?
Re: modding base - how to make it be save compatible?
https://forums.factorio.com/wiki/inde ... le=Modding
But I become now an Euro from you for that, because that could be found by Internet search.
http://bit.ly/1mPN9v1
But I become now an Euro from you for that, because that could be found by Internet search.
http://bit.ly/1mPN9v1
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
-
- Manual Inserter
- Posts: 4
- Joined: Tue Apr 22, 2014 1:32 am
- Contact:
Re: modding base - how to make it be save compatible?
awww thanks! ill try googling harder next time