tutavitamin.blogg.se

How to get a mod
How to get a mod









If a mod has no license, it is assumed to have a Creative Commons license - Attribution-Noncommercial 4.0 International (CC BY-NC 4.0). Lua REPL : A Lua read-eval-print-loop, essentially a sandbox.Įvery mod requires a license since Factorio v0.11.Well-known text editors that offer syntax highlighting for Lua are Notepad++ and Sublime Text. You can use any text editor to write the code for your mod. The game's mod system injects your code into the startup and to the data construction stage of the game. You need to use the Lua programming language (version 5.2.1) to create any mods in Factorio. Data.raw - Lists the names and types of all built-in prototypes.Factorio data github repository - Tracks changes of the Lua prototype definitions in Factorio between releases.Mod structure - The basic structure of all mods.Documentation of the runtime API - Hook into events and change the world around the player.Prototype documentation - What prototypes can be added to the game, and what are their properties.

how to get a mod

The dependencies can also be used to declare a mod to be incompatible with other mod versions, which prevents them from being loaded together.Ĭreating mods See also: Modding tutorial API documentation You can install the optional dependencies which extend the functionality of a mod to enhance your gaming experience with the mod. When a mod makes a suggestion to install another mod, but if it does not need that other mod for it to work, the other mod, in this case, is an optional dependency. The in-game mod portal automatically downloads required dependencies when downloading any mod. When a mod you installed requires you to install another mod for it to work, the other mod, in this case, is a required dependency. However, some mods may require you to install other mods for them to work and can also make suggestions for you to install other mods for them to extend their functionality. Many mods use Factorio's base mod as their only dependency which you do not have to install separately. These are installed the same way as mods downloaded from the portal. They will be downloaded as ZIP files, either as forum "attachments", or with a link to a hosting site. There may be experimental mods or updates here that aren't available on the main portal. Mod authors maintain threads in the official mod subforum to support their work. Verify a successful installation by viewing the "Mods" list through the main menu, in-game. Mods come as ZIP files, installed by copying (not unzipping) into the "mods" directory in the user data directory.

how to get a mod

The mod portal (website) is the center of mod hosting, where authors upload mods, and you can find previous versions, and discussions. It combines downloading & installing, checking installed mods for updates, and enabling/disabling installed mods. The "Mods" section of the main menu is the best way to get mods. You can download the mods from the following places:











How to get a mod