Not sure where to put this exactly but I figured here would be the best place. Basically I’m having an issue where on graphics quality 1 the particle emitter effects for thrusters of my ufo are perfect, and when they are increased to 10 they become less transparent for some reason and look big and horrible. How do i Fix this? I don’t know why changing graphics quality changes the transparency for no reason. I want to keep the effects as they are on graphics quality 1 and have them stay the same regardless of graphics quality change.
In a local script it would let you get the client’s graphics quality. You couldn’t change their settings, but you could alter your transparency settings based on their settings if you wanted to.
You can’t make them the same by default. But i have a workaround for this:
Create a Script, It can be either on the Client or Server, But i’d rather choose Client.
Add an Attribute to each ParticleEmitter and name it “ParticleRate”, Make it’s value the Rate of the Particle (e.g: 10, 20) right after doing so, Set it’s rate to 0.
Use CollectionService and tag all your ParticleEmitters with the “FixedParticleRate” tag.
After doing all of this, You can paste this code inside your script, It’ll loop through each ParticleEmitter and create a new thread which’ll Emit it every x amount of time. The formula used to get the Time between each Emit is 1 / ParticleRate.
local CollectionService = game:GetService("CollectionService")
local FixedParticleRateTag = "FixedParticleRate"
local function CreateFixedRateParticle(Particle, Rate)
task.spawn(coroutine.create(function()
while task.wait(Rate) do
if Particle and Particle.Parent then
Particle:Emit(1)
else
break
end
end
end))
end
for _, Particle in pairs(CollectionService:GetTagged(FixedParticleRateTag)) do
CreateFixedRateParticle(Particle, 1 / Particle:GetAttribute("ParticleRate"))
end
CollectionService:GetInstanceAddedSignal(FixedParticleRateTag):Connect(function(Particle)
CreateFixedRateParticle(Particle, 1 / Particle:GetAttribute("ParticleRate"))
end)
Hello, I’d like to ask a question regarding about CollectionService, it seems to be really useful in my current situation as I’m using it for my particle emitters.
So precisely, If i tag all the Particl Emitter I want to modify with the Service, I would like to first need to clone them. If I clone these particle emitter, are they still in the Tag?