Make Fire Easier to Extend [solved]

Place to get help with not working mods / modding interface.
saors
Inserter
Inserter
Posts: 34
Joined: Wed May 17, 2017 12:09 am
Contact:

Make Fire Easier to Extend [solved]

Post by saors »

TL;DR
I want to spawn different color fire entities, but I cannot do it very easily.

What ?
Trying to create a new fire entity, in the same way that I do other custom entities, and modify the tint value, duration, and damage. I cannot because I basically need to copy over every function in the file (to get pictures, and the smoke, etc.), at which point I get an error about not using fire-smoke as it's been deprecated in favor of trivial smoke.
Screenshot_1.png
Screenshot_1.png (20.11 KiB) Viewed 1013 times
Last edited by saors on Fri Oct 25, 2019 3:29 pm, edited 1 time in total.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15259
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Make Fire Easier to Extend

Post by Rseding91 »

This seems like a lack of understanding how Factorio modding works. I'm going to move this into the modding help section where you're far more likely to get useful help.
If you want to get ahold of me I'm almost always on Discord.
saors
Inserter
Inserter
Posts: 34
Joined: Wed May 17, 2017 12:09 am
Contact:

Re: Make Fire Easier to Extend

Post by saors »

I discovered the problem. my working directory was pre .17 while my testing directory was post .17

After fixing this, I am able to copy the fireutil, fireutil.foreach, and fireutil.create_fire_pictures and just do a deepcopy of the fire-flame and modify that.

I then had to copy the graphics from the base and change the references to them in the fireutil function.
Post Reply

Return to “Modding help”