• Troubles with hammer compiling my models
    6 replies, posted
Hello I have made some custom models and try to compile them as prop_statics in my map. but vbsp.exe already cuts short and tells me it is unable to read the model's vertex data! I started some tests involving much less complex models, it came down to a test with a single cube. Even that had hammer unable to read it's vertex data. This is a snippet from the compile log: Valve Software - vbsp.exe (Oct 31 2012) 4 threads materialPath: blablablalbal Loading blabalbalblab Could not locate 'GameData' key in blablalblaba fixing up env_cubemap materials on brush sides... ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0) ProcessBlock_Thread: 0...1...2...3...4...5...6...7...8...9...10 (0) Processing areas...done (0) Building Faces...done (0) Chop Details...done (0) Find Visible Detail Sides... Merged 384 detail faces...done (0) Merging details...done (0) FixTjuncs... PruneNodes... WriteBSP... done (0) writing blablaba ...Building visibility clusters... done (0) Creating default LDR cubemaps for env_cubemap using skybox materials: skybox/sky_day01_01*.vmt ! Run buildcubemaps in the engine to get the correct cube maps. Creating default HDR cubemaps for env_cubemap using skybox materials: skybox/sky_day01_01*.vmt ! Run buildcubemaps in the engine to get the correct cube maps. Finding displacement neighbors... Finding lightmap sample positions... Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10 Building Physics collision data... done (0) (192988 bytes) [B]Unable to load vertex data "models/cube.vvd"[/B] Does anybody of you have a clue what this is? I googled this plenty of times, I really feel awful having to post this here for I fear the answer will be simple and I will be having you all point at me and laugh. Anyway I tried everything, from converting quads to tri's, even tho the smd exporter does this for me. Checking wether it had something to do with the QC or the UV mapping. No results.
If it's done this for several models you've made, you must be doing something wrong in the process. Would you mind uploading the original files to the cube you tried testing?
[url]https://dl.dropbox.com/u/15984175/fission/cube.qc[/url] [url]https://dl.dropbox.com/u/15984175/fission/cube.smd[/url] that's the cube, it doesn't want to compile :( Must be something wrong happening. [editline]15th March 2013[/editline] I can spawn the props in garry'smod btw, they look fine... It's hammer that is giving me a hard time! Probably something to do with casting shadows or something.
[IMG]http://puu.sh/2hPGg[/IMG] Well, no problems here. All I did was change the QC very slightly, and compile for Half-life 2. Here's the updated QC (change directories): [URL]http://puu.sh/2hPHe[/URL]
thank you very much for spending the time testing this! I can now continue doing some tests.
Ok, so the problem is [B]solved[/B] I had to select I was modelling for Source Engine MP. I probably used 2009 and hammer was set to use SMP.
Ok, the problem was not what I thought it was. It was my folder structure. Instead of defining subfolder in my $modelname attr in the .qc file I moved the files into a subfolder... i.e [B]not done![/B] Hope this helps somebody in the future.
Sorry, you need to Log In to post a reply to this thread.