the thread has been made in the past here: http://forum.facepunch.com/showthread.php?t=1076425
but, the code that was given as the answer isn’t working for me.
local SourceSkyname = GetConVar("sv_skyname"):GetString() --We need the source of the maps original skybox texture so we can manipulate it.
local SourceSkyPre = {"lf","ft","rt","bk","dn","up",}
local SourceSkyMat = {
Material("skybox/"..SourceSkyname.."lf"),
Material("skybox/"..SourceSkyname.."ft"),
Material("skybox/"..SourceSkyname.."rt"),
Material("skybox/"..SourceSkyname.."bk"),
Material("skybox/"..SourceSkyname.."dn"),
Material("skybox/"..SourceSkyname.."up"),
}
function ChangeSkybox(skyboxname)
for i = 1,6 do
local D = Material("skybox/"..skyboxname..SourceSkyPre*):GetMaterialTexture("skybox/sky_borealis")
SourceSkyMat*:SetMaterialTexture("skybox/sky_borealis",D)
end
end
this does not change the skybox to sky_borealis