This wiki is about 0.17, the current experimental version of Factorio.

Information about 0.16, the current stable version of Factorio, can be found on stable.wiki.factorio.com.

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

Difference between revisions of "Modding"

From Official Factorio Wiki
Jump to: navigation, search
(Overview)
Line 3: Line 3:
 
[[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 is one of Factorios greatest features.
+
Modding in Factorio allows for more content created by the community.
 
 
== Getting started ==
 
 
 
  
 +
==Getting started==
 
A good overview is the [[Mods| list of mods]] or the [http://www.factorioforums.com/forum/index.php Factorio forum].
 
A good overview is the [[Mods| list of mods]] or the [http://www.factorioforums.com/forum/index.php Factorio forum].
  
 
A good starting point is also the [http://www.factorioforums.com/forum/viewforum.php?f=25 modding-Help-Board]. The community is always answering to concrete questions. Sometimes within minutes. Or you could try the [[Modding FAQ]] page.
 
A good starting point is also the [http://www.factorioforums.com/forum/viewforum.php?f=25 modding-Help-Board]. The community is always answering to concrete questions. Sometimes within minutes. Or you could try the [[Modding FAQ]] page.
  
== Licensing ==
+
==Licensing==
 
 
 
With v0.11 all mods needs to have a license. If a mod has no license it is assumed to have the a creative commons license: [http://creativecommons.org/licenses/by-nc/4.0 Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)].
 
With v0.11 all mods needs to have a license. If a mod has no license it is assumed to have the a creative commons license: [http://creativecommons.org/licenses/by-nc/4.0 Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)].
  
Line 21: Line 18:
 
* http://www.factorio.com/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)==
 
 
 
An often asked question is how to make a scenario (something which can be edited in the map-editor) from a map:
 
An often asked question is how to make a scenario (something which can be edited in the map-editor) from a map:
 
[http://www.factorioforums.com/forum/viewtopic.php?f=18&t=2844 Factorio can convert them] ([http://www.factorioforums.com/forum/viewtopic.php?f=5&t=3801&p=28289#p28289 see also this post]):
 
[http://www.factorioforums.com/forum/viewtopic.php?f=18&t=2844 Factorio can convert them] ([http://www.factorioforums.com/forum/viewtopic.php?f=5&t=3801&p=28289#p28289 see also this post]):
Line 29: Line 25:
 
[[GameClient|More about the client parameters]]
 
[[GameClient|More about the client parameters]]
  
== Creating scenarios with the map-editor ==
+
==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 that files and try to understand, 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 that files and try to understand, what they are for. Or you can read the following pages:
  
== Overview ==
+
==Overview==
 
 
 
* [[Modding overview]]
 
* [[Modding overview]]
 
* [[Prototype definitions]]
 
* [[Prototype definitions]]
Line 45: Line 39:
 
* [[Modding Tutorial]]
 
* [[Modding Tutorial]]
  
== Other interesting stuff ==
+
==Other interesting stuff==
 
 
 
* 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 14:22, 2 April 2015

< Main Page
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

Modding in Factorio allows for more content created by the community.

Getting started

A good overview is the list of mods or the Factorio forum.

A good starting point is also the modding-Help-Board. The community is always answering to concrete questions. Sometimes within minutes. Or you could try the Modding FAQ page.

Licensing

With v0.11 all mods needs to have a license. If a mod has no license it is assumed to have the a creative commons license: Attribution-NonCommercial 4.0 International (CC BY-NC 4.0).

See also

In this article the devs explain also, that the base-mod (which is part of Factorio) can be used to create new mods, but not used for "outside of Factorio domain".

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 that files and try to understand, what they are for. Or you can read the following pages:

Overview

Other interesting stuff