#multiple particles on clothing
1 messages · Page 1 of 1 (latest)
Are you talking about effectSources?
i dont think so? rn im using a status effect on the clothing to give it a effect but if theres any way to have it so it can use both i'd be down
I'm pretty sure you can add multiple status effects using the statusEffects attribute
It's an array of strings
no
F
Cant do too much without that unfortunately
What status effects are you using for wet and poison particles?
Its a example, but lets say Hmm well lets say i already had the wet status affect already on the thing which makes it have those particles, how would i add another set o particles too it as well
I presume you're asking how to add status effects. In that case, you would just do something like this. In this example, the armor gives the player the status effects wet and weakpoison.
i'll give it a go n report back to ya
ok that gave me both status effects on the item but it only emits one set of the particles and not bot
Seems to be working on my end
Which status effects are you using?
modded ones
effectSources
ok so, how would i go bout using it
You pretty much use it the same way as with the statusEffects list but for effect sources, which are defined in /effects (shown in the image below).
If you want to define your own, you can just make a copy of an existing one, change the kind attribute and change the list of particles.
I'm not sure why they chose to make the particles attribute an array of arrays of strings
but changing it to an array of strings instead might cause an error
Also, particles are defined in /particles and have the .particle extension
duration (going back to .effectsource files) specifies how long the effect lasts (if loops is true, that specifies the amount of time between each particle emission). I'm currently trying to figure out what units that is measured in.
After looking at a couple examples from the assets, duration appears to be measured in seconds.
tyty
also a question fore i start, anyway i could add the effect via a mod and not have to go into the base game to modify it? the mod is for a close group of friends is all and i cant really have em modifying the same code each time to join me lol
@crisp burrow
You can add your own effects yeah
aah, how would i go about doing that?
.
Aah, and i just add it to the particles in the mod?