Page 1 of 1

Map Editor / Scenario How To

Posted: Wed Jun 27, 2018 2:35 am
by quake513
Ok Started working with the Map Editor, and I have been looking for info on how to use the editor on an advance level. Some of the things I am look for are:

1) Key board shortcuts / Hot keys to edit properties?
2) What is the surface tab do and how dose it work?
3) How can I add scenario actions? Like Highlighting a section of the map or item for player to interact with. Example the Campaign tutorial.
4) Is there a way to make a terrain/tree/ore spray that can have percentages of different type of Example ( Grass_1 50%, Grass_3 25%, Grass_4 25% )
5) Are there console commands use able in the map editor?

I think that most of my main questions.

Thanks for the help.

Re: Map Editor / Scenario How To

Posted: Wed Jun 27, 2018 9:07 am
by quake513
--------------------Hot keys--------------------

Options; Controls Settings; Editor

Remove Entity : X
Edit Entity Details : T
Show All Difficulties : F8
Show Easy Difficulties : F9
Show Normal Difficulties : F10
Show Hard Difficulties : F11

--------------------Scenario--------------------

Will need to edit the Control.lua (open with a notepad like notepad ++)

--------------------To set Technologies--------------------
Found this from : viewtopic.php?f=18&t=6219

As I learn more I will upate the form.

Re: Map Editor / Scenario How To

Posted: Wed Jun 27, 2018 10:42 pm
by eradicator
1) Options -> Controls -> Editor
2) "Surface" is the internal name for "parallel World". But you'll have to script in some way to actually get there. I.e. the interior of a factorissimo factory is a "surface". Nauvis is the name of the surface (i.e. planet) you start on.
3) control.lua
4) (don't know)
5) I can't even open the console D:.

Re: Map Editor / Scenario How To

Posted: Thu Jun 28, 2018 12:33 am
by quake513
Thanks

How to go about writing scripts for Factorio?

Re: Map Editor / Scenario How To

Posted: Thu Jun 28, 2018 3:15 am
by eradicator
Look at other peoples mods or scenarios. Read the scripting API documentation at http://lua-api.factorio.com/latest/. Have lots of patience.