I'm working on a map, but whenever I try to test the map, i get this
"No such variable "$hdrbasetexture" for material "skybox/sky_day01_06rt"
Can't load skybox file skybox/sky_day01_06 to build the default cubemap!"
and the map wont run.
any reason for this?
That shouldn't be a problem. Post the entire compile log.
You're probably using an improper or nonexistant skybox.
[QUOTE=J4censolo;22766081]You're probably using an improper or nonexistant skybox.[/QUOTE]
Its Sky_day01_06.
Thats not the problem to why the map wont run. Thats just for HDR, which the compile tools look for default. Just type in _hdr at the end of your skybox name.
Post the entire compile log like terrent said please.
[QUOTE=Firegod522;22776478]Should load fine.[/QUOTE]
the map isnt brought up, and i unchecked the "dont run map after compiling". i dont know whats wrong
Got a console error?
nothing happens. hammer stays open and nothing is loading
Launch the game and type map outdoor_map.
If it runs, then don't worry about it.
i manged to fix it by saving it and adding .bsp
You just renamed the map file from outdoor_map.vmf to outdoor_map.bsp? :psyduck:
[QUOTE=CoolCorky;22778078]You just renamed the map file from outdoor_map.vmf to outdoor_map.bsp? :psyduck:[/QUOTE]
i did "save as" then added .bsp and it saved as a bsp
That doesn't work
or rather shouldn't
what the hell
it worked one time, now it saves the file as .bsp.vmf so i dont know what to do
I've looked through your log and ran it through the interlopers thing, and your problem is definately the skybox.
Try changing the skybox to see if it compiles with a different one.
Also, changing the file name to .bsp would not work. You see, a .bsp is a compiled map, the .vmf files (Valve Map File) needs to be ran through a few programs in order to tell the game engine whats where and how, as the base vmf is really just a set of intructions (If you open one in a wordpad or something, you'll find that it lists the location of entities and brushes aswell as various other niknacks) and HL2 can't open it as is.
So your best bet is to change your skybox, hit lil' ol F9 and recompile it.
You might also be enlightened if you look through the maps folder of the game your mapping for, you may find that it could of actually compiled (somehow) and it may have just not opened the game. Unless of course it says "Can not find the file specified" at the end of the compile process, then that means that something is making the compile programs reach a breakpoint or make them crash, for example if the compilers find a great big hole in the map, it'll stop compiling as it knows that HL2 can not use it. The programs can't fix this themselves, so you need to fix it in hammer.
Anyway a bit off track, i believe you'll find this usefull in the future: [URL]http://www.interlopers.net/errors/[/URL]
If you copy+paste your compile log into that box and hit the button, it'll list all the problems (if any) with your map. Also whilst in hammer, if you press ALT+P it'll come up with a list of more local errors, like an invalid brush or an entity without the proper inputs.
Hope this helps.
Sorry, you need to Log In to post a reply to this thread.