How do you change dungeon fog/cemetery sky fog colour?
Posted: Sat Jul 30, 2016 12:09 pm
The script for the dungeon fog in log2 is below:
defineObject{
name = "swamp_dungeon_fog",
baseObject = "base_floor_decoration",
components = {
{
class = "FogParams",
fogMode = "dense",
fogColor = vec(0.3,0.5,0.15) * 0.3,
fogRange = {0,30},
},
{
class = "FogParticles",
texture = "assets/textures/particles/fog_particle.tga",
particleSize = 6.5,
color1 = vec(1,1,1)*3*0.55,
color2 = vec(1,1,1)*3*0.55,
color3 = vec(1,1,1)*3*0.55,
opacity = 0.4,
},
},
}
What elements do I amend to change its colour? And what are the colour ranges? I've been experimenting but cant get the colour I want quite right to use in my latest mod that I'm creating. Any help greatly appreciated as always.
George
defineObject{
name = "swamp_dungeon_fog",
baseObject = "base_floor_decoration",
components = {
{
class = "FogParams",
fogMode = "dense",
fogColor = vec(0.3,0.5,0.15) * 0.3,
fogRange = {0,30},
},
{
class = "FogParticles",
texture = "assets/textures/particles/fog_particle.tga",
particleSize = 6.5,
color1 = vec(1,1,1)*3*0.55,
color2 = vec(1,1,1)*3*0.55,
color3 = vec(1,1,1)*3*0.55,
opacity = 0.4,
},
},
}
What elements do I amend to change its colour? And what are the colour ranges? I've been experimenting but cant get the colour I want quite right to use in my latest mod that I'm creating. Any help greatly appreciated as always.
George