This commit is contained in:
lifestorm
2024-08-04 22:55:00 +03:00
parent 8064ba84d8
commit 73479cff9e
7338 changed files with 1718883 additions and 14 deletions

View File

@@ -0,0 +1,84 @@
--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
local smoke = {
"particle/smokesprites_0001",
"particle/smokesprites_0002",
"particle/smokesprites_0003",
"particle/smokesprites_0004",
"particle/smokesprites_0005",
"particle/smokesprites_0006",
"particle/smokesprites_0007",
"particle/smokesprites_0008",
"particle/smokesprites_0009",
"particle/smokesprites_0010",
"particle/smokesprites_0011",
"particle/smokesprites_0012",
"particle/smokesprites_0013",
"particle/smokesprites_0014",
"particle/smokesprites_0015",
"particle/smokesprites_0016"
}
function EFFECT:Init( data )
local vOffset = data:GetOrigin()
local emitter = ParticleEmitter( vOffset, false )
for i = 1, 80 do
local Pos = Vector( math.Rand( -1, 1 ), math.Rand( -1, 1 ), 0)
local particle = emitter:Add( smoke[math.random(1, #smoke)], vOffset + Pos * 4 )
if ( particle ) then
particle:SetVelocity( Pos * 320 )
particle:SetLifeTime( 0 )
particle:SetDieTime( 8 )
particle:SetStartAlpha( 8 )
particle:SetEndAlpha( 0 )
particle:SetColor(60, 193, 255)
particle:SetRoll( math.Rand( -1, 1 ) )
local Size = math.random( 100, 150 )
particle:SetStartSize( Size )
particle:SetEndSize( Size )
particle:SetAirResistance( 50 )
particle:SetGravity( Vector( math.Rand( -1, 1 ) * 50, math.Rand( -1, 1 ) * 50, 10 ) )
end
end
timer.Simple(4.2, function()
for i = 0, 80 do
local exp = emitter:Add( smoke[math.random(1, #smoke)], vOffset)
if exp then
exp:SetVelocity( Vector(math.Rand(-1, 1), math.Rand(-1, 1), 0) * 300 )
exp:SetDieTime( 3 )
exp:SetStartAlpha( 68 )
exp:SetStartSize( 150 )
exp:SetEndSize( 80 )
exp:SetEndAlpha( 0 )
exp:SetRoll( math.Rand( -1, 1 ) )
exp:SetColor(60, 193, 255)
exp:SetGravity( Vector( math.Rand( -1, 1 ) * 50, math.Rand( -1, 1 ) * 50, 10 ) )
end
end
emitter:Finish()
end)
end
function EFFECT:Think()
return false
end
function EFFECT:Render()
end

View File

@@ -0,0 +1,83 @@
--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
local smoke = {
"particle/smokesprites_0001",
"particle/smokesprites_0002",
"particle/smokesprites_0003",
"particle/smokesprites_0004",
"particle/smokesprites_0005",
"particle/smokesprites_0006",
"particle/smokesprites_0007",
"particle/smokesprites_0008",
"particle/smokesprites_0009",
"particle/smokesprites_0010",
"particle/smokesprites_0011",
"particle/smokesprites_0012",
"particle/smokesprites_0013",
"particle/smokesprites_0014",
"particle/smokesprites_0015",
"particle/smokesprites_0016"
}
function EFFECT:Init( data )
local vOffset = data:GetOrigin()
local emitter = ParticleEmitter( vOffset, false )
for i = 0, 15 do
local exp = emitter:Add( "particles/flamelet"..math.random(1,5), vOffset)
if exp then
exp:SetVelocity( VectorRand() * 250 )
exp:SetDieTime( 0.2 )
exp:SetStartAlpha( 255 )
exp:SetStartSize( 20 )
exp:SetEndSize( 150 )
exp:SetEndAlpha( 50 )
exp:SetRoll( math.Rand( -1, 1 ) )
exp:SetColor(60, 193, 255)
exp:SetGravity( Vector( 50, 50, 10 ) )
end
end
for i = 1, 40 do
local Pos = Vector( math.Rand( -1, 1 ), math.Rand( -1, 1 ), 0)
local particle = emitter:Add( smoke[math.random(1, #smoke)], vOffset + Pos * 4 )
if ( particle ) then
particle:SetVelocity( Pos * 120 )
particle:SetLifeTime( 0 )
particle:SetDieTime( 2 )
particle:SetStartAlpha( 8 )
particle:SetEndAlpha( 0 )
particle:SetColor(60, 193, 255)
particle:SetRoll( math.Rand( -1, 1 ) )
local Size = math.random( 100, 150 )
particle:SetStartSize( Size )
particle:SetEndSize( Size )
particle:SetAirResistance( 50 )
particle:SetGravity( Vector( math.Rand( -1, 1 ) * 50, math.Rand( -1, 1 ) * 50, 10 ) )
end
end
emitter:Finish()
end
function EFFECT:Think()
return false
end
function EFFECT:Render()
end

View File

@@ -0,0 +1,82 @@
--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
local smoke = {
"particle/smokesprites_0001",
"particle/smokesprites_0002",
"particle/smokesprites_0003",
"particle/smokesprites_0004",
"particle/smokesprites_0005",
"particle/smokesprites_0006",
"particle/smokesprites_0007",
"particle/smokesprites_0008",
"particle/smokesprites_0009",
"particle/smokesprites_0010",
"particle/smokesprites_0011",
"particle/smokesprites_0012",
"particle/smokesprites_0013",
"particle/smokesprites_0014",
"particle/smokesprites_0015",
"particle/smokesprites_0016"
}
function EFFECT:Init( data )
local vOffset = data:GetOrigin()
local emitter = ParticleEmitter( vOffset, false )
for i = 0, 80 do
local exp = emitter:Add( "particles/flamelet"..math.random(1,5), vOffset)
if exp then
exp:SetVelocity( Vector( math.Rand( -1, 1 ), math.Rand( -1, 1 ), 0) * 320 )
exp:SetDieTime( 0.8 )
exp:SetStartAlpha( 200 )
exp:SetStartSize( 20 )
exp:SetEndSize( 40 )
exp:SetEndAlpha( 0 )
exp:SetRoll( math.Rand( -1, 1 ) )
exp:SetGravity( Vector( 50, 50, 8 ) )
end
end
for i = 1, 80 do
local Pos = Vector( math.Rand( -1, 1 ), math.Rand( -1, 1 ), 0)
local particle = emitter:Add( smoke[math.random(1, #smoke)], vOffset + Pos * 4 )
if ( particle ) then
particle:SetVelocity( Vector( math.Rand( -1, 1 ), math.Rand( -1, 1 ), 0) * 150 + Vector(0, 0, 8))
particle:SetLifeTime( 0 )
particle:SetDieTime( 4 )
particle:SetStartAlpha( 80 )
particle:SetEndAlpha( 0 )
particle:SetColor(32, 185, 50)
particle:SetRoll( math.Rand( -1, 1 ) )
local Size = math.random( 20, 40 )
particle:SetStartSize( Size )
particle:SetEndSize( Size )
particle:SetAirResistance( 100 )
particle:SetGravity( Vector( math.Rand( -1, 1 ) * 50, math.Rand( -1, 1 ) * 50, 0 ) )
end
end
emitter:Finish()
end
function EFFECT:Think()
return false
end
function EFFECT:Render()
end

View File

@@ -0,0 +1,145 @@
--[[
| This file was obtained through the combined efforts
| of Madbluntz & Plymouth Antiquarian Society.
|
| Credits: lifestorm, Gregory Wayne Rossel JR.,
| Maloy, DrPepper10 @ RIP, Atle!
|
| Visit for more: https://plymouth.thetwilightzone.ru/
--]]
local ringMats = {
"particle/particle_ring_blur",
"particle/particle_ring_wave_additive",
"particle/particle_ring_wave_addnofog",
"particle/particle_ring_sharp_additive",
"particle/particle_ring_sharp",
"particle/particle_ring_refract_01",
"particle/particle_ring_blur",
"particle/particle_noisesphere"
}
local smoke = {
"particle/smokesprites_0001",
"particle/smokesprites_0002",
"particle/smokesprites_0003",
"particle/smokesprites_0004",
"particle/smokesprites_0005",
"particle/smokesprites_0006",
"particle/smokesprites_0007",
"particle/smokesprites_0008",
"particle/smokesprites_0009",
"particle/smokesprites_0010",
"particle/smokesprites_0011",
"particle/smokesprites_0012",
"particle/smokesprites_0013",
"particle/smokesprites_0014",
"particle/smokesprites_0015",
"particle/smokesprites_0016"
}
function EFFECT:Init( data )
local vOffset = data:GetOrigin()
local NumParticles = 32
local emitter = ParticleEmitter( vOffset, false )
local ringSize = math.random( 80, 90 )
for i = 1, #ringMats do
local ring = emitter:Add(ringMats[i], vOffset + Vector(0, 0, 20))
if (ring) then
ring:SetStartSize( ringSize )
ring:SetEndSize( 0 )
ring:SetLifeTime( 0 )
ring:SetDieTime( 0.5 )
ring:SetStartAlpha( 150 )
ring:SetEndAlpha( 0 )
ring:SetAirResistance( 100 )
ring:SetGravity( Vector( 0, 0, 10 ) )
ring:SetRoll( 90 )
ring:SetColor(32, 185, 50)
end
end
for i = 0, 40 do
local exp = emitter:Add( "particle/particle_glow_03", vOffset + Vector(0, 0, 20) )
if exp then
exp:SetVelocity( Vector( math.Rand( -1, 1 ), math.Rand( -1, 1 ), 0) * 30 )
exp:SetDieTime( 0.5 )
exp:SetStartAlpha( 255 )
exp:SetStartSize( 75 )
exp:SetEndSize( 120 )
exp:SetEndAlpha( 0 )
exp:SetRoll( math.Rand( -1, 1 ) )
exp:SetColor(32, 185, 50)
end
end
for i = 1, 40 do
local Pos = Vector( math.Rand( -1, 1 ), math.Rand( -1, 1 ), 0)
local particle = emitter:Add( smoke[math.random(1, #smoke)], vOffset + Pos * 4 )
if ( particle ) then
particle:SetVelocity( Pos * 30 )
particle:SetLifeTime( 0 )
particle:SetDieTime( 5 )
particle:SetStartAlpha( 8 )
particle:SetEndAlpha( 0 )
particle:SetColor(32, 185, 50)
particle:SetRoll( math.Rand( -1, 1 ) )
local Size = math.random( 100, 150 )
particle:SetStartSize( Size )
particle:SetEndSize( Size )
particle:SetAirResistance( 50 )
particle:SetGravity( Vector( math.Rand( -1, 1 ) * 15, math.Rand( -1, 1 ) * 15, 18 ) )
end
end
for i = 0, NumParticles do
local Pos = Vector( math.Rand( -1, 1 ), math.Rand( -1, 1 ), math.Rand( -1, 1 ) )
local particle = emitter:Add( "particle/particle_ring_wave_8", vOffset + Pos * 4 )
if ( particle ) then
particle:SetVelocity( Pos * 340 )
particle:SetLifeTime( 0 )
particle:SetDieTime( 3 )
particle:SetStartAlpha( 255 )
particle:SetEndAlpha( 0 )
particle:SetColor(32, 185, 50)
local Size = math.random( 5, 15 )
particle:SetStartSize( Size )
particle:SetEndSize( 0 )
particle:SetRoll( math.Rand( 0, 360 ) )
particle:SetRollDelta( math.Rand( -25, 25 ) )
particle:SetAirResistance( 150 )
particle:SetGravity( Vector( math.Rand( -1, 1 ) * 15, math.Rand( -1, 1 ) * 15, 30 ) )
end
end
emitter:Finish()
end
function EFFECT:Think()
return false
end
function EFFECT:Render()
end