Particle Panel alternative

There should be a file called vfx_loader.py with the editor (if it’s not you can use the one that’s in the Koparka git github.com/wezu/koparka/blob/ma … _loader.py). You may need to edit that file to point to the shaders that are needed if you moved them or if you have other shaders.

And now that I think of it, the loader tries to load a texture from ‘…/partices/smoke1.png’, so if you don’t have a texture like that in a place like that, replace it with someting sane. I know it was a stupid thing to do but well…

Load the values from a json file (let’s call the file effect.json) and let the createEffect function from vfx_loader do the rest:

from vfx_loader import createEffect
import json

with open('effect.json') as f:  
    values=json.load(f)
particle_effect=createEffect(values)
#particle.start(parent=model, renderParent=render)