I am having an issue with a map I am trying to make in Hammer++. I am running the Garry's Mod version of the program and trying to create a map for Garry's Mod. I will include a picture of the model I am working with below. The model in particular is just a small panel to cover a seam in my stairs. The model was ripped from Oblivion and saved as an smd using blender. The collision mesh of the model will also be below. This was created by making a simple box mesh that encapsulated the model. This was also saved as an smd through blender. The model was compiled using crowbar set to Garry's Mod as the game type. In Hammer++ the model shows up fine but when I go to run the map I get the above error. I will leave a text file of the full output log below. Please let me know if I can include any further information. Any tips to steer me in the correct direction would be helpful.
#Unable to load vertex data when running map with custom model in Hammer++
1 messages Β· Page 1 of 1 (latest)
This is the full output from the hammer++ log
This is the model I am working with
and this is the collision mesh
There is a leak
the prop_static is outside your map
I do not think this is related to the leak. I fixed the leak and here is the new output log
have you perhaps moved the model's files manually after compi;ling them?
No I have compiled them in place. The complied files should output to the models folder for gmod. I have confirmed that the .vvd file the error refers to is in the correct directory
for reference here are the smd and qc files I am working with.
change the idle animation to end with .smd
and try also using / instead of \ for the mdl name although I doubt it will help
I made those changes to the qc file. Still no dice. π
I just tried to make a simple 1x1x1 cube using blender exported it as an smd, used a duplicate of it as the collision mesh, and generated a qc file for it. Compiled that same as above and tried to import it into a new map. Looks like that simple cube is giving me the same error. There are a few points I could see this failing
-
The blender extension that exports to smd is not working
-
I am screwing up something when I make the qc file
-
My settings are wrong in crowbar when I compile
the collision model needs to be smooth shaded
That did the trick. Thank you!