Page 1 of 1

Incomplete guide to factorio modding

Posted: Tue Feb 07, 2017 9:59 pm
by Adil
So, I've spent some time recently to throw together this bit of a text:
https://wiki.factorio.com/User:Adil/Modding_tutorial
Currently it is somewhat equivalent of Freer's manual except it's up to date and has more typos.
I hope to add a few more chapters, namely migrations and scenario making. I guess there also could be some list of bitty modder knowledges like peculiar lua things and bugs or those weird prototype tricks like trigger_created_entity for example.
For now it could use some proofreading if anyone is willing.
And I'm actually not at all used to the wiki coding, so the guide's formatting consists of the bits I've scavenged from the previous tutorial. So, if you see a way the guide might become more illustrative - do not be silent.

Re: Incomplete guide to factorio modding

Posted: Tue Feb 07, 2017 11:34 pm
by Gangsir
Hey there Adil, just dropping by to say that I did in fact see your reply on the Wiki. Funnily enough, I don't use the forum that often. While I don't have any suggestions, I'm happy that you're taking the time to update it. If you don't mind, I could look it over and fix a few typos and whatnot. Do let me know what you decide, and if you need any help with formatting.

Re: Incomplete guide to factorio modding

Posted: Wed Feb 08, 2017 1:22 am
by bigyihsuan
I note that migrations are not discussed in your tutorial.

By far, migration code was the hardest thing to deal with when coding Complicated Recipes, with all of my tech result modifications and whatnot.

It would be helpful for new modders who want to change existing technologies to learn how migrations work.

That, and how the pretty convoluted item group/subgroup and item order system works.

Re: Incomplete guide to factorio modding

Posted: Sun Mar 12, 2017 11:39 pm
by Adil
Well, I guess I'm done.
I did add the chapter about making scenarios, and about migrations and about making mod fast.
I myself do not intend to change anything I've already wrote. Something might be added to the middle chapter, which deals with various modding tricks but, as some great person said:
Some great person wrote:I don't have timeline for that, hehehe...
If you want to read and edit, treat it as if it is out of active development.