Mods / Particles Plus
Author: el_shift
Side: Client
Created: Jun 5th 2024 at 6:28 PM
Last modified: Nov 1st at 1:00 PM
Downloads: 23268
Follow Unfollow 647
Recommended download (for Vintage Story 1.21.0 and 1.21.5):
particlesplus-2.3.1.zip
1-click install
Note: If you used 1.x version before with custom config you will need to delete or rename it. 2.x will create new config file.
Demo Video
Features:
- Add particles for clays, peat, meteoric iron, resin logs, high and pretta soil by default
- GUI configuration: enable/disable particles, add new presets within the game ("P" key by default)
- Toggle all active presets on/off from GUI or with hotkey ("CTRL + P" by default)
- Add custom particles (requires config file editing)
Adding custom particles:
If you want to add custom particles you can do it in the mod's config. You should be familiar with:
- JSON formating
- Wildcards and Regex
- AdvancedParticleProperties Class properties from VintageStory API.
Just follow default config format. I highly recommend to use Modding Tools by Maltiez for creating / exporting particles code.
Planned:
- Particles managment (import, delete) in GUI
- Renaming?
- More particles options by default
☕💖If you want to say "Thank You" you can buy me a coffee <3
If you need any help you can reach me at Discord -> el_shift
| Mod Version | Mod Identifier | For Game version | Downloads | Released | Changelog | Download | 1-click mod install* |
|---|---|---|---|---|---|---|---|
| 2.3.1 | particlesplus | 7479 | Aug 1st at 2:03 PM | particlesplus-2.3.1.zip | 1-click install | ||
| |||||||
| 2.3.0 | particlesplus | 2161 | Aug 1st at 2:01 PM | particlesplus-2.3.0.zip | 1-click install | ||
| |||||||
| 2.2.0 | particlesplus | 878 | Jul 23rd at 9:34 PM | particlesplus-2.2.0.zip | 1-click install | ||
|
Default Config Changes:
If you want those changes you will need to regenerate your config file Global Toggle Feature:
| |||||||
| 2.0.1 | particlesplus | 902 | Jul 15th at 6:31 PM | particlesplus-2.0.1.zip | 1-click install | ||
| |||||||
| 2.0.0 | particlesplus | 388 | Jul 13th at 1:16 PM | particlesplus-2.0.0.zip | 1-click install | ||
| |||||||
| 1.2.1 | particlesplus | 5098 | Feb 17th at 9:24 PM | particlesplus-1.2.1.zip | 1-click install | ||
| |||||||
| 1.1.1 | particlesplus | 2987 | Jan 10th at 8:29 AM | particlesplus_1.1.1.zip | 1-click install | ||
| |||||||
| 1.1.0 | particlesplus | 3352 | Jun 6th 2024 at 11:15 AM | particlesplus_v1.1.0.zip | 1-click install | ||
|
Removed config file from ModConfig by default. For those who want to customize the particles / add their own please copy particlesplus.json from mod archive under assets/particlesplus/config/ to your ModConfig folder. If you used previous versions, without modifying or adding anything in config file you can remove it in order to update particle effects. | |||||||
Can someone explain how editing the json file is meant to be done? I have been trying to add in copper and copied and pasted exactly what was described below, tried various other forms, made presents through the ingame GUI, but nothing happens. It repeatedly breaks the mod and nothing has particle effects as a result.
for some reason it stops working after some time
@Jotix Hi. Im pretty sure there is a mod called "Buzzword" to notify you about close beehives, plus hives have naturally visible particles around them
hi, is possible add particles or like for bee hives ?
i look at code and try but cant find the wildcard for the beehives ;(
thansk for your time and work
MushroomDot Azraile you can do all of that via config and particle editing yourself. I'm not feeling like investing anytime in it.
nice mod, but would be nice for the particles to be a little less obvious. rn its a beacon
some sugestions:
add hight controls for particles,
add fire clay (PLEASE)
add tree stumps PARTICUARLY with the fungus infection ... LOTS of partricals in the whole area for that for the wildcraft trees mod XD
Is there a way to change the max height of the particles?
Tried to do this for Primitive Survival's tree hollows but wasn't successful. Tried "treehollowgrown-*" for the wildcard. Any advice?
bintoss thanks mate 👍
Delta0010 SHIFT+P or CTRL+P.
where can i find the configuration menu that appears in the 5th pic? been searching everywhere and i can't find it
Pamela this is HSVA (Hue, Saturation, Value, and Alpha), try get values here https://www.selecolor.com/en/hsv-color-picker/ last value is for alpha so it represents transparency. Little problem is that most pickers represent values in degrees for hue (360 max) and percentage for SV (100 max) while in game values are all in 8 bits (255 max) so you will need to use a bit of math there or use mods mentioned in the description. Example:
Hue of 180 is picker would be 127 in game
Saturation or Value of 50% would be 127 in game
Hope that makes sense.
I would like to change the color of the clay particles, but can't figure out which numbers to change as RGB only has 3 numbers....
Can you please help?
NylonCat no problem <3
MoltenSlag this is client side only mod, there is no server side
Thank you for updating your mod so quickly, i'm playing with default settings/config and haven't encountered any issues.
So I appreciate the mod and really want to use it, but the current rate at which some of the particle types appear is a bit overwhelming. How can I adjust the particle rate? Thank you.
edit: so I scrolled down the comment section and saw you already answered this, but I have another question. How can I ensure that the changes are effective server-side, if they aren't by default? I'm running a small private server, so I could guide my players through the process, but I'd rather not have to if that's possible.
pimblokto try treehollowplaced-*
They all start with primitivesurvival:treehollowplaced-(type)
pimblokto with enabled debug info in creative for example. it will say "code" in block tooltip
I'm not sure how to find it, how can I do that?
pimblokto its block id?
what could i add to the code make particles appear for the tree hollows from primitive survival?
Laimfo_II you can't this is the game limitation
The particles begin to appear at a distance of 40 blocks. How can I increase the distance?
For those who come after me :
Make sure your server time is not stopped
Thanks again el_shift for the debug :)
Okuromatsu send me client-main.log and your particlesplus.json to discord.
@el_shift I know it's client side, the mod is only installed on my client but the particle won't show on the server only in solo. The mod is NOT installed on the server.
The GUI work in the server but no particle (event pressing ctrl P). I'm on 1.20.12 with 2.3.0 version of the mod
Criticalhat - "@looseores-(nativecopper|malachite)-(.*)" if you want to cover malachite ore as well
Okuromatsu - This is client side only mod, all particles client side only. You don't need to install this on the server side.
The mod work perfectly on solo but not on my custom private server and I don't know why, I can open the GUI but can't see any particles ;(
Do I miss any server side config ?
Apologies if this is a dumb question, but what would the wildcard value need to be set to to mark surface copper bits?
PeridotClod go to game settings and change it to whatever you want under controls. Any hotkey for any mod is reassignable by default in controls settings.
Hi, couldn't it be useful to set the shortcut to another key than P, already used by ConfigLib, or at least add the shortcut key into the config JSON? Having to delete configlib to access the mod configuration seems inconvenient :/ ..
Thank you
Gerby enable debug in the game settings, check in creative? it should show it in block tooltip
How can you find the wildcard name for the blocks?
Super! Thanks so much!
Pamela
1. Read https://wiki.vintagestory.at/index.php/Modding:Simple_Particles , Properties Overview section
2. Make copy of existing soil particles with different name in config
3. Adjust "HsvaColor" section
I would like to change the color of the particles for clay, so I can tell them apart from soil. Can you guide me through that??
@el_shift Thank you
JustDavid just delete particlesplus.json and mod will recreate default one or add it back via GUI. Wildcard is "meteorite-iron"
I goofed and deleted meteoric iron and I have no idea how to add it back correctly. I don't know the Wildcard for it. Any help would be appreceated.
Tanihk If you had 1.x config you will need to delete / backup the old one, otherwise mod will not load.
Send me the log from %APPDATA%\VintagestoryData\Logs\client-main.log to my Discord - el_shift.
For some reason this mod isnt working for me. It has in the past but now its not. I even deleted and redownloaded the mod. WWhen I press P it opens ConfigLib instead of this and if I change keybinds it still wont open. CTRL+P doesnt do anythingf either which makes me beleieve its not even loading. Im currently using version 1.20.12. I would love any help you could offer. My vision isnt great and this was a hugehelp.
Just for someone who is looking for the answers and have a simular problem I will post the solution here:
"copper / malachite": {
"Enabled": false,
"Wildcard": "@ore-(.*)-(malachite|nativecopper)-(.*)",
"Particles": "Ore Sparks"
},
"hematite / limonite / magnetite ": {
"Enabled": false,
"Wildcard": "@ore-(.*)-(hematite|limonite|magnetite)-(.*)",
"Particles": "Ore Sparks"
},
"olivine": {
"Enabled": false,
"Wildcard": "ore-olivine-*",
"Particles": "Ore Sparks"
}
el_shift I sent you a friend req on discord!
I didn't realize it was regex, I guess. I was just noodling around in the config like an idiot, haha. I thought the could only be used as the last symbol, and didn't realize it could be used in any of the slots gdi- Now my only struggle is getting something like copper and other multi block shite to work. My attempt to have two ores in the wildcard with a comma between them;
Or iron which has three
I tried with [] and () around them as well, but I might just be doing it wrong?
But the version with () and [] both break the gui, and so does just putting commas between them. And if it breaks the gui, I'm assuming it doesn't work. Sorry this has basically turned into regex 101 whoops.
We're also going to ignore the ten minutes I spent trying to figure out a symbol on the regex cheat sheet I was looking at, only for it to turn out to be a speck on my moniter.
I just reread your message and now I'm more confused- I can swap wildcard for regex? I definitely don't follow ^^;
Valkyrja could you send me your config that breaks GUI? :D I can also fix it for you and it will help me to bulletproof GUI from breaking :D Hit me up on Discord - el_shift
To target all gold quartz you can do ore-*-quartz_nativegold-*
You can also do ore-*-quartz_native*-* for silver and gold
In reality you can do as many different blocks you want by using regex, the line have to start with @ character for regex to work. Examples above are not regex, those just using wildcard character
I love this so much, the clay ones really help with being colorblind lmao.
Is there a way to put multiple things in the wildcard section? Like, I've tried a few different attempts, but something with my sytax just cause the gui to utterly break and I have to revert back lmao.
right now i have a section labelled goldA -goldD,
"Golda": {
"Enabled": true,
"Wildcard": "ore-poor-quartz_nativegold-*",
"Particles": "Ore Sparks"
},
"Goldb": {
"Enabled": true,
"Wildcard": "ore-medium-quartz_nativegold-*",
"Particles": "Ore Sparks"
},
"Goldc": {
"Enabled": true,
"Wildcard": "ore-rich-quartz_nativegold-*",
"Particles": "Ore Sparks"
},
"Goldd": {
"Enabled": true,
"Wildcard": "ore-bountiful-quartz_nativegold-*",
"Particles": "Ore Sparks"
},
Basically, is there a way to mush all of those into one chunk so I don't have to enable/disable 4 seperate options?
Also, making my own particle effects was actually pretty entertaining, so that was a cool side effect.
Crowflake this is why I made this :D Some use it for halite but I don't go that far. Planning to add cracked vessels and bonysoil to it...
Love this mod! I wish there was a more "organic" way to find high fertility dirt, because right now my "tolerance to pure RNG crap" is already spent on halite prospecting.
Cairen yes you can do it in gui, press P to open it up.
Is there a way to disable particles just for peat? I find SO MUCH of it during my games that I dont need to actively go out and search for it, but I have a hard time distinguishing it from High Fertility Soil.
AlexUnknown fixed the bug with VintageSymphony, we used same id for gui composer, thank you for reporting.
AlexUnknown you can, manually in particlesplus.json. Under particles key you want to modify, look for
This article might help you big time editing / adding your own https://wiki.vintagestory.at/index.php/Modding:Simple_Particles
You don't need C# code from there but it explains what those properties do pretty well.
Vintage Symphony seems to break the gui.
Is there a way to lower the amount of particles and size? I wanted to lower it a bit.
AlexUnknown have you used 1.x version? Do you have an old config mb? Personally never seen it black. GUI is writen using vanilla API. What version are you on? Try running it without other mods.
I need to look more into it, probably a mod conflicting. The settings window is pure black.
Thanks JimmyMac!!!
Byucknah still works for me
¯\_(ツ)_/¯
The mod just stopped working entirely for me today. I have tried removing it and re-adding it. I tried removing the customized config json. I removed all mods and then reinstalled it fresh. Nothing is working. The particles will not appear anymore.
Is there a way to increase the distance at which particles can start appearing? It seems that if I am too high up they wont spawn.
Would you consider adding particles for blue and fire clay, now that they are so hard to find??
JimmyMac
This JSON is perfect as far as my needs go. Thanks a ton for uploading this here.
Have you considered maybe posting the file as a mod on this database so people could parse versions and whatnot? Would keep it from staying buried in the comment section of its parent mod.
Ghaelen why would farmland give any particles? Particles are for soil not farmland. And this mod is a client side only mod. Why are you installing this on your server?
Thap not with this mod no
Is there a way to make the particles only appear when you are close? And not go much far up, only like three blocks?
It is still working fine as of 1.20.5 btw, not sure why it isn't working for others
This doesnt seem to work for me either.
Edit: I didn't rwealise time was stopped. Works just fine
Does this affect surface copper? I struggle to see them and am hoping this could help with that
Ragnarogk it seems that it only applies to running water. My guess would be that it spawns right bellow the block it's on with offset probably have something that checks in JSON assets for water or could be hardcoded into the game.
what about dripping particles to blocks just below water? Like if you are digging and the block above have water directly over it, particle that falls like dripping water.
Is it possible to have a hotkey to disable it/enable it (and reload when re-enabled)?
good soup
Ah that makes sense, it works! Thanks Staniboy
JimmyMac good job, I would add some more X and Z position variation through.
Zadak for regex you need to start key with "@" also use "(.*)" instead of plain "*". Soil setup is pretty good example for it. If you need to test it you can use something like regex101. Hit me up on discord I will take a look
Custom Config - All the things! - Video
I love this mod. Thanks for making it. I modified the iron, high fert, and terra. I added red blue and fire clay particles. For me the particles were just standing out too much making them way too easy to find. My version makes them much more subtle. You can't just look off at the horizon and see them a hundred blocks away but if you come across them in the world you won't miss them.
Custom JSON Config - JSON Download
Best mod out there, I have a suggestion, because you say it supports Regex, but I tried it e.g. with using wildcards (.*) and it doesn't seem to work, however, wildcards (*) do act as "any"?
Am I misunderstanding naming things and the pattern matching it uses? Is it pure regex?
Keagan yup
will this work in 1.20.1 or will you update it to 1.20.1?
i like how it looks like dripping honey.
Sapion yes
is this a client side mod?
NastyFlytrap Once again you can do pretty much anything u want via config file. I don't think I will be writing any UI for it ever. If you need help with config file you can write me on discord.
Yea, they are, but the game logic you wrote isnt, and if you write a bit more that lets us toggle the individual functionalities on and off, and then let us change those in game using config lib, then that'll work
NastyFlytrap yeah no promises :D those particle configs are pretty much raw game object so... Again if u want particle editing Modding Tools are pretty good. This plugin is just a hook for the game engine pretty much to insert w/e u want
Config lib is for editing the config files of mods, in game, without having to edit text files, and needing to relaunch the game.
NastyFlytrap you probably can configure it this way ticking some box for particle collision just like in resin particles. Or you could remove meteoric iron from config completely since there is really no exposed meteoric iron in-game. I don't see any reason to add config lib since you pretty much can add any particles to any blocks and if you need to create your own particles u can use Modding Tools by Maltiez who also created Config Lib. You can hit me up on discord @staniboy if you need help with editing config
edit: Under meteorite-iron, change "TerrainCollision" to true
It'd be really nice if i could make it not show the meteoric iron particles if the blocks are still buried. Yes, i know it defeats the purpose of easily finding it, but, still. I dont want the game to tell me these things if i cant physically see the block. With the terra preta its fine because its the top layer, i can see it, i just need to pay attention, so its not cheating with that.
Edit: Its great that you're letting us configure the mod, but, would it be possible to create a setting that only shows the particles for the iron if its 'exposed to air'?
Also, any chance for config lib support?
Germugulgon yes, see "Advanced Usage" then you can remove particles for meteoric iron, basicly you can cut out whole section. Let me know if you need more help.
Great mod! Is there a way I can disable the functionality for meteoric iron and keep the other two?
I'm fine with the help finding soil and resin, but would rather keep iron rare and more meaningful to find. Unsure if I can do that with the config, it appears to mostly be the visuals related to the particles rather than a flag toggle.
Cheers.
gg
nice mod, it's a real time-saver!
@DUCATISLO Yeah I agree, I tonned them down a bit.
👎
i like it but the terra preta soils isnt that good but hey i can always "edit it out"