gotta love auto correction! I guess that could be a latrine squareSkuggasveinn wrote:if you want them, you can crap them here
http://www.zorglubb.net/grimrock/dropzo ... rtiles.rar

gotta love auto correction! I guess that could be a latrine squareSkuggasveinn wrote:if you want them, you can crap them here
http://www.zorglubb.net/grimrock/dropzo ... rtiles.rar
Code: Select all
defineParticleSystem{
name = "fire",
emitters = {
-- smoke
{
emissionRate = 60,
emissionTime = 0,
maxParticles = 500,
boxMin = {-1.5, 0.1, -1.5},
boxMax = {1.5, 2, 1.5},
sprayAngle = {0,30},
velocity = {0.1,0.5},
texture = "assets/textures/particles/smoke_01.tga",
lifetime = {1,1.75},
color0 = {0.15, 0.15, 0.15},
opacity = 0.6,
fadeIn = 0.5,
fadeOut = 0.5,
size = {1, 1.5},
gravity = {0,0,0},
airResistance = 0.1,
rotationSpeed = 0.6,
blendMode = "Translucent",
},
-- flames
{
emissionRate = 500,
emissionTime = 0,
maxParticles = 5000,
boxMin = {-1.5, -0.2, -1.5},
boxMax = {1.5, -0.1, 1.5},
sprayAngle = {0,10},
velocity = {0.2, 1},
texture = "assets/textures/particles/torch_flame.tga",
frameRate = 35,
frameSize = 64,
frameCount = 16,
lifetime = {0.35, 0.95},
colorAnimation = true,
color0 = {2, 2, 2},
color1 = {1.0, 1.0, 1.0},
color2 = {1.0, 0.5, 0.25},
color3 = {1.0, 0.3, 0.1},
opacity = 1,
fadeIn = 0.15,
fadeOut = 0.3,
size = {0.15, 1.05},
gravity = {0,0.3,0},
airResistance = 1.0,
rotationSpeed = 0.3,
blendMode = "Additive",
depthBias = -0.002,
},
}
}
Code: Select all
defineObject{
name = "fire_emitter",
class = "LightSource",
lightPosition = vec(0, 0.2, 0),
lightRange = 5,
lightColor = vec(2.8, 1.4, 1),
brightness = 20,
castShadow = true,
particleSystem = "fire",
placement = "floor",
editorIcon = 88,
}