@@ -127,19 +127,15 @@ function ParticleUtility:CreateDirectionalSmokeEffect(positionOrFullTable, angOr
127
127
for _ = 0 , math.floor ((count / (math.random (2 ,4 ))) * smokeMult ) do
128
128
129
129
-- Tiny smoke, high spread
130
- local tinySmokeCount = math.random (math.max (0 , math.floor (smokePower / 25 )), math.max (0 , math.ceil (smokePower / 12.5 )));
130
+ local tinySmokeCount = math.random (math.max (0 , math.floor (smokePower / 12.5 )), math.max (0 , math.ceil (smokePower / 6.25 )));
131
131
for i = 1 , tinySmokeCount do
132
- local countFactor = i / tinySmokeCount ;
133
- local randSpread = (math.random (- spread * 500 , spread * 500 )/ 1000 ) * countFactor ;
134
- local easeFactor = math.abs (randSpread / (spread / 2 ))
135
- factor = 1 - math.cos ((easeFactor * math.pi ) / 2 );
136
- randSpread = randSpread * easeFactor ;
132
+ local randSpread = (math.random (- spread * 500 , spread * 500 )/ 1000 )
137
133
local randVelocityMult = RangeRand (0.5 , 1.5 );
138
134
139
135
local particle = CreateMOSParticle (" Tiny Smoke Ball 1" , " Base.rte" );
140
136
particle .Pos = position + Vector (0 , RangeRand (- widthspread / 2 , widthspread / 2 )):DegRotate (angle );
141
137
particle .Vel = Vector (velocity .X , velocity .Y ):DegRotate (randSpread ) * randVelocityMult ;
142
- particle .Lifetime = particle .Lifetime * RangeRand (0.75 , 1.25 ) * lingerMult ;
138
+ particle .Lifetime = particle .Lifetime * RangeRand (0.75 , 1.75 ) * lingerMult ;
143
139
particle .AirThreshold = (particle .AirThreshold / airResistanceMult ) * (lingerMult / airResistanceMult );
144
140
particle .AirResistance = math.min (62.5 , particle .AirResistance * airResistanceMult );
145
141
particle .GlobalAccScalar = particle .GlobalAccScalar * gravMult ;
@@ -214,7 +210,7 @@ function ParticleUtility:CreateDirectionalSmokeEffect(positionOrFullTable, angOr
214
210
randSpread = randSpread * easeFactor ;
215
211
local randVelocityMult = RangeRand (0.5 , 1.5 );
216
212
217
- local particle = CreateMOSParticle (" Explosion Smoke Small " , " Base.rte" );
213
+ local particle = CreateMOSParticle (" Side Thruster Blast Ball 1 " , " Base.rte" );
218
214
particle .Pos = position + Vector (0 , RangeRand (- widthspread / 2 , widthspread / 2 )):DegRotate (angle );
219
215
particle .Vel = Vector (velocity .X , velocity .Y ):DegRotate (randSpread ) * randVelocityMult ;
220
216
particle .Lifetime = particle .Lifetime * RangeRand (0.4 , 0.8 ) * (lingerMult );
0 commit comments