Modding tools??

Place to post guides, observations, things related to modding that are not mods themselves.
Post Reply
white_onyx
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Feb 14, 2015 10:37 am
Contact:

Modding tools??

Post by white_onyx »

Hi everyone.

has anyone ever been kind enough to create a developer kit for mods?

or is everything purely done with text editors?

i was just wondering :D

User avatar
bigyihsuan
Filter Inserter
Filter Inserter
Posts: 299
Joined: Thu Jan 01, 2015 12:57 pm
Contact:

Re: Modding tools??

Post by bigyihsuan »

white_onyx wrote:Hi everyone.

has anyone ever been kind enough to create a developer kit for mods?

or is everything purely done with text editors?

i was just wondering :D
All you need is a text editor and an image editor, it seems like. Image editor for icons, sprites, etc., and the text editor for everything else.

white_onyx
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Feb 14, 2015 10:37 am
Contact:

Re: Modding tools??

Post by white_onyx »

bigyihsuan wrote:
white_onyx wrote:Hi everyone.

has anyone ever been kind enough to create a developer kit for mods?

or is everything purely done with text editors?

i was just wondering :D
All you need is a text editor and an image editor, it seems like. Image editor for icons, sprites, etc., and the text editor for everything else.
Seems like an inefficient way of doing it

this is what i figured i'd use for easier mod creation

Image

User avatar
L0771
Filter Inserter
Filter Inserter
Posts: 516
Joined: Tue Jan 14, 2014 1:51 pm
Contact:

Re: Modding tools??

Post by L0771 »

i think you need:
- list of items added
- button to add an item
- link to wiki of every item
- flags should be a checkbox (in the same window or other)

but some entities have big structures, and can't be generic, maybe type can be a combo box.

i like this idea

white_onyx
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Feb 14, 2015 10:37 am
Contact:

Re: Modding tools??

Post by white_onyx »

L0771 wrote:i think you need:
- list of items added
- button to add an item
- link to wiki of every item
- flags should be a checkbox (in the same window or other)

but some entities have big structures, and can't be generic, maybe type can be a combo box.

i like this idea
What information would it need to display from the wiki?

currently it just reads all the data, im trying to put in links between items and recipes and place results.

this is what i got currently
Image

YuokiTani
Smart Inserter
Smart Inserter
Posts: 1037
Joined: Thu May 08, 2014 7:57 pm
Contact:

Re: Modding tools??

Post by YuokiTani »

Looks good, keep working on it.

User avatar
L0771
Filter Inserter
Filter Inserter
Posts: 516
Joined: Tue Jan 14, 2014 1:51 pm
Contact:

Re: Modding tools??

Post by L0771 »

white_onyx wrote:What information would it need to display from the wiki?
nvm, items aren't needed, but like https://forums.factorio.com/wiki/inde ... emNameHere

and this program contain a tool for lua?

User avatar
ludsoe
Fast Inserter
Fast Inserter
Posts: 243
Joined: Tue Feb 11, 2014 8:16 am
Contact:

Re: Modding tools??

Post by ludsoe »

L0771 wrote:
white_onyx wrote:What information would it need to display from the wiki?
nvm, items aren't needed, but like https://forums.factorio.com/wiki/inde ... emNameHere

and this program contain a tool for lua?
I don't see the purpose of adding lua into this... Considering there's stuff like notepad++ which has lua syntax and autocomplete.
Whites Quote
Do you select which folder it reads? Or does it read all folders inside the data folder.

white_onyx
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Feb 14, 2015 10:37 am
Contact:

Re: Modding tools??

Post by white_onyx »

ludsoe wrote:
L0771 wrote:
white_onyx wrote:What information would it need to display from the wiki?
nvm, items aren't needed, but like https://forums.factorio.com/wiki/inde ... emNameHere

and this program contain a tool for lua?
I don't see the purpose of adding lua into this... Considering there's stuff like notepad++ which has lua syntax and autocomplete.
Whites Quote
Do you select which folder it reads? Or does it read all folders inside the data folder.

Lua is done internally, once you export your "mod" all the files are auto made and sorted. all you need to do is press new item, add your data and do export. and there are 0 mistakes in the lua scripting to begin with.

even a non programmer can work with this. as there is no scripting involved with this tool

and yes you load the folder you want. i just used basemod as it already has everything so easier to test the loading

User avatar
ludsoe
Fast Inserter
Fast Inserter
Posts: 243
Joined: Tue Feb 11, 2014 8:16 am
Contact:

Re: Modding tools??

Post by ludsoe »

white_onyx wrote: Lua is done internally, once you export your "mod" all the files are auto made and sorted. all you need to do is press new item, add your data and do export. and there are 0 mistakes in the lua scripting to begin with.

even a non programmer can work with this. as there is no scripting involved with this tool

and yes you load the folder you want. i just used basemod as it already has everything so easier to test the loading
I was mistaken, i thought he was talking about control.lua and not the json tables contained inside the prototype lua files. Also by sorted do you mean your using the basemod's folder structure? (Personally I despise it.) Chances are that the MoMod series wont work in that case, as I've used my own folder structures. Looks good anyways.

white_onyx
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Feb 14, 2015 10:37 am
Contact:

Re: Modding tools??

Post by white_onyx »

ludsoe wrote:
white_onyx wrote: Lua is done internally, once you export your "mod" all the files are auto made and sorted. all you need to do is press new item, add your data and do export. and there are 0 mistakes in the lua scripting to begin with.

even a non programmer can work with this. as there is no scripting involved with this tool

and yes you load the folder you want. i just used basemod as it already has everything so easier to test the loading
I was mistaken, i thought he was talking about control.lua and not the json tables contained inside the prototype lua files. Also by sorted do you mean your using the basemod's folder structure? (Personally I despise it.) Chances are that the MoMod series wont work in that case, as I've used my own folder structures. Looks good anyways.
The structure of the mod does not matter as it loads the data.lua.

i should most likely not sort by file but by Type,

User avatar
hangyas
Manual Inserter
Manual Inserter
Posts: 3
Joined: Fri Mar 13, 2015 8:32 am
Contact:

Re: Modding tools??

Post by hangyas »

white_onyx wrote:
bigyihsuan wrote:
white_onyx wrote:Hi everyone.

has anyone ever been kind enough to create a developer kit for mods?

or is everything purely done with text editors?

i was just wondering :D
All you need is a text editor and an image editor, it seems like. Image editor for icons, sprites, etc., and the text editor for everything else.
Seems like an inefficient way of doing it

this is what i figured i'd use for easier mod creation

Image
is it downloadable somewhere?

Post Reply

Return to “Modding discussion”