Im trying to import a custom model for the 1st time for my mod but for some reason crowbar deletes it and tells this Any help? (censored some stuff for privacy)
(Edited)
2
Im trying to import a custom model for the 1st time for my mod but for some reason crowbar deletes it and tells this Any help? (censored some stuff for privacy)
studiomdl and other compilers shouldn't be pulled from your sourcemod bin. crowbar's default game setups will work just fine if your "output to" is a sourcemod or otherwise. if crowbar doesn't work regardless you can always use a shortcut of studiomdl pointed to your mod
alright! however uhm i don't know what's a shortcut since english is not my main language and i've never heard of that
oh my bad! is your system language english or no? if not i'm not sure how it would translate, but if you're on windows you can go to either sdk2013 or hl2's bin, find studiomdl.exe and then right-click > create shortcut. it should pop up under studiomdl as "studiomdl.exe - Shortcut" upon refreshing or exiting/reopening the bin. i'd recommend bringing it to your sourcemod folder for ease of access. you can rename it however you wish as well. then you right-click on the shortcut > properties, and under target, specifically after studiomdl's path, you add -game "pathtoyourgameinfo" -nop4 (with quote marks. you can remove -nop4 if not having it doesn't give you any problems) afterwards, you can simply drag and drop your .qc and it'll compile under models if successful. i'm pretty sure VDC's article on compiling with studiomdl is outdated so if you need something more concise than that i'll try to see what i can find
It worked! Thanks a lot! it's missing it's textures but i think there's a tutorial for it
also im not sure if i should be worried about this but crowbar made this while i compiled this time Compiling with Crowbar 0.74: "C:\Users\lenovo\OneDrive\Desktop\Source 1 Modding\Lory's Models\Nails" (folder) ... Compiling "Nail_01.qc" ... Output from compiler "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\bin\studiomdl.exe": qdir: "c:\users\lenovo\onedrive\desktop\source 1 modding\lory's models\nails\" gamedir: "C:\Program Files (x86)\Steam\steamapps\sourcemods\ZombieTakeover\" g_path: "Nail_01.qc" Building binary model files... Working on "Nail_01.qc" SMD MODEL Nail_01.smd WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!! WARNING: Mode
and after these "WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!" there's an error that says: WARNING: Error with convex elements of Nail_01.smd, building single convex!!!!
you're welcome! i've had that error before, it was an issue with the collision mesh for me. studiomdl won't take concave meshes in the same way hammer won't take concave brushes. re-check the topology on your meshes (studiomdl will tend to compile some of the model even if there's an error, that may potentially be why your textures are shown missing)