Modding: Difference between revisions
m (Corrected dead link.) |
(first part of multi-part update for modding information) |
||
Line 5: | Line 5: | ||
Modding in Factorio allows for more content created by the community. | Modding in Factorio allows for more content created by the community. | ||
== | ==Overview== | ||
* [[Modding overview]] | |||
* [[Prototype definitions]] | |||
* [[Data.raw]] | |||
* [[Lua/Events|Lua events]] | |||
* [[Lua objects]] | |||
* [[Script interfaces]] | |||
* [[Lua/Data Lifecycle]] | |||
* [[Migration scripts]] | |||
* [[Modding FAQ]] | |||
* [[Modding Tutorial]] | |||
==Resources== | |||
This page is a starting point, but you'll often want more depth. | |||
The [http://lua-api.factorio.com/ Official Lua API documentation] is a great reference for understanding the Factorio functions and types in the game. | * [[Modding FAQ]] page | ||
* The [http://www.factorioforums.com/forum/viewforum.php?f=25 Modding Help board] has a great community and focuses on answering modding questions | |||
* The [http://lua-api.factorio.com/ Official Lua API documentation] is a great reference for understanding the Factorio functions and types in the game. | |||
* You can also find inspiration from any of the mod databases listed on the [[Mods|Mods page]]. | |||
==Licensing== | ==Licensing== | ||
Line 16: | Line 28: | ||
See also | See also | ||
* [http://www.factorioforums.com/forum/viewtopic.php?f=6&t=6202&p=48971#p48968 | * [http://www.factorioforums.com/forum/viewtopic.php?f=6&t=6202&p=48971#p48968 Forum post on allowed use of base-mod content] | ||
* [http://www.factorio.com/terms-of-service Factorio terms of service] | |||
* http://www.factorio.com/terms-of-service | |||
==Creating a scenario from a saved game (map)== | ==Creating a scenario from a saved game (map)== | ||
Line 30: | Line 41: | ||
Another first step is also making maps with the ingame editor. That stores the map as a '''scenario''', which is just a directory on disk with some files in it. You can look into those files to get a better understanding as to what they are for, or you can read the following pages: | Another first step is also making maps with the ingame editor. That stores the map as a '''scenario''', which is just a directory on disk with some files in it. You can look into those files to get a better understanding as to what they are for, or you can read the following pages: | ||
== See also == | == See also == | ||
* Tutorial: [http://www.factorioforums.com/forum/viewtopic.php?f=15&t=8613 Create graphics for your mod...], how to generate sprite maps | * Tutorial: [http://www.factorioforums.com/forum/viewtopic.php?f=15&t=8613 Create graphics for your mod...], how to generate sprite maps |
Revision as of 01:54, 20 September 2016
< Main Page
Modding in Factorio allows for more content created by the community.
Overview
- Modding overview
- Prototype definitions
- Data.raw
- Lua events
- Lua objects
- Script interfaces
- Lua/Data Lifecycle
- Migration scripts
- Modding FAQ
- Modding Tutorial
Resources
This page is a starting point, but you'll often want more depth.
- Modding FAQ page
- The Modding Help board has a great community and focuses on answering modding questions
- The Official Lua API documentation is a great reference for understanding the Factorio functions and types in the game.
- You can also find inspiration from any of the mod databases listed on the Mods page.
Licensing
All mods require a license since v0.11. If a mod has no license it is assumed to have a Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0) license.
See also
Creating a scenario from a saved game (map)
An often asked question is how to make a scenario (something which can be edited in the map editor) from a map: Factorio can convert them (see also this post):
./bin/prod/factorio --map2scenario mapfoo
More about the client parameters
Creating scenarios with the map editor
Another first step is also making maps with the ingame editor. That stores the map as a scenario, which is just a directory on disk with some files in it. You can look into those files to get a better understanding as to what they are for, or you can read the following pages:
See also
- Tutorial: Create graphics for your mod..., how to generate sprite maps