i want make scenarios how i can make this? need make story, edit tehnologys-items and map.
need speep by steep manual. here i cant find normal information in 1 place
be better on russian.
How make scenarios
-
- Long Handed Inserter
- Posts: 73
- Joined: Sun Sep 29, 2013 1:13 pm
- Contact:
How make scenarios
Last edited by generalmek on Sun Jan 19, 2014 3:15 pm, edited 1 time in total.
my youtube chanel https://www.youtube.com/user/generalmeks
-
- Filter Inserter
- Posts: 559
- Joined: Mon Mar 04, 2013 9:23 am
- Contact:
Re: scenarios
You can make maps with ingame editor. But for doing scenario events and logics you will have to code htem in manually in LUA by changing control.lua file.
I suggest you check the existing campaign scenarios for reference. Also if you bought "scenario pack" addon there would be a bit more information there.
Other than that serch the Factorio Wiki for LUA coding. While it focues more on mod making, similar principles could be used in scenario design.
I suggest you check the existing campaign scenarios for reference. Also if you bought "scenario pack" addon there would be a bit more information there.
Other than that serch the Factorio Wiki for LUA coding. While it focues more on mod making, similar principles could be used in scenario design.
Re: scenarios
Firstly you need to know lua (a programming language)
Then create the scenario, go to the factorio folder and search where it is saved, then in your scenario folder edit the file called control.lua with a raw text editor like notepad++, look in campaigns/mods/other scenarios control.lua to see the code and see how events work, if you dont understand it then ask here.
You can also go to the factorio wiki.
If you dont know anytging about factorio scripting, then you should read freeEr's modding guide, it can be found somewhere in the modding subforum (modding discusion I think) and in the wiki.
If you need to ask something please ask it more specifically, I may make a guide some day if I have time but explaining everything in a simpleanswer post is not that easy.
Edit: silverwarrior was faster!
Then create the scenario, go to the factorio folder and search where it is saved, then in your scenario folder edit the file called control.lua with a raw text editor like notepad++, look in campaigns/mods/other scenarios control.lua to see the code and see how events work, if you dont understand it then ask here.
You can also go to the factorio wiki.
If you dont know anytging about factorio scripting, then you should read freeEr's modding guide, it can be found somewhere in the modding subforum (modding discusion I think) and in the wiki.
If you need to ask something please ask it more specifically, I may make a guide some day if I have time but explaining everything in a simpleanswer post is not that easy.
Edit: silverwarrior was faster!
Re: scenarios
Wasn't certain if I needed to comment after both SilverWarrior's and Ficolas's posts, but I may as well since I have a link to the forum modding guide in my sig. Obviously learn how to create the prototypes (items/entities/tech) you need (read a guide, look at base code, look at mods, ask questions). Then, if you know lua, or have some experience with programming I'd focus on creating the map first then creating the control code for it. Otherwise, create a small test map and experiment with some of the control code first. Also, since you're making a map I'll mention to make sure to use tags when creating entities that you know you'll be referencing with code later (give tags to entities by pressing 't' while hovering over the entity and it'll pop up some options, including a box to insert a tag), then in the code you can reference that entity using getentitybytag("tag") instead of having to use game.findentity and it's position.
And since I don't believe the Wiki Modding Tutorial is linked to anywhere (you can search it though) there's a link. Some of it might be a bit out of date (not too much) so if you copy/redo it and you get an error just read the message and it should point to the problem (most likely energy since the change to "W").
Hm, not sure what else to say honestly, so good luck and feel free to ask any other questions that come to mind
PS sorry it's not in Russian but I only know English
And since I don't believe the Wiki Modding Tutorial is linked to anywhere (you can search it though) there's a link. Some of it might be a bit out of date (not too much) so if you copy/redo it and you get an error just read the message and it should point to the problem (most likely energy since the change to "W").
Hm, not sure what else to say honestly, so good luck and feel free to ask any other questions that come to mind
PS sorry it's not in Russian but I only know English
<I'm really not active any more so these may not be up to date>
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me
Or drop into #factorio on irc.esper.net
~FreeER=Factorio Modding
- Factorio Wiki
- My Factorio Modding Guide
- Wiki Modding Guide
Feel free to pm me
Or drop into #factorio on irc.esper.net
-
- Long Handed Inserter
- Posts: 73
- Joined: Sun Sep 29, 2013 1:13 pm
- Contact:
Re: scenarios
i dont know lua, i thinking you use editor without programming. i can learn lua but its not for me. thank you all, anyway. think this topic will be nice for any who want make something interesting scenario pack
my youtube chanel https://www.youtube.com/user/generalmeks
Re: scenarios
Thank you very much for this link!! I have red whole modding part of wiki looking for any tutorials. But at least found only some mods. Well, looked over it...
Still i have many things misunderstood. Can you place a link on some of modding pages in wiki, so as to other factorio modders will not bloodly torturing google, like i am
Daniel V. Lenskiy
Re: scenarios
Если хочешь делать карты с сюжетом, то без кодинга тебе не обойтись, в факторио все что можно на луа. А без кодинга разве что просто карты в редакторе рисовать и все.generalmek wrote:i dont know lua, i thinking you use editor without programming. i can learn lua but its not for me. thank you all, anyway. think this topic will be nice for any who want make something interesting scenario pack
Если же захочешь найти какие нибудь мануалы по моддингу, то тут уже без английского никуда, да и самих манов на английском - кот наплакал
Я сам вон гугол уже второй день пытаю. Сейчас первый успешный улов, можно сказать.
Daniel V. Lenskiy