In other languages: Deutsch Русский Українська 简体中文

Modding: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
mNo edit summary
m (substituted links to go to official lua api documentation)
Line 2: Line 2:
{{Languages}}
{{Languages}}
[[File:Fff-18-entity-graph.jpg|400px|thumb|'Diagram of entities' (objects on the map) class inheritance structure generated by doxygen. Taken From Friday Facts #18 http://www.factorio.com/blog/post/fff-18]]
[[File:Fff-18-entity-graph.jpg|400px|thumb|'Diagram of entities' (objects on the map) class inheritance structure generated by doxygen. Taken From Friday Facts #18 http://www.factorio.com/blog/post/fff-18]]
Modding in Factorio allows for more content created by the community.
* [[Modding/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==
==Resources==
Line 43: Line 30:
== 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
* [[Modding/Overview|Modding overview]]
* [[Script interfaces]]
* [[Migration scripts]]
* [[Modding FAQ]]
* [[Modding Tutorial]]
* [http://lua-api.factorio.com/latest/ Official Factorio lua API documentation]

Revision as of 19:13, 3 February 2017

File:Fff-18-entity-graph.jpg
'Diagram of entities' (objects on the map) class inheritance structure generated by doxygen. Taken From Friday Facts #18 http://www.factorio.com/blog/post/fff-18

Resources

This page is a starting point, but you'll often want more depth.

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