Very Basic question

Place to get help with not working mods / modding interface.
User avatar
CyberBob
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Nov 01, 2018 10:46 am
Contact:

Very Basic question

Post by CyberBob »

Hello,
I am trying to create a very simple mod which only replace icons and graphics.(as my plactice)

Question:
data.raw["①"]["encode name"].② = "__Mod Name__/Folder location/pic_filename.png"
What is ① and ②? and where can I find the list for it.

I like to replace assembling-machine-1 and his shadow into my original graphic.

Hope my English is good enough to explain what I want to ask you.

Thank you very much.
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2905
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Very Basic question

Post by darkfrei »

Try this mod viewtopic.php?f=135&t=45107

You can find whole data.raw in the log file. Vanilla code output is about 10 MB and you can open this file with Notepad++
User avatar
CyberBob
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Nov 01, 2018 10:46 am
Contact:

Re: Very Basic question

Post by CyberBob »

darkfrei,

I couldn't understand how to use it, but thank you :D

darkfrei wrote: Mon Nov 05, 2018 4:18 pm Try this mod viewtopic.php?f=135&t=45107

You can find whole data.raw in the log file. Vanilla code output is about 10 MB and you can open this file with Notepad++
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2905
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Very Basic question

Post by darkfrei »

CyberBob wrote: Mon Nov 05, 2018 5:41 pm darkfrei, I couldn't understand how to use it, but thank you :D
Just open Factorio/factorio-current.log and you find, for example, accumulator's code:
2018-11-05 19_22_52-Window.png
2018-11-05 19_22_52-Window.png (32.65 KiB) Viewed 1256 times
User avatar
CyberBob
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Nov 01, 2018 10:46 am
Contact:

Re: Very Basic question

Post by CyberBob »

Oh!!! I got it, and I sucseed to make my 1st mod !!
Thank you very much :D :D :D
darkfrei wrote: Mon Nov 05, 2018 6:23 pm
CyberBob wrote: Mon Nov 05, 2018 5:41 pm darkfrei, I couldn't understand how to use it, but thank you :D
Just open Factorio/factorio-current.log and you find, for example, accumulator's code:
2018-11-05 19_22_52-Window.png
Post Reply

Return to “Modding help”