Technology (Read Only) > Mapping
Custom Skybox Issues
(1/1)
Travelsonic:
So I am working on a map that uses custom 2D skyboxes. Simple.
Well... not so.
When I compile the map, I get the following error:
material "skybox/mhzskyftrt" not found.
Can't load skybox file skybox/mhzskyft to build the default cubemap!
Can't load skybox file skybox/mhzskyft to build the default cubemap!
Problem is, there is no material called "mhzskyftrt" - just mhzskyft, mhzskybk, mhzskrt, mhzskylf, mhzskyup, and mhzskydn, all with vmt files that match what I read in tutorials on doing custom skyboxes regarding what they should have.
Ugh, what the fuck?
Alkaline:
So does the skybox work? That error spits out all the time and you can ignore it.
It's just when you create your map, materials using an env_cubemap for it's $envmap parameter will appear shiny. You have to build cubemaps manually after each time you compile your map:
mat_specular 0
buildcubmaps
mat_specular 0
buildcubemaps
mat_specular 1
Mehis:
--- Quote from: Travelsonic on August 28, 2012, 02:25:47 PM ---material "skybox/mhzskyftrt" not found.
--- End quote ---
Looks like naming issue.
Have you looked inside the .VMT files that they have the names written correctly?
skynamebk (Back)
skynamert (Right)
Should look something like this:
"UnlitGeneric"
{
"$basetexture" "skybox/skynamert"
"$nofog" "1"
"$ignorez" "1"
}
Also, if your skybox has sub-folder like skybox/folder/, you have to add the folders to Hammer skybox option too, example:
materials/skybox/folder/skyname
In Hammer folder/skyname
Travelsonic:
--- Quote from: Mehis on August 29, 2012, 08:50:36 AM ---Looks like naming issue.
Have you looked inside the .VMT files that they have the names written correctly?
skynamebk (Back)
skynamert (Right)
Should look something like this:
"UnlitGeneric"
{
"$basetexture" "skybox/skynamert"
"$nofog" "1"
"$ignorez" "1"
}
Also, if your skybox has sub-folder like skybox/folder/, you have to add the folders to Hammer skybox option too, example:
materials/skybox/folder/skyname
In Hammer folder/skyname
--- End quote ---
Yup, as I said in the OP, there is no file with the name the error threw - not referenced in the VMTs, nor are any other files named that. The VMTs match what you posted there too.
Travelsonic:
bumpaddendum: And hammer is having trouble finding them too - I put the textures in cstrike/materials/skybox too.
Navigation
[0] Message Index
Go to full version