Page 1 of 1

Very Basic question

Posted: Mon Nov 05, 2018 4:05 pm
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.

Re: Very Basic question

Posted: Mon Nov 05, 2018 4:18 pm
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++

Re: Very Basic question

Posted: Mon Nov 05, 2018 5:41 pm
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++

Re: Very Basic question

Posted: Mon Nov 05, 2018 6:23 pm
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 1261 times

Re: Very Basic question

Posted: Mon Nov 05, 2018 7:50 pm
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