Adding particle 101,102,103,104 to fire from car explosions - Question from Email DandP Production
Apologies if it got my voice cussing a storm at one point. I made this not to be voice but typed instead. I rather live stream on a one to one if this is too much, I would say hell no and run if this was the only way to learn it.
This is not the best explanation, but it is what I managed to figure out tonight, I still in the end did not find what handles the amount of arms (but would be your smoke, you did not provide the artwork, just the Emmitter and particle.jsons. the artwork will be am image, with alpha background like a png or a dds using compression type bc3.
They are only like 256x256 or 512x512 I would say just use PNG but DDS is processed by the GPU without having to first go through cpu like jpg and png. Just make sure they are power of 2.
2,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384
X times
and combination from above like 512 x 4096 or 128 x 128 for example in case you dont know. DDS will sometimes really screw up if they are not power of 2. Pressing ~ you would likely see that same error looping.
But This is good. It tells you how to add more to the existing LUA. I can dig more on that arm not comming out as many but you may should let the game handle it. I am on a 4080, so it dont really mater on mine they are not coming out as many. Same thing is the case with some of the somes from exhaust. That too is in a LUA in one of the ones that is on a lua, forget exactly which one but I did chage the cars exhaust in the same way this is done, but in that lua. It too would need to be moved over.
I hope you already know how I get my particles from install path to user folder. keep in mind a mod would be packed different then when in edit mode. I can include my file structure for particles. They work, but they also bleed into other mods. All mods will load my particles how they are set up, but that is what I want. It can be done by saving to level too, if sharing a level but that does not allow for custom node materials without also getting the particles.lua from the install path and placing it in the user folder in the 0.36/lua/common/particles.json which comes from install path,. steamapps, beamng drive/lua/common/particles.json.
You dont want to overwrite the install path ones, instead coping to user folder game will load them first but like I said as long as that mod is in your mod folder or unpacked for editing, it will effect game if others also have same setup for say there custom particles. It really should get fixed in my opinion. It is next to useless now if you want new particles for the crashes. Like when metal crashes into metal I Did what you did. Several different smokes and sparks in addition to the game ones (had none for metal and metal)
Look at the video I show how I set them up first, then this one will make more sense.
• Making Particles - Getting Started - What ...
This video at the beginning will show how to get the one for the fire so you can edit them. If I did not make it clear, what you are doing now so far is you made particle emitter 101,102,103,104 or whatever they where and you put them with the particlemitter.json and you created the particles for those emitters. You did not send the images that are loaded from the artwork that is also in that same folder. if you added them. You can see my example how mine has several different art works for particles like the Arm..
I likely would need to one on one to save you from watching all this and it being too much to read or follow at once. I can arrange that if you want to meet on a livestream that only you can get into. and directly communicate through messenger. That would be what I recommend. It may even be something I later include in a paid membership but that is a ways off if so. And I would not be able to do everything people ask, just certain things. But this I feel can be done. Maybe be the test subject for one. I can share them public for all to see after. IF I just live stream and anyone can come in you will see people ask things not related and get me side tracked = its no hope at that point lol. One on one is simple compared.
And there is another person who wants something similar but having it randomly make different particles in crashes so they are not the exact same particle ever single time. I can somewhat do that by duplicates using different particles but only have them activate according to slip velocity.
that stuff is in the particles.json that are copied over from the install path/lua/common/particles.json and put into user folder 0.36/lua/common/particles.json. New node materials for jbeams can also be created near the top of that file.. You will see FLESH I think I named it.
That I know how to do. Just know if you go through and do it all, the repo will not take it if you want to share it there. I just share them on the channel. They dont like how the lua is loaded inplace if the install lua which even after talking to car killer it is still not crystal clear as I told him.

