I'm using gmod_hands to create some hand models but for some reason i can't seem to grab custom hand models (Ones outside of the .vpk and inside of the models/ directory)
When ever it is called i get a message inside of server saying;
[code]
Model missing: models/weapons/c_arms_citizen_test.mdl
[/code]
My code works fine because when i use c_ models inside of the .vpk it works perfectly, however when i do it in the models/ section it does not.
Is this meant to happen or am i doing something wrong?
Other stuff
Code used to set the model:
[code]
newHands:SetModel( "models/weapons/c_arms_citizen_test.mdl" )
[/code]
Client file directory;
[code]
garrysmod\models\weapons\
\c_arms_citizen_test.dx80.vtx
\c_arms_citizen_test.dx90.vtx
\c_arms_citizen_test.mdl
\c_arms_citizen_test.sw.vtx
\c_arms_citizen_test.xbox.vtx
\c_arms_citizen_test.vvd
[/code]
I also tried wrapping in CLIENT and SERVER but that didn't fix it (Got rid of the error, but it also got rid of the default hand models.)
Not directly related to your problem but
[code] \c_arms_citizen_test.sw.vtx
\c_arms_citizen_test.xbox.vtx[/code]
Don't ship these files, they're absolutely useless and never loaded by the client or server, ever
Perhaps post the model so we can test?
Thanks MaxOfS2D, I'll leave them out! :p
The model is a direct copy of c_arms_citizen.mdl which is in the VPK so it can't be that (I also edited the QC so yeah.)
Also it's began working now, i can actually see it in game. However i still see the error in console.. Which is a problem :|
Nevermind guys! :P
Thanks for your help anyway :P
Sorry, you need to Log In to post a reply to this thread.