Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
I flatout avoid southward attacking until I get destroyers.
https://mods.factorio.com/mods/daniel34/minimap-autohide
It hides the minimap whenever the mouse is over a logistics chest so there is more space in the sidebar. You can also enable it for trains and roboports and I'm thinking of adding support for more entities to it. So if you have a list of machines you need more space for on the sidebar then tell me.
The original plan was to hide the minimap and the armor/ammo display, but with the Factorio API the armor/ammo display is part of the toolbar (bottom center), you can only show/hide them together.
I've also added hotkeys for permanently enabling/disabling the toolbar, minimap, research progress and alerts.
How hard is it to learn to code/code in Factorio? I've wanted to start, but it seems like way too much work
Factorio mod code is written in Lua, a programming language. If you already know Lua it will be quite easy, if you know any other programming language it will be not that hard and you're learning a new programming language as a bonus.
I myself learned programming in school and have been working as a programmer the few years since, using C#, PHP and some Java. I started learning Lua after reading the code of some Factorio mods, if you already know a programming language then understanding the code and making changes to it is easy. From that I went to code my first own mod (for personal use) and later writing more complex mods, also learning a lot from the Modding help subforum on the official forums.
If you don't know any programming language then it will be considerably harder, but it's still possible to make mods.
There's a whole book dedicated to learning Lua available online: https://www.lua.org/pil/contents.html (I think it's more aimed at people who already know some programming languages, but I didn't find a better link)
I advise you to read lots of mod code (use mods that are simple*) and understand how they work. Use a mod where you already understand what it does, and roughly what it's code does, then start to experiment with it. Change what it does, try to add some new functionality to it or change it's behavior.
* When I say simple, I mean mods where the data.lua / control.lua is low in filesize. While e.g. RSO is simple in what it does (spreading out resources), it's code is very complex with >2000 lines of code.
Always use a text editor that supports syntax highlighting, such as Notepad++ or Sublime.
Wow, that's a LOT of good to know information, thanks! I'm definitely going to take a few programming classes next year, but that's sooo farrr awayyy :P
Do you know of any good mods to look at the coding of? It sounds interesting/fun to look at, until my brain dies of confusion :D